public class SynchronizeContentUnpublishObserver extends AbstractSynchronizeObserver implements Contextualizable
Observer for observing content deletion in order to synchronize live workspace.| Modifier and Type | Field and Description |
|---|---|
protected Context |
_context
The context.
|
protected AmetysObjectResolver |
_resolver
Ametys object resolver.
|
private SkinsManager |
_skinsManager |
_liveAccessManager, _repository, _synchronizeComponentMAX_PRIORITY, MIN_PRIORITY| Constructor and Description |
|---|
SynchronizeContentUnpublishObserver() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_internalObserve(Event event,
Session liveSession)
Observes the event with access to the live workspace.
|
void |
contextualize(Context context) |
void |
service(ServiceManager manager) |
boolean |
supports(Event event)
Checks if the event is supported.
|
getPriority, observegetLogger, setLoggerprotected AmetysObjectResolver _resolver
private SkinsManager _skinsManager
public SynchronizeContentUnpublishObserver()
public void service(ServiceManager manager) throws ServiceException
service in interface Serviceableservice in class AbstractSynchronizeObserverServiceExceptionpublic void contextualize(Context context) throws ContextException
contextualize in interface ContextualizableContextExceptionpublic boolean supports(Event event)
Observerprotected void _internalObserve(Event event, Session liveSession) throws RepositoryException
AbstractSynchronizeObserver_internalObserve in class AbstractSynchronizeObserverevent - the event.liveSession - the session to the live workspace.RepositoryException - if an error occurs.