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 Object
implements CopyServicePolicies.OnCopyNodePolicy
Aspect behaviour bean for
RatingService-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 -
Field Summary
Fields inherited from interface org.alfresco.repo.copy.CopyServicePolicies.OnCopyNodePolicy
ARG_0, ARG_1, QNAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the default list of ratings-related aspects which should not be copied when a rated node is copied.getCopyCallback(QName classRef, CopyDetails copyDetails) Called for all types and aspects before copying a node.voidinit()voidsetPolicyComponent(PolicyComponent policyComponent)
-
Constructor Details
-
RatingsRelatedAspectBehaviours
public RatingsRelatedAspectBehaviours()
-
-
Method Details
-
setPolicyComponent
-
init
public void init() -
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
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:
-