Class DomainEventsListener
java.lang.Object
org.nuxeo.ecm.platform.publisher.listeners.DomainEventsListener
- All Implemented Interfaces:
EventListener
Handle Domain creation, deletion and lifecycle changes. Register new
PublicationTreeConfigDescriptor
according to the new Domain, if at least one descriptor is pending. Unregister
PublicationTreeConfigDescriptor
associated to the Domain when it is removed or if its lifecycle has changed
(ie. to delete state).- Author:
- Thomas Roger
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
protected void
protected void
handleDomainMoved
(DocumentEventContext docCtx, DocumentModel doc) void
handleEvent
(Event event) Handle the given event.protected void
protected void
-
Field Details
-
DISABLE_DOMAIN_LISTENER
- See Also:
-
-
Constructor Details
-
DomainEventsListener
public DomainEventsListener()
-
-
Method Details
-
handleEvent
Description copied from interface:EventListener
Handle the given event. The listener can cancel the event by callingEvent.cancel()
- Specified by:
handleEvent
in interfaceEventListener
- Parameters:
event
- the event
-
registerNewPublicationTrees
-
unregisterPublicationTrees
-
handleDomainLifeCycleChanged
-
handleDomainGoesToTrashedState
-
handleDomainGoesFromTrashedState
-
handleDomainMoved
- Since:
- 7.3
-