Package org.nuxeo.drive.operations
Class NuxeoDriveSetSynchronizationOperation
- java.lang.Object
-
- org.nuxeo.drive.operations.NuxeoDriveSetSynchronizationOperation
-
public class NuxeoDriveSetSynchronizationOperation extends Object
If theenable
parameter istrue
, registers the input document as a synchronization root for the currently authenticated user. Unregisters it otherwise.
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
enable
static String
ID
protected CoreSession
session
-
Constructor Summary
Constructors Constructor Description NuxeoDriveSetSynchronizationOperation()
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
session
protected CoreSession session
-
enable
protected boolean enable
-
-
Constructor Detail
-
NuxeoDriveSetSynchronizationOperation
public NuxeoDriveSetSynchronizationOperation()
-
-
Method Detail
-
run
public void run(DocumentModel doc)
-
-