Class UpdateAclSolrCacheOnMemberUpdatedObserver
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.workspaces.project.observers.AbstractUpdateAclSorCacheObserver
org.ametys.plugins.workspaces.members.observers.UpdateAclSolrCacheOnMemberUpdatedObserver
- All Implemented Interfaces:
AsyncObserver,Observer,LogEnabled,Prioritizable,Supporter<Event>,Serviceable
This observer reload ACL cache of catalog's and project's contents when a member is added or removed from a project
-
Field Summary
Fields inherited from class org.ametys.plugins.workspaces.project.observers.AbstractUpdateAclSorCacheObserver
_projectManager, _resolver, _solrIndexerFields inherited from interface org.ametys.core.observation.Observer
MAX_PRIORITY, MIN_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ExpressiongetContentsExpression(Event event, Project project) Get the JCR expression corresponding to the contents that must be updatedbooleanCheck if an element is supportedMethods inherited from class org.ametys.plugins.workspaces.project.observers.AbstractUpdateAclSorCacheObserver
getPriority, observe, serviceMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLoggerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ametys.core.observation.AsyncObserver
parallelizable
-
Constructor Details
-
UpdateAclSolrCacheOnMemberUpdatedObserver
-
-
Method Details
-
supports
Description copied from interface:SupporterCheck if an element is supported- Parameters:
event- The element- Returns:
trueif the element is supported,falseotherwise
-
getContentsExpression
Description copied from class:AbstractUpdateAclSorCacheObserverGet the JCR expression corresponding to the contents that must be updated- Specified by:
getContentsExpressionin classAbstractUpdateAclSorCacheObserver- Parameters:
event- the eventproject- the project- Returns:
- the the JCR expression
-