|Modifier and Type||Method and Description|
Read the current time code to query for changes.
Gets the changes in the repository against which the given session is bound for the given synchronization root paths, since the given last successful synchronization date and without exceeding the given limit.
List<FileSystemItemChange> getFileSystemChanges(CoreSession session, Set<IdRef> lastActiveRootRefs, SynchronizationRoots activeRoots, long lastSuccessfulSyncDate, long syncDate, int limit) throws ClientException, TooManyChangesException
session- the session bound to a specific repository
lastActiveRootRefs- docrefs of the roots as reported by the last successful synchronization (can be empty or null)
activeRoots- the currently active synchronization roots
lastSuccessfulSyncDate- the last successful synchronization date as measured on the server for this user device.
syncDate- the current synchronization date (upper bound on the date of the changes to return). This date is typically obtained by calling
limit- the maximum number of changes to fetch
TooManyChangesException- if the number of changes found has exceeded the limit
ClientException- if the access to the repository fails for another reason.
Copyright © 2013 Nuxeo SA. All Rights Reserved.