public class InvalidateZoneItemCacheOnUserContentModificationObserver extends AbstractUserObserver
| Modifier and Type | Field and Description |
|---|---|
private PageElementCache |
_zoneItemCache |
_cocoonContext, _contentTypeHelper, _context, _resolverMAX_PRIORITY, MIN_PRIORITY| Constructor and Description |
|---|
InvalidateZoneItemCacheOnUserContentModificationObserver() |
| 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, observegetLogger, setLoggerprivate PageElementCache _zoneItemCache
public InvalidateZoneItemCacheOnUserContentModificationObserver()
public void service(ServiceManager manager) throws ServiceException
service in interface Serviceableservice in class AbstractUserObserverServiceExceptionpublic boolean supports(Event event)
Observerevent - the event.true for observing this event, false otherwise.public int getPriority(Event event)
Observerevent - the event.protected void _internalObserve(Event event, Page rootUsersPage, Content userContent)
AbstractUserObserver_internalObserve in class AbstractUserObserverevent - the observation event.rootUsersPage - the page holding the virtual user pagesuserContent - a list containing all impacted user contents.