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, _synchronizeComponent
MAX_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, observe
getLogger, setLogger
protected SkinsManager _skinsManager
SkinsManager
public AbstractSynchronizePageObserver()
public void service(ServiceManager manager) 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 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 AbstractSynchronizeObserver
event
- 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.