Class InvalidateZoneItemCacheOnContentModificationObserver
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.userdirectory.observation.AbstractContentObserver
org.ametys.plugins.userdirectory.observation.InvalidateZoneItemCacheOnContentModificationObserver
- All Implemented Interfaces:
- Observer,- LogEnabled,- Prioritizable,- Supporter<Event>,- Contextualizable,- Serviceable
Invalidates the ZoneItem containing a Content which has just been modified or synchronized.
- 
Field SummaryFields inherited from class org.ametys.plugins.userdirectory.observation.AbstractContentObserver_cocoonContext, _contentTypeHelper, _context, _organisationChartPageResolver, _resolver, _userDirectoryPageResolver, _zoneItemCacheFields inherited from interface org.ametys.core.observation.ObserverMAX_PRIORITY, MIN_PRIORITY
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected void_internalObserve(Event event, Page rootPage, Content content) Do the actual work.intGet the priority for the component.booleanCheck if an element is supportedMethods inherited from class org.ametys.plugins.userdirectory.observation.AbstractContentObserver_getOrgUnitRootPages, _getTarget, _getUserRootPages, _isOrgUnitContent, _isUserContent, _removeZoneItemCache, contextualize, observe, serviceMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabledgetLogger, setLogger
- 
Constructor Details- 
InvalidateZoneItemCacheOnContentModificationObserver
 
- 
- 
Method Details- 
supportsDescription copied from interface:SupporterCheck if an element is supported- Parameters:
- event- The element
- Returns:
- trueif the element is supported,- falseotherwise
 
- 
getPriorityDescription copied from interface:PrioritizableGet the priority for the component. On components usingPrioritizableinterface, each implementation define the order. In most cases, less is the number, more prior is the component.- Returns:
- the priority
 
- 
_internalObserveDescription copied from class:AbstractContentObserverDo the actual work.- Specified by:
- _internalObservein class- AbstractContentObserver
- Parameters:
- event- the observation event.
- rootPage- the page holding the virtual user pages
- content- a list containing all impacted user contents.
 
 
-