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
  • Constructor Details

    • RatingsRelatedAspectBehaviours

      public RatingsRelatedAspectBehaviours()
  • Method Details

    • setPolicyComponent

      public void setPolicyComponent(PolicyComponent policyComponent)
    • init

      public void init()
    • getAspectsNotToCopy

      protected List<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(QName classRef, CopyDetails copyDetails)
      Description copied from interface: CopyServicePolicies.OnCopyNodePolicy
      Called for all types and aspects before copying a node.
      Specified by:
      getCopyCallback in interface CopyServicePolicies.OnCopyNodePolicy
      Parameters:
      classRef - the type or aspect qualified name
      copyDetails - the details of the impending copy
      Returns:
      Returns CopyBehaviourCallback
      See Also: