Package org.ametys.web.synchronization
Class SynchronizeSitemapAdditionObserver
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.web.synchronization.AbstractSynchronizeObserver
org.ametys.web.synchronization.SynchronizeSitemapAdditionObserver
- All Implemented Interfaces:
Observer,LogEnabled,Prioritizable,Supporter<Event>,Serviceable
Observer for observing sitemap addition in order to synchronize live workspace.-
Field Summary
Fields inherited from class org.ametys.web.synchronization.AbstractSynchronizeObserver
_liveAccessManager, _repository, _synchronizeComponentFields inherited from interface org.ametys.core.observation.Observer
MAX_PRIORITY, MIN_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void_internalObserve(Event event, javax.jcr.Session liveSession) Observes the event with access to the live workspace.booleanCheck if an element is supportedMethods inherited from class org.ametys.web.synchronization.AbstractSynchronizeObserver
getPriority, observe, serviceMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
SynchronizeSitemapAdditionObserver
public SynchronizeSitemapAdditionObserver()
-
-
Method Details
-
supports
Description copied from interface:SupporterCheck if an element is supported- Parameters:
event- The element- Returns:
trueif the element is supported,falseotherwise
-
_internalObserve
protected void _internalObserve(Event event, javax.jcr.Session liveSession) throws javax.jcr.RepositoryException Description copied from class:AbstractSynchronizeObserverObserves the event with access to the live workspace.- Specified by:
_internalObservein classAbstractSynchronizeObserver- Parameters:
event- the event.liveSession- the session to the live workspace.- Throws:
javax.jcr.RepositoryException- if an error occurs.
-