public class MongoDBAuditBackend.MongoDBLogEntryProvider extends Object implements BaseLogEntryProvider
Constructor and Description |
---|
MongoDBLogEntryProvider() |
Modifier and Type | Method and Description |
---|---|
void |
addLogEntry(LogEntry logEntry) |
List<LogEntry> |
getLogEntriesFor(String uuid)
Returns the logs given a doc uuid.
|
List<LogEntry> |
getLogEntriesFor(String uuid,
Map<String,FilterMapEntry> filterMap,
boolean doDefaultSort)
Returns the logs given a doc uuid, a map of filters and a default sort.
|
List<LogEntry> |
getLogEntriesFor(String uuid,
String repositoryId)
Returns the logs given a doc uuid and a repository id.
|
int |
removeEntries(String eventId,
String pathPattern) |
public MongoDBLogEntryProvider()
public int removeEntries(String eventId, String pathPattern)
removeEntries
in interface BaseLogEntryProvider
public void addLogEntry(LogEntry logEntry)
addLogEntry
in interface BaseLogEntryProvider
public List<LogEntry> getLogEntriesFor(String uuid, String repositoryId)
BaseLogEntryProvider
getLogEntriesFor
in interface BaseLogEntryProvider
uuid
- the document uuidrepositoryId
- the repository idpublic List<LogEntry> getLogEntriesFor(String uuid)
BaseLogEntryProvider
getLogEntriesFor
in interface BaseLogEntryProvider
uuid
- the document uuidpublic List<LogEntry> getLogEntriesFor(String uuid, Map<String,FilterMapEntry> filterMap, boolean doDefaultSort)
BaseLogEntryProvider
getLogEntriesFor
in interface BaseLogEntryProvider
uuid
- the document uuidfilterMap
- the map of filters to applydoDefaultSort
- the default sort to setCopyright © 2017 Nuxeo. All rights reserved.