Package org.nuxeo.audit.storage.impl
Class DirectoryAuditStorage
java.lang.Object
org.nuxeo.audit.storage.impl.DirectoryAuditStorage
- All Implemented Interfaces:
AuditStorage
Audit storage implementation for an Audit directory.
- Since:
- 9.10
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Insert entries as Json in the Audit directory.protected Directory
queryLogs
(QueryBuilder queryBuilder) Query log entries in the Audit directory, given an audit query builder.Scroll log entries in the Audit directory, given a scroll Id.scroll
(QueryBuilder queryBuilder, int batchSize, int keepAlive) Scroll log entries in the Audit directory, given an audit query builder.
-
Field Details
-
NAME
- See Also:
-
DIRECTORY_NAME
- See Also:
-
ID_COLUMN
- See Also:
-
JSON_COLUMN
- See Also:
-
cursorService
-
-
Constructor Details
-
DirectoryAuditStorage
public DirectoryAuditStorage()
-
-
Method Details
-
getAuditDirectory
-
append
Insert entries as Json in the Audit directory.- Specified by:
append
in interfaceAuditStorage
-
scroll
Scroll log entries in the Audit directory, given a scroll Id.- Specified by:
scroll
in interfaceAuditStorage
-
scroll
Scroll log entries in the Audit directory, given an audit query builder.- Specified by:
scroll
in interfaceAuditStorage
-
queryLogs
Query log entries in the Audit directory, given an audit query builder. Does not support literals other than StringLiteral: seeSession.query(Map, Set, Map, boolean, int, int)
.
-