public abstract class AbstractSynchronizePageObserver extends AbstractSynchronizeObserver
AbstractSynchronizeObserver for observing a page event.| Modifier and Type | Field and Description |
|---|---|
protected SkinsManager |
_skinsManager
the
SkinsManager |
_liveAccessManager, _repository, _synchronizeComponentMAX_PRIORITY, MIN_PRIORITY| Constructor and Description |
|---|
AbstractSynchronizePageObserver() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_internalObserve(Event event,
Session liveSession)
Observes the event with access to the live workspace.
|
protected abstract void |
_internalObservePage(Event event,
Page target,
Skin skin,
Session liveSession)
Observes the page event with access to the workspace live.
|
protected abstract boolean |
_internalSupport(Event event,
Page target)
Checks if the page event is supported.
|
void |
service(ServiceManager manager)
|
boolean |
supports(Event event)
Checks if the event is supported.
|
getPriority, observegetLogger, setLoggerprotected SkinsManager _skinsManager
SkinsManagerpublic AbstractSynchronizePageObserver()
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 abstract boolean _internalSupport(Event event, Page target)
event - the event.target - the page target.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.protected abstract void _internalObservePage(Event event, Page target, Skin skin, Session liveSession) throws RepositoryException
event - the event.target - the page target.skin - the skin of the page's site.liveSession - the session to the workspace live.RepositoryException - if an error occurs.