Package org.nuxeo.drive.listener
Class NuxeoDriveSyncRootCopyListener
java.lang.Object
org.nuxeo.drive.listener.NuxeoDriveSyncRootCopyListener
- All Implemented Interfaces:
EventListener
Event listener to reset the synchronization root registrations on a copied document and its children.
- Since:
- 9.1
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected DocumentModelList
getSyncRoots
(DocumentModel doc, CoreSession session) void
handleEvent
(Event event) Handle the given event.
-
Field Details
-
RESET_SYNC_ROOTS_ON_COPY_CONFIGURATION_PROPERTY
- See Also:
-
-
Constructor Details
-
NuxeoDriveSyncRootCopyListener
public NuxeoDriveSyncRootCopyListener()
-
-
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
-
getSyncRoots
-