public class RatingsRelatedAspectBehaviours extends Object implements CopyServicePolicies.OnCopyNodePolicy
RatingService
-related aspects.Policy.Arg
ARG_0, ARG_1, QNAME
Constructor and Description |
---|
RatingsRelatedAspectBehaviours() |
Modifier and Type | Method and Description |
---|---|
protected 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.
|
CopyBehaviourCallback |
getCopyCallback(org.alfresco.service.namespace.QName classRef,
CopyDetails copyDetails)
Called for all types and aspects before copying a node.
|
void |
init() |
void |
setPolicyComponent(PolicyComponent policyComponent) |
public void setPolicyComponent(PolicyComponent policyComponent)
public void init()
protected List<org.alfresco.service.namespace.QName> getAspectsNotToCopy()
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.