public class SynchronizeContentPrivacyChangeObserver extends AbstractSynchronizeObserver
Observer monitoring changes on content privacy in order to synchronize live workspace.| Modifier and Type | Field and Description | 
|---|---|
private static String | 
_PRIVACY_PROPERTY  | 
protected AmetysObjectResolver | 
_resolver
Ametys object resolver. 
 | 
_liveAccessManager, _repository, _synchronizeComponentMAX_PRIORITY, MIN_PRIORITY| Constructor and Description | 
|---|
SynchronizeContentPrivacyChangeObserver()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
_internalObserve(Event event,
                Session liveSession)
Observes the event with access to the live workspace. 
 | 
void | 
service(ServiceManager manager)  | 
boolean | 
supports(Event event)
Checks if the event is supported. 
 | 
getPriority, observegetLogger, setLoggerprivate static final String _PRIVACY_PROPERTY
protected AmetysObjectResolver _resolver
public SynchronizeContentPrivacyChangeObserver()
public void service(ServiceManager manager) throws ServiceException
service in interface Serviceableservice in class AbstractSynchronizeObserverServiceExceptionpublic boolean supports(Event event)
Observerevent - the event.true for observing this event, false otherwise.protected 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.