Interface NodeServicePolicies.BeforeAddAspectPolicy

    • 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 org.alfresco.service.namespace.QName QNAME  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void beforeAddAspect​(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName aspectTypeQName)
      Called before an aspect is added to a node
    • Field Detail

      • QNAME

        static final org.alfresco.service.namespace.QName QNAME
    • Method Detail

      • beforeAddAspect

        void beforeAddAspect​(org.alfresco.service.cmr.repository.NodeRef nodeRef,
                             org.alfresco.service.namespace.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