Interface NodeServicePolicies.BeforeAddAspectPolicy

All Superinterfaces:
ClassPolicy, Policy
All Known Implementing Classes:
VersionableAspect
Enclosing interface:
NodeServicePolicies

@AlfrescoPublicApi public static interface NodeServicePolicies.BeforeAddAspectPolicy extends ClassPolicy
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.alfresco.repo.policy.Policy

    Policy.Arg
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final QName
     

    Fields inherited from interface org.alfresco.repo.policy.Policy

    NAMESPACE
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    beforeAddAspect(NodeRef nodeRef, QName aspectTypeQName)
    Called before an aspect is added to a node
  • Field Details

    • QNAME

      static final QName QNAME
  • Method Details

    • beforeAddAspect

      void beforeAddAspect(NodeRef nodeRef, QName aspectTypeQName)
      Called before an aspect is added to a node
      Parameters:
      nodeRef - the node to which the aspect will be added
      aspectTypeQName - the type of the aspect