public class ReferenceableAspect extends Object implements CopyServicePolicies.OnCopyNodePolicy
referencable aspect
.Policy.Arg
ARG_0, ARG_1, QNAME
Constructor and Description |
---|
ReferenceableAspect() |
Modifier and Type | Method and Description |
---|---|
CopyBehaviourCallback |
getCopyCallback(org.alfresco.service.namespace.QName classRef,
CopyDetails copyDetails)
Called for all types and aspects before copying a node.
|
void |
init()
Initialise the Referencable Aspect
|
void |
setPolicyComponent(PolicyComponent policyComponent) |
public void setPolicyComponent(PolicyComponent policyComponent)
policyComponent
- the policy component to register behaviour withpublic void init()
Ensures that the referencable aspect
copy behaviour is disabled.
public CopyBehaviourCallback getCopyCallback(org.alfresco.service.namespace.QName classRef, CopyDetails copyDetails)
CopyServicePolicies.OnCopyNodePolicy
getCopyCallback
in interface CopyServicePolicies.OnCopyNodePolicy
classRef
- the type or aspect qualified namecopyDetails
- the details of the impending copyDoNothingCopyBehaviourCallback
CopyServicePolicies
Copyright © 2005–2017 Alfresco Software. All rights reserved.