Package org.ametys.web.cache.zoneitem
Class InvalidateZoneItemCacheOnContentModificationObserver
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.ametys.web.cache.zoneitem.AbstractZoneItemCacheObserver
org.ametys.web.cache.zoneitem.AbstractZoneItemCacheOnContentObserver
org.ametys.web.cache.zoneitem.InvalidateZoneItemCacheOnContentModificationObserver
- All Implemented Interfaces:
 Observer,LogEnabled,Serviceable
public class InvalidateZoneItemCacheOnContentModificationObserver
extends AbstractZoneItemCacheOnContentObserver
Invalidates the ZoneItem containing a Content which has just been modified.
- 
Field Summary
Fields inherited from class org.ametys.web.cache.zoneitem.AbstractZoneItemCacheOnContentObserver
_resolverFields inherited from class org.ametys.web.cache.zoneitem.AbstractZoneItemCacheObserver
_zoneItemCacheFields inherited from interface org.ametys.core.observation.Observer
MAX_PRIORITY, MIN_PRIORITY - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected StringGet the target JCR workspace on which the zone item cache will be deleted.booleanChecks if the event is supported.Methods inherited from class org.ametys.web.cache.zoneitem.AbstractZoneItemCacheOnContentObserver
observe, serviceMethods inherited from class org.ametys.web.cache.zoneitem.AbstractZoneItemCacheObserver
getPriorityMethods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger 
- 
Constructor Details
- 
InvalidateZoneItemCacheOnContentModificationObserver
 
 - 
 - 
Method Details
- 
supports
Description copied from interface:ObserverChecks if the event is supported. If true, the observe(Event) method will be called.- Parameters:
 event- the event.- Returns:
 truefor observing this event,falseotherwise.
 - 
getWorkspace
Description copied from class:AbstractZoneItemCacheOnContentObserverGet the target JCR workspace on which the zone item cache will be deleted.- Overrides:
 getWorkspacein classAbstractZoneItemCacheOnContentObserver- Returns:
 - the target JCR workspace : "live", "default" or null for all workspaces
 
 
 -