Class DuplicatedCollectionListener
java.lang.Object
org.nuxeo.ecm.collections.core.listener.DuplicatedCollectionListener
- All Implemented Interfaces:
EventListener
Event handler to duplicate the collection members of a duplicated collection. The handler is synchronous because it
is important to capture the collection member ids of the duplicated collection at the exact moment of duplication. We
don't want to duplicate a collection member that was indeed added to the duplicated collection after the duplication.
The handler will then launch asynchronous tasks to duplicate the collection members.
- Since:
- 5.9.3
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DuplicatedCollectionListener
public DuplicatedCollectionListener()
-
-
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
-