|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.audit.AuditableAspect
public class AuditableAspect
This aspect maintains the audit properties of the Auditable aspect.
| Constructor Summary | |
|---|---|
AuditableAspect()
|
|
| Method Summary | |
|---|---|
void |
init()
Initialise the Auditable Aspect |
void |
onAddAudit(NodeRef nodeRef,
QName aspect)
Maintain audit properties on addition of audit aspect to a node |
void |
onCopy(QName sourceClassRef,
NodeRef sourceNodeRef,
StoreRef destinationStoreRef,
boolean copyToNewNode,
PolicyScope copyDetails)
OnCopy behaviour implementation for the lock aspect. |
void |
onCreateAudit(ChildAssociationRef childAssocRef)
Maintain audit properties on creation of Node |
void |
onUpdateAudit(NodeRef nodeRef)
Maintain audit properties on update of node |
void |
setAuthenticationService(AuthenticationService authenticationService)
|
void |
setNodeService(NodeService nodeService)
|
void |
setPolicyComponent(PolicyComponent policyComponent)
|
void |
setTenantService(TenantService tenantService)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AuditableAspect()
| Method Detail |
|---|
public void setNodeService(NodeService nodeService)
nodeService - the node service to use for audit property maintenancepublic void setPolicyComponent(PolicyComponent policyComponent)
policyComponent - the policy componentpublic void setAuthenticationService(AuthenticationService authenticationService)
authenticationService - the authentication servicepublic void setTenantService(TenantService tenantService)
tenantService - the tenant servicepublic void init()
public void onCreateAudit(ChildAssociationRef childAssocRef)
childAssocRef - the association to the child created
public void onAddAudit(NodeRef nodeRef,
QName aspect)
nodeRef - the node to which auditing has been addedaspect - the aspect addedpublic void onUpdateAudit(NodeRef nodeRef)
nodeRef - the updated node
public void onCopy(QName sourceClassRef,
NodeRef sourceNodeRef,
StoreRef destinationStoreRef,
boolean copyToNewNode,
PolicyScope copyDetails)
Ensures that the propety values of the lock aspect are not copied onto the destination node.
CopyServicePolicies.OnCopyNodePolicy.onCopyNode(QName, NodeRef, StoreRef, boolean, PolicyScope)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||