Package org.nuxeo.drive.service.impl
Class FileSystemChangeSummaryImpl
- java.lang.Object
-
- org.nuxeo.drive.service.impl.FileSystemChangeSummaryImpl
-
- All Implemented Interfaces:
FileSystemChangeSummary
public class FileSystemChangeSummaryImpl extends Object implements FileSystemChangeSummary
Default implementation of aFileSystemChangeSummary
.- Author:
- Antoine Taillefer
-
-
Field Summary
Fields Modifier and Type Field Description protected String
activeSynchronizationRootDefinitions
protected List<FileSystemItemChange>
fileSystemChanges
protected Boolean
hasTooManyChanges
protected Long
syncDate
protected Long
upperBound
-
Constructor Summary
Constructors Constructor Description FileSystemChangeSummaryImpl()
FileSystemChangeSummaryImpl(List<FileSystemItemChange> fileSystemChanges, Map<String,Set<IdRef>> activeRootRefs, Long syncDate, Long upperBound, Boolean tooManyChanges)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getActiveSynchronizationRootDefinitions()
List<FileSystemItemChange>
getFileSystemChanges()
Boolean
getHasTooManyChanges()
Long
getSyncDate()
Long
getUpperBound()
void
setActiveSynchronizationRootDefinitions(String activeSynchronizationRootDefinitions)
void
setFileSystemChanges(List<FileSystemItemChange> changes)
void
setHasTooManyChanges(Boolean hasTooManyChanges)
void
setSyncDate(Long syncDate)
void
setUpperBound(Long upperBound)
String
toString()
-
-
-
Field Detail
-
fileSystemChanges
protected List<FileSystemItemChange> fileSystemChanges
-
syncDate
protected Long syncDate
-
upperBound
protected Long upperBound
-
hasTooManyChanges
protected Boolean hasTooManyChanges
-
activeSynchronizationRootDefinitions
protected String activeSynchronizationRootDefinitions
-
-
Method Detail
-
getFileSystemChanges
public List<FileSystemItemChange> getFileSystemChanges()
- Specified by:
getFileSystemChanges
in interfaceFileSystemChangeSummary
-
setFileSystemChanges
public void setFileSystemChanges(List<FileSystemItemChange> changes)
- Specified by:
setFileSystemChanges
in interfaceFileSystemChangeSummary
-
getSyncDate
public Long getSyncDate()
- Specified by:
getSyncDate
in interfaceFileSystemChangeSummary
- 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
public Long getUpperBound()
- Specified by:
getUpperBound
in interfaceFileSystemChangeSummary
- Returns:
- the last available log id in the audit log table
-
getActiveSynchronizationRootDefinitions
public String getActiveSynchronizationRootDefinitions()
- Specified by:
getActiveSynchronizationRootDefinitions
in interfaceFileSystemChangeSummary
-
setActiveSynchronizationRootDefinitions
public void setActiveSynchronizationRootDefinitions(String activeSynchronizationRootDefinitions)
- Specified by:
setActiveSynchronizationRootDefinitions
in interfaceFileSystemChangeSummary
-
setSyncDate
public void setSyncDate(Long syncDate)
- Specified by:
setSyncDate
in interfaceFileSystemChangeSummary
-
setUpperBound
public void setUpperBound(Long upperBound)
- Specified by:
setUpperBound
in interfaceFileSystemChangeSummary
-
setHasTooManyChanges
public void setHasTooManyChanges(Boolean hasTooManyChanges)
- Specified by:
setHasTooManyChanges
in interfaceFileSystemChangeSummary
-
getHasTooManyChanges
public Boolean getHasTooManyChanges()
- Specified by:
getHasTooManyChanges
in interfaceFileSystemChangeSummary
-
-