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 StringactiveSynchronizationRootDefinitionsprotected List<FileSystemItemChange>fileSystemChangesprotected BooleanhasTooManyChangesprotected LongsyncDateprotected LongupperBound
-
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 StringgetActiveSynchronizationRootDefinitions()List<FileSystemItemChange>getFileSystemChanges()BooleangetHasTooManyChanges()LonggetSyncDate()LonggetUpperBound()voidsetActiveSynchronizationRootDefinitions(String activeSynchronizationRootDefinitions)voidsetFileSystemChanges(List<FileSystemItemChange> changes)voidsetHasTooManyChanges(Boolean hasTooManyChanges)voidsetSyncDate(Long syncDate)voidsetUpperBound(Long upperBound)StringtoString()
-
-
-
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:
getFileSystemChangesin interfaceFileSystemChangeSummary
-
setFileSystemChanges
public void setFileSystemChanges(List<FileSystemItemChange> changes)
- Specified by:
setFileSystemChangesin interfaceFileSystemChangeSummary
-
getSyncDate
public Long getSyncDate()
- Specified by:
getSyncDatein 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:
getUpperBoundin interfaceFileSystemChangeSummary- Returns:
- the last available log id in the audit log table
-
getActiveSynchronizationRootDefinitions
public String getActiveSynchronizationRootDefinitions()
- Specified by:
getActiveSynchronizationRootDefinitionsin interfaceFileSystemChangeSummary
-
setActiveSynchronizationRootDefinitions
public void setActiveSynchronizationRootDefinitions(String activeSynchronizationRootDefinitions)
- Specified by:
setActiveSynchronizationRootDefinitionsin interfaceFileSystemChangeSummary
-
setSyncDate
public void setSyncDate(Long syncDate)
- Specified by:
setSyncDatein interfaceFileSystemChangeSummary
-
setUpperBound
public void setUpperBound(Long upperBound)
- Specified by:
setUpperBoundin interfaceFileSystemChangeSummary
-
setHasTooManyChanges
public void setHasTooManyChanges(Boolean hasTooManyChanges)
- Specified by:
setHasTooManyChangesin interfaceFileSystemChangeSummary
-
getHasTooManyChanges
public Boolean getHasTooManyChanges()
- Specified by:
getHasTooManyChangesin interfaceFileSystemChangeSummary
-
-