Package org.nuxeo.drive.listener
Class NuxeoDriveSyncRootCopyListener
- java.lang.Object
-
- org.nuxeo.drive.listener.NuxeoDriveSyncRootCopyListener
-
- All Implemented Interfaces:
EventListener
public class NuxeoDriveSyncRootCopyListener extends Object implements EventListener
Event listener to reset the synchronization root registrations on a copied document and its children.- Since:
- 9.1
-
-
Field Summary
Fields Modifier and Type Field Description static StringRESET_SYNC_ROOTS_ON_COPY_CONFIGURATION_PROPERTY
-
Constructor Summary
Constructors Constructor Description NuxeoDriveSyncRootCopyListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DocumentModelListgetSyncRoots(DocumentModel doc, CoreSession session)voidhandleEvent(Event event)Handle the given event.
-
-
-
Field Detail
-
RESET_SYNC_ROOTS_ON_COPY_CONFIGURATION_PROPERTY
public static final String RESET_SYNC_ROOTS_ON_COPY_CONFIGURATION_PROPERTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
handleEvent
public void handleEvent(Event event)
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
protected DocumentModelList getSyncRoots(DocumentModel doc, CoreSession session)
-
-