public class SynchronizeRobotsChangeObserver extends AbstractSynchronizePageObserver
Observer
for observing structural page changes (page added, page type changed) in order to synchronize live workspace._skinsManager
_liveAccessManager, _repository, _synchronizeComponent
MAX_PRIORITY, MIN_PRIORITY
Constructor and Description |
---|
SynchronizeRobotsChangeObserver() |
Modifier and Type | Method and Description |
---|---|
protected void |
_internalObservePage(Event event,
Page target,
Skin skin,
Session liveSession)
Observes the page event with access to the workspace live.
|
protected boolean |
_internalSupport(Event event,
Page target)
Checks if the page event is supported.
|
_internalObserve, service, supports
getPriority, observe
getLogger, setLogger
public SynchronizeRobotsChangeObserver()
protected boolean _internalSupport(Event event, Page target)
AbstractSynchronizePageObserver
_internalSupport
in class AbstractSynchronizePageObserver
event
- the event.target
- the page target.true
for observing this event,
false
otherwise.protected void _internalObservePage(Event event, Page target, Skin skin, Session liveSession) throws RepositoryException
AbstractSynchronizePageObserver
_internalObservePage
in class AbstractSynchronizePageObserver
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.