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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DocumentModelListgetSyncRoots(DocumentModel doc, CoreSession session) voidhandleEvent(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:EventListenerHandle the given event. The listener can cancel the event by callingEvent.cancel()- Specified by:
handleEventin interfaceEventListener- Parameters:
event- the event
-
getSyncRoots
-