public class CommentsRollupAspect extends Object implements CopyServicePolicies.OnCopyNodePolicy
comments rollup aspect behaviour bean.
This aspect should not be copied.for a {@link ForumModel#ASPECT_COMMENTS_ROLLUP}-related behaviour, which handles comment count recalculations.Policy.ArgARG_0, ARG_1, QNAME| Constructor and Description |
|---|
CommentsRollupAspect() |
| 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 method
|
void |
setPolicyComponent(PolicyComponent policyComponent)
Set the policy component
|
public void setPolicyComponent(PolicyComponent policyComponent)
policyComponent - policy componentpublic void init()
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 copyCopyServicePoliciesCopyright © 2005–2018 Alfresco Software. All rights reserved.