Class UpdateAclSorCacheOnProjectUpdated
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.workspaces.project.observers.AbstractUpdateAclSorCacheObserver
org.ametys.plugins.workspaces.project.observers.UpdateAclSorCacheOnProjectUpdated
- All Implemented Interfaces:
AsyncObserver
,Observer
,LogEnabled
,Prioritizable
,Supporter<Event>
,Serviceable
This observer reload ACL cache of catalog's news when a project was updated
-
Field Summary
Fields inherited from class org.ametys.plugins.workspaces.project.observers.AbstractUpdateAclSorCacheObserver
_projectManager, _resolver, _solrIndexer
Fields inherited from interface org.ametys.core.observation.Observer
MAX_PRIORITY, MIN_PRIORITY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Expression
getContentsExpression
(Event event, Project project) Get the JCR expression corresponding to the contents that must be updatedboolean
Check if an element is supportedMethods inherited from class org.ametys.plugins.workspaces.project.observers.AbstractUpdateAclSorCacheObserver
getPriority, observe, service
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ametys.core.observation.AsyncObserver
parallelizable
-
Constructor Details
-
UpdateAclSorCacheOnProjectUpdated
public UpdateAclSorCacheOnProjectUpdated()
-
-
Method Details
-
supports
Description copied from interface:Supporter
Check if an element is supported- Parameters:
event
- The element- Returns:
true
if the element is supported,false
otherwise
-
getContentsExpression
Description copied from class:AbstractUpdateAclSorCacheObserver
Get the JCR expression corresponding to the contents that must be updated- Specified by:
getContentsExpression
in classAbstractUpdateAclSorCacheObserver
- Parameters:
event
- the eventproject
- the project- Returns:
- the the JCR expression
-