public interface FileSystemChangeFinder
Modifier and Type | Method and Description |
---|---|
List<FileSystemItemChange> |
getFileSystemChanges(CoreSession session,
Set<IdRef> lastActiveRootRefs,
SynchronizationRoots activeRoots,
Set<String> collectionSyncRootMemberIds,
long lowerBound,
long upperBound,
int limit)
Gets the changes in the repository against which the given session is bound for the given synchronization root
paths, between the given lower and upper integer bounds and without exceeding the given limit.
|
long |
getUpperBound()
Return the upper bound of the range clause in the change query.
|
long |
getUpperBound(Set<String> repositoryNames)
Returns the upper bound of the range clause in the change query taking into account the clustering delay if
clustering is enabled for at least one of the given repositories.
|
void |
handleParameters(Map<String,String> parameters)
Handles the parameters contributed through the
changeFinder contribution. |
void handleParameters(Map<String,String> parameters)
changeFinder
contribution.List<FileSystemItemChange> getFileSystemChanges(CoreSession session, Set<IdRef> lastActiveRootRefs, SynchronizationRoots activeRoots, Set<String> collectionSyncRootMemberIds, long lowerBound, long upperBound, int limit)
session
- 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 rootscollectionSyncRootMemberIds
- the collection sync root member idslowerBound
- the lower integer bound of the range clause in the change queryupperBound
- the upper integer bound of the range clause in the change query. This id is typically obtained
by calling #getUpperBound())
limit
- the maximum number of changes to fetchTooManyChangesException
- if the number of changes found has exceeded the limitlong getUpperBound()
long getUpperBound(Set<String> repositoryNames)
Copyright © 2019 Nuxeo. All rights reserved.