Package org.alfresco.repo.node
Class PendingDeleteAspect
java.lang.Object
org.alfresco.repo.node.PendingDeleteAspect
- All Implemented Interfaces:
CopyServicePolicies.OnCopyNodePolicy,ClassPolicy,Policy
Registers and contains the behaviour specific to the
'pending delete' aspect.- Since:
- 4.1.1
- Author:
- Derek Hulley
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.alfresco.repo.policy.Policy
Policy.Arg -
Field Summary
Fields inherited from interface org.alfresco.repo.copy.CopyServicePolicies.OnCopyNodePolicy
ARG_0, ARG_1, QNAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCopyCallback(QName classRef, CopyDetails copyDetails) Called for all types and aspects before copying a node.voidinit()voidsetPolicyComponent(PolicyComponent policyComponent)
-
Constructor Details
-
PendingDeleteAspect
public PendingDeleteAspect()
-
-
Method Details
-
setPolicyComponent
- Parameters:
policyComponent- the policy component to register behaviour with
-
init
public void init()- See Also:
-
getCopyCallback
Description copied from interface:CopyServicePolicies.OnCopyNodePolicyCalled for all types and aspects before copying a node.- Specified by:
getCopyCallbackin interfaceCopyServicePolicies.OnCopyNodePolicy- Parameters:
classRef- the type or aspect qualified namecopyDetails- the details of the impending copy- Returns:
- Returns
DoNothingCopyBehaviourCallback - See Also:
-