public class AuditDAOTest.AuditQueryCallbackImpl extends java.lang.Object implements AuditService.AuditQueryCallback
| Constructor and Description |
|---|
AuditDAOTest.AuditQueryCallbackImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
handleAuditEntry(java.lang.Long entryId,
java.lang.String applicationName,
java.lang.String user,
long time,
java.util.Map values)
Handle a row of audit entry data.
|
boolean |
handleAuditEntryError(java.lang.Long entryId,
java.lang.String errorMsg,
java.lang.Throwable error)
Handle audit entry failures
|
int |
numEntries(java.lang.String appName) |
boolean |
valuesRequired()
Determines whether this callback requires the values argument to be populated when
AuditService.AuditQueryCallback.handleAuditEntry(java.lang.Long, java.lang.String, java.lang.String, long, java.util.Map)
is called. |
public boolean valuesRequired()
AuditService.AuditQueryCallbackAuditService.AuditQueryCallback.handleAuditEntry(java.lang.Long, java.lang.String, java.lang.String, long, java.util.Map)
is called.valuesRequired in interface AuditService.AuditQueryCallbacktrue if this callback requires the values argument to be populatedpublic boolean handleAuditEntry(java.lang.Long entryId,
java.lang.String applicationName,
java.lang.String user,
long time,
java.util.Map values)
AuditService.AuditQueryCallbackhandleAuditEntry in interface AuditService.AuditQueryCallbackentryId - 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 createdpublic boolean handleAuditEntryError(java.lang.Long entryId,
java.lang.String errorMsg,
java.lang.Throwable error)
AuditService.AuditQueryCallbackhandleAuditEntryError in interface AuditService.AuditQueryCallbackentryId - the entry IDerrorMsg - the error messageerror - the exception causing the error (may be null)public int numEntries(java.lang.String appName)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.