org.alfresco.service.cmr.audit
Interface AuditService

All Known Implementing Classes:
AuditServiceImpl

@PublicService
public interface AuditService

The public API by which applications can create audit entries. This does not affect auditing using method interceptors. The information recorded can not be confused between the two. This API could be used by an audit action.


Method Summary
 void audit(java.lang.String source, java.lang.String description)
          Add an application audit entry.
 void audit(java.lang.String source, java.lang.String description, NodeRef key)
           
 void audit(java.lang.String source, java.lang.String description, NodeRef key, java.lang.Object[] args)
           
 void audit(java.lang.String source, java.lang.String description, java.lang.Object[] args)
           
 java.util.List getAuditTrail(NodeRef nodeRef)
          Get the audit trail for a node ref.
 

Method Detail

audit

@NotAuditable
void audit(java.lang.String source,
                        java.lang.String description)
Add an application audit entry.

Parameters:
source - - a string that represents the application
description - - the audit entry

audit

@NotAuditable
void audit(java.lang.String source,
                        java.lang.String description,
                        NodeRef key)
Parameters:
source - - a string that represents the application
description - - the audit entry
key - - a node ref to use as the key for filtering etc

audit

@NotAuditable
void audit(java.lang.String source,
                        java.lang.String description,
                        java.lang.Object[] args)
Parameters:
source - - a string that represents the application
description - - the audit entry
args - - an arbitrary list of parameters

audit

@NotAuditable
void audit(java.lang.String source,
                        java.lang.String description,
                        NodeRef key,
                        java.lang.Object[] args)
Parameters:
source - - a string that represents the application
description - - the audit entry *
key - - a node ref to use as the key for filtering etc
args - - an arbitrary list of parameters

getAuditTrail

@NotAuditable
java.util.List getAuditTrail(NodeRef nodeRef)
Get the audit trail for a node ref.

Parameters:
nodeRef - - the node ref for which to get the audit trail.
Returns:
- tha audit trail


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