Class InvalidateZoneItemCacheOnMemberUpdatedObserver
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.workspaces.members.observers.AbstractMemberObserver
org.ametys.plugins.workspaces.members.observers.InvalidateZoneItemCacheOnMemberUpdatedObserver
- All Implemented Interfaces:
AsyncObserver
,Observer
,LogEnabled
,Serviceable
Observer
to invalidate the zoneitem containing the member' content when a member was added or removed from a project-
Field Summary
Fields inherited from class org.ametys.plugins.workspaces.members.observers.AbstractMemberObserver
_groupManager, _projectManager, _siteManager, _smanager, _userDirectoryHelper
Fields inherited from interface org.ametys.core.observation.Observer
MAX_PRIORITY, MIN_PRIORITY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
_internalObserve
(Event event, List<Content> userContents) Observes the event with access to the user contentsvoid
service
(ServiceManager smanager) Methods inherited from class org.ametys.plugins.workspaces.members.observers.AbstractMemberObserver
getPriority, getUserContents, observe, supports
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
-
InvalidateZoneItemCacheOnMemberUpdatedObserver
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classAbstractMemberObserver
- Throws:
ServiceException
-
_internalObserve
Description copied from class:AbstractMemberObserver
Observes the event with access to the user contents- Specified by:
_internalObserve
in classAbstractMemberObserver
- Parameters:
event
- the event.userContents
- the user contents- Throws:
Exception
- if an error occurs.
-