Interface NodeServicePolicies.OnSetNodeTypePolicy

    • 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 onSetNodeType​(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName oldType, org.alfresco.service.namespace.QName newType)
      Called after the type of a node is set explicitly.
    • Field Detail

      • QNAME

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

      • onSetNodeType

        void onSetNodeType​(org.alfresco.service.cmr.repository.NodeRef nodeRef,
                           org.alfresco.service.namespace.QName oldType,
                           org.alfresco.service.namespace.QName newType)
        Called after the type of a node is set explicitly.
        Parameters:
        nodeRef - the node that has had its type set.
        oldType - the previous type of the node.
        newType - the type the node has been given.