org.alfresco.repo.audit.model
Class ApplicationAuditEntry
java.lang.Object
org.alfresco.repo.audit.model.AbstractAuditEntry
org.alfresco.repo.audit.model.AbstractNamedAuditEntry
org.alfresco.repo.audit.model.ApplicationAuditEntry
- All Implemented Interfaces:
- ApplicationAuditModel
public class ApplicationAuditEntry
- extends AbstractNamedAuditEntry
- implements ApplicationAuditModel
Method Summary |
AuditMode |
afterExecution(AuditMode auditMode,
java.lang.String application,
java.lang.String description,
NodeRef key,
java.lang.Object[] args)
Report if audit behaviour can be determined after the method call |
AuditMode |
beforeExecution(AuditMode auditMode,
java.lang.String application,
java.lang.String description,
NodeRef key,
java.lang.Object[] args)
Report if audit behaviour can be determined before the method call |
RecordOptions |
getAuditRecordOptions(java.lang.String application)
Get the optional parameters that are to be recorded |
AuditMode |
onError(AuditMode auditMode,
java.lang.String application,
java.lang.String description,
NodeRef key,
java.lang.Object[] args)
Report if audit behaviour should be invoked on error. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationAuditEntry
public ApplicationAuditEntry()
beforeExecution
public AuditMode beforeExecution(AuditMode auditMode,
java.lang.String application,
java.lang.String description,
NodeRef key,
java.lang.Object[] args)
- Description copied from interface:
ApplicationAuditModel
- Report if audit behaviour can be determined before the method call
- Specified by:
beforeExecution
in interface ApplicationAuditModel
- Returns:
- - the audit mode
afterExecution
public AuditMode afterExecution(AuditMode auditMode,
java.lang.String application,
java.lang.String description,
NodeRef key,
java.lang.Object[] args)
- Description copied from interface:
ApplicationAuditModel
- Report if audit behaviour can be determined after the method call
- Specified by:
afterExecution
in interface ApplicationAuditModel
- Returns:
- - the audit mode
onError
public AuditMode onError(AuditMode auditMode,
java.lang.String application,
java.lang.String description,
NodeRef key,
java.lang.Object[] args)
- Description copied from interface:
ApplicationAuditModel
- Report if audit behaviour should be invoked on error. It could be we look at the error and filter - this is not
supported at the moment.
- Specified by:
onError
in interface ApplicationAuditModel
- Returns:
- - the audit mode
getAuditRecordOptions
public RecordOptions getAuditRecordOptions(java.lang.String application)
- Description copied from interface:
ApplicationAuditModel
- Get the optional parameters that are to be recorded
- Specified by:
getAuditRecordOptions
in interface ApplicationAuditModel
- Returns:
- - the audit mode
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.