org.alfresco.repo.audit
Interface ApplicationAuditModel

All Known Subinterfaces:
AuditModel
All Known Implementing Classes:
ApplicationAuditEntry, AuditEntry

public interface ApplicationAuditModel

The audit model used for application level auditing.


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.
 

Method Detail

beforeExecution

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

Parameters:
auditMode -
application -
description -
key -
args -
Returns:
- the audit mode

afterExecution

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

Parameters:
auditMode -
application -
description -
key -
args -
Returns:
- the audit mode

onError

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. It could be we look at the error and filter - this is not supported at the moment.

Parameters:
auditMode -
application -
description -
key -
args -
Returns:
- the audit mode

getAuditRecordOptions

RecordOptions getAuditRecordOptions(java.lang.String application)
Get the optional parameters that are to be recorded

Parameters:
application -
Returns:
- the audit mode


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.