Package org.alfresco.repo.forum
Class CommentsRollupAspect
- java.lang.Object
-
- org.alfresco.repo.forum.CommentsRollupAspect
-
- All Implemented Interfaces:
CopyServicePolicies.OnCopyNodePolicy,ClassPolicy,Policy
public class CommentsRollupAspect extends java.lang.Object implements CopyServicePolicies.OnCopyNodePolicy
comments rollupaspect behaviour bean. This aspect should not be copied.- Since:
- 4.0
- Author:
- Neil Mc Erlean
- See Also:
for a -related behaviour, which handles comment count recalculations.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.alfresco.repo.policy.Policy
Policy.Arg
-
-
Constructor Summary
Constructors Constructor Description CommentsRollupAspect()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CopyBehaviourCallbackgetCopyCallback(org.alfresco.service.namespace.QName classRef, CopyDetails copyDetails)Called for all types and aspects before copying a node.voidinit()Initialise methodvoidsetPolicyComponent(PolicyComponent policyComponent)Set the policy component
-
-
-
Method Detail
-
setPolicyComponent
public void setPolicyComponent(PolicyComponent policyComponent)
Set the policy component- Parameters:
policyComponent- policy component
-
init
public void init()
Initialise method
-
getCopyCallback
public CopyBehaviourCallback getCopyCallback(org.alfresco.service.namespace.QName classRef, CopyDetails copyDetails)
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 CopyBehaviourCallback
- See Also:
CopyServicePolicies
-
-