Package org.nuxeo.drive.service
Interface FileSystemChangeSummary
- All Known Implementing Classes:
FileSystemChangeSummaryImpl
public interface FileSystemChangeSummary
Summary of file system changes, including:
- A list of file system item changes
- A global status code
FileSystemItemChange
.- Author:
- Antoine Taillefer
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setActiveSynchronizationRootDefinitions
(String activeSynchronizationRootDefinitions) void
setFileSystemChanges
(List<FileSystemItemChange> changes) void
setHasTooManyChanges
(Boolean hasTooManyChanges) void
setSyncDate
(Long syncDate) void
setUpperBound
(Long upperBound)
-
Method Details
-
getFileSystemChanges
List<FileSystemItemChange> getFileSystemChanges() -
setFileSystemChanges
-
getSyncDate
Long getSyncDate()- Returns:
- the time code of current sync operation in milliseconds since 1970-01-01 UTC rounded to the second as measured on the server clock.
-
getUpperBound
Long getUpperBound()- Returns:
- the upper bound of the range clause in the change query. Changes from the current summary instance all
happen "strictly before" this bound. This value is expected to be passed to the next call to
NuxeoDriveManager.getChangeSummary(org.nuxeo.ecm.core.api.NuxeoPrincipal, java.util.Map, long)
to get strictly monotonic change summaries (without overlap).
-
getActiveSynchronizationRootDefinitions
String getActiveSynchronizationRootDefinitions() -
setActiveSynchronizationRootDefinitions
-
setSyncDate
-
setUpperBound
-
setHasTooManyChanges
-
getHasTooManyChanges
Boolean getHasTooManyChanges()
-