public class InvalidateZoneItemCacheOnUserContentValidationObserver extends AbstractUserObserver
Modifier and Type | Field and Description |
---|---|
private PageElementCache |
_zoneItemCache |
_cocoonContext, _contentTypeHelper, _context, _resolver
MAX_PRIORITY, MIN_PRIORITY
Constructor and Description |
---|
InvalidateZoneItemCacheOnUserContentValidationObserver() |
Modifier and Type | Method and Description |
---|---|
protected void |
_internalObserve(Event event,
Page rootUsersPage,
Content userContent)
Do the actual work.
|
int |
getPriority(Event event)
Retrieves the priority to observe this event.
This can be used to process a supported event before others observers. |
void |
service(ServiceManager manager) |
boolean |
supports(Event event)
Checks if the event is supported.
|
_getTarget, _getUserContent, _getUserDirectoryRootPages, contextualize, observe
getLogger, setLogger
private PageElementCache _zoneItemCache
public InvalidateZoneItemCacheOnUserContentValidationObserver()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
service
in class AbstractUserObserver
ServiceException
public boolean supports(Event event)
Observer
event
- the event.true
for observing this event, false
otherwise.public int getPriority(Event event)
Observer
event
- the event.protected void _internalObserve(Event event, Page rootUsersPage, Content userContent)
AbstractUserObserver
_internalObserve
in class AbstractUserObserver
event
- the observation event.rootUsersPage
- the page holding the virtual user pagesuserContent
- a list containing all impacted user contents.