public class AuditChangeFinder extends Object implements FileSystemChangeFinder
FileSystemChangeFinder using the
 AuditReader.| Constructor and Description | 
|---|
| AuditChangeFinder() | 
| Modifier and Type | Method and Description | 
|---|---|
| long | getCurrentDate()Return the current time to query the logDate field of the audit log. | 
| List<FileSystemItemChange> | getFileSystemChanges(CoreSession session,
                    Set<IdRef> lastActiveRootRefs,
                    SynchronizationRoots activeRoots,
                    long lastSuccessfulSyncDate,
                    long syncDate,
                    int limit)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. | 
public List<FileSystemItemChange> getFileSystemChanges(CoreSession session, Set<IdRef> lastActiveRootRefs, SynchronizationRoots activeRoots, long lastSuccessfulSyncDate, long syncDate, int limit) throws ClientException, TooManyChangesException
FileSystemChangeFindergetFileSystemChanges in interface FileSystemChangeFindersession - the session bound to a specific repositorylastActiveRootRefs - docrefs of the roots as reported by the last
            successful synchronization (can be empty or null)activeRoots - the currently active synchronization rootslastSuccessfulSyncDate - 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 getMostRecentChangeDatelimit - the maximum number of changes to fetchTooManyChangesException - if the number of changes found has
             exceeded the limitClientException - if the access to the repository fails for another
             reason.public long getCurrentDate()
getCurrentDate in interface FileSystemChangeFinderCopyright © 2013 Nuxeo SA. All Rights Reserved.