Package org.alfresco.repo.node
Class ReferenceableAspect
java.lang.Object
org.alfresco.repo.node.ReferenceableAspect
- All Implemented Interfaces:
CopyServicePolicies.OnCopyNodePolicy,ClassPolicy,Policy
Registers and contains the behaviour specific to the
referencable aspect.- 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()Initialise the Referencable AspectvoidsetPolicyComponent(PolicyComponent policyComponent)
-
Constructor Details
-
ReferenceableAspect
public ReferenceableAspect()
-
-
Method Details
-
setPolicyComponent
- Parameters:
policyComponent- the policy component to register behaviour with
-
init
public void init()Initialise the Referencable AspectEnsures that the
referencable aspectcopy behaviour is disabled. -
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:
-