Package org.alfresco.repo.rating
Class RatingsRelatedAspectBehaviours
- java.lang.Object
-
- org.alfresco.repo.rating.RatingsRelatedAspectBehaviours
-
- All Implemented Interfaces:
CopyServicePolicies.OnCopyNodePolicy,ClassPolicy,Policy
public class RatingsRelatedAspectBehaviours extends java.lang.Object implements CopyServicePolicies.OnCopyNodePolicy
Aspect behaviour bean forRatingService-related aspects.- Since:
- 4.1.5
- Author:
- Neil Mc Erlean
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.alfresco.repo.policy.Policy
Policy.Arg
-
-
Constructor Summary
Constructors Constructor Description RatingsRelatedAspectBehaviours()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<org.alfresco.service.namespace.QName>getAspectsNotToCopy()This method returns the default list of ratings-related aspects which should not be copied when a rated node is copied.CopyBehaviourCallbackgetCopyCallback(org.alfresco.service.namespace.QName classRef, CopyDetails copyDetails)Called for all types and aspects before copying a node.voidinit()voidsetPolicyComponent(PolicyComponent policyComponent)
-
-
-
Method Detail
-
setPolicyComponent
public void setPolicyComponent(PolicyComponent policyComponent)
-
init
public void init()
-
getAspectsNotToCopy
protected java.util.List<org.alfresco.service.namespace.QName> getAspectsNotToCopy()
This method returns the default list of ratings-related aspects which should not be copied when a rated node is copied.- Returns:
- a List of QNames of ratings-related aspects which should not be copied.
-
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
-
-