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.Arg
ARG_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.OnCopyNodePolicy
getCopyCallback
in interface CopyServicePolicies.OnCopyNodePolicy
classRef
- the type or aspect qualified namecopyDetails
- the details of the impending copyCopyServicePolicies
Copyright © 2005–2017 Alfresco Software. All rights reserved.