public class InvalidateZoneItemCacheOnContentModificationObserver extends AbstractContentObserver
_cocoonContext, _contentTypeHelper, _context, _organisationChartPageResolver, _resolver, _userDirectoryPageResolver, _zoneItemCache
MAX_PRIORITY, MIN_PRIORITY
Constructor and Description |
---|
InvalidateZoneItemCacheOnContentModificationObserver() |
Modifier and Type | Method and Description |
---|---|
protected void |
_internalObserve(Event event,
Page rootPage,
Content content)
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. |
boolean |
supports(Event event)
Checks if the event is supported.
|
_getOrgUnitRootPages, _getTarget, _getUserRootPages, _isOrgUnitContent, _isUserContent, _removeZoneItemCache, contextualize, observe, service
getLogger, setLogger
public InvalidateZoneItemCacheOnContentModificationObserver()
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 rootPage, Content content)
AbstractContentObserver
_internalObserve
in class AbstractContentObserver
event
- the observation event.rootPage
- the page holding the virtual user pagescontent
- a list containing all impacted user contents.