public class RateableAspect extends Object implements CopyServicePolicies.OnCopyNodePolicy
Policy.Arg
ARG_0, ARG_1, QNAME
Constructor and Description |
---|
RateableAspect() |
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
|
void |
setRatingNamingConventions(RatingNamingConventionsUtil ratingNamingConventions)
Set the rating naming conventions service.
|
void |
setRatingSchemeRegistry(RatingSchemeRegistry ratingSchemeRegistry)
Set the rating scheme registry
|
public void setPolicyComponent(PolicyComponent policyComponent)
policyComponent
- policy componentpublic void setRatingSchemeRegistry(RatingSchemeRegistry ratingSchemeRegistry)
ratingSchemeRegistry
- The rating scheme registrypublic void setRatingNamingConventions(RatingNamingConventionsUtil ratingNamingConventions)
ratingNamingConventions
- RatingNamingConventionsUtilpublic 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.