Package org.nuxeo.drive.mongodb
Class MongoDBAuditChangeFinder
java.lang.Object
org.nuxeo.drive.service.impl.AuditChangeFinder
org.nuxeo.drive.mongodb.MongoDBAuditChangeFinder
- All Implemented Interfaces:
FileSystemChangeFinder
- Since:
- 11.3
-
Field Summary
Fields inherited from class org.nuxeo.drive.service.impl.AuditChangeFinder
parameters -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.bson.conversions.BsonaddRoots(org.bson.conversions.Bson baseFilter, Set<String> rootPaths, Set<String> collectionSyncRootMemberIds) longReturns the last available log id in the audit log table (primary key) to be used as the upper bound of the event log id range clause in the change query.queryAuditEntries(CoreSession session, SynchronizationRoots activeRoots, Set<String> collectionSyncRootMemberIds, long lowerBound, long upperBound, int limit) Methods inherited from class org.nuxeo.drive.service.impl.AuditChangeFinder
getCollectionSyncRootFilteringClause, getCurrentRootFilteringClause, getFileSystemChanges, getFileSystemItemChange, getJPARangeClause, handleParametersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nuxeo.drive.service.FileSystemChangeFinder
getUpperBound
-
Constructor Details
-
MongoDBAuditChangeFinder
public MongoDBAuditChangeFinder()
-
-
Method Details
-
getUpperBound
public long getUpperBound()Description copied from class:AuditChangeFinderReturns the last available log id in the audit log table (primary key) to be used as the upper bound of the event log id range clause in the change query.- Specified by:
getUpperBoundin interfaceFileSystemChangeFinder- Overrides:
getUpperBoundin classAuditChangeFinder
-
queryAuditEntries
protected List<LogEntry> queryAuditEntries(CoreSession session, SynchronizationRoots activeRoots, Set<String> collectionSyncRootMemberIds, long lowerBound, long upperBound, int limit) - Overrides:
queryAuditEntriesin classAuditChangeFinder
-
addRoots
-