public class SynchronizePageAttachmentsObserver extends AbstractSynchronizeObserver
Modifier and Type | Field and Description |
---|---|
private AmetysObjectResolver |
_resolver |
private SkinsManager |
_skinsManager |
_liveAccessManager, _repository, _synchronizeComponent
MAX_PRIORITY, MIN_PRIORITY
Constructor and Description |
---|
SynchronizePageAttachmentsObserver() |
Modifier and Type | Method and Description |
---|---|
private Page |
_getPage(AmetysObject object) |
protected void |
_internalObserve(Event event,
Session liveSession)
Observes the event with access to the live workspace.
|
void |
service(ServiceManager serviceManager) |
boolean |
supports(Event event)
Checks if the event is supported.
|
getPriority, observe
getLogger, setLogger
private AmetysObjectResolver _resolver
private SkinsManager _skinsManager
public SynchronizePageAttachmentsObserver()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class AbstractSynchronizeObserver
ServiceException
public boolean supports(Event event)
Observer
event
- the event.true
for observing this event, false
otherwise.protected void _internalObserve(Event event, Session liveSession) throws RepositoryException
AbstractSynchronizeObserver
_internalObserve
in class AbstractSynchronizeObserver
event
- the event.liveSession
- the session to the live workspace.RepositoryException
- if an error occurs.private Page _getPage(AmetysObject object)