public class ReferenceableAspect extends java.lang.Object implements CopyServicePolicies.OnCopyNodePolicy
referencable aspect.Policy.ArgARG_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.OnCopyNodePolicygetCopyCallback in interface CopyServicePolicies.OnCopyNodePolicyclassRef - the type or aspect qualified namecopyDetails - the details of the impending copyDoNothingCopyBehaviourCallbackCopyServicePoliciesCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.