public class NodeAuditor extends java.lang.Object implements org.springframework.beans.factory.InitializingBean, NodeServicePolicies.BeforeDeleteNodePolicy
AuditMethodInterceptor!
The values passed to the audit component are:
/alfresco-node
/beforeDeleteNode
/node=<nodeRef>
Policy.ArgQNAME| Constructor and Description |
|---|
NodeAuditor() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Checks that all necessary properties have been set and binds with the policy component.
|
void |
beforeDeleteNode(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Called before a node is deleted.
|
void |
setAuditComponent(AuditComponent auditComponent)
The component to create audit events
|
void |
setPolicyComponent(PolicyComponent policyComponent)
Set the component used to bind to behaviour callbacks
|
public void setPolicyComponent(PolicyComponent policyComponent)
public void setAuditComponent(AuditComponent auditComponent)
public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanpublic void beforeDeleteNode(org.alfresco.service.cmr.repository.NodeRef nodeRef)
NodeServicePolicies.BeforeDeleteNodePolicybeforeDeleteNode in interface NodeServicePolicies.BeforeDeleteNodePolicynodeRef - the node referenceCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.