public static interface AuditService.AuditQueryCallback
Modifier and Type | Method and Description |
---|---|
boolean |
handleAuditEntry(Long entryId,
String applicationName,
String user,
long time,
Map<String,Serializable> values)
Handle a row of audit entry data.
|
boolean |
handleAuditEntryError(Long entryId,
String errorMsg,
Throwable error)
Handle audit entry failures
|
boolean |
valuesRequired()
Determines whether this callback requires the values argument to be populated when
handleAuditEntry(java.lang.Long, java.lang.String, java.lang.String, long, java.util.Map<java.lang.String, java.io.Serializable>)
is called. |
boolean valuesRequired()
handleAuditEntry(java.lang.Long, java.lang.String, java.lang.String, long, java.util.Map<java.lang.String, java.io.Serializable>)
is called.true
if this callback requires the values argument to be populatedboolean handleAuditEntry(Long entryId, String applicationName, String user, long time, Map<String,Serializable> values)
entryId
- the unique audit entry IDapplicationName
- the name of the applicationuser
- the user that logged the entrytime
- the time of the entryvalues
- the values map as createdboolean handleAuditEntryError(Long entryId, String errorMsg, Throwable error)
entryId
- the entry IDerrorMsg
- the error messageerror
- the exception causing the error (may be null)Copyright © 2005–2017 Alfresco Software. All rights reserved.