Interface NodeServicePolicies.BeforeSetNodeTypePolicy

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

      • QNAME

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

      • beforeSetNodeType

        void beforeSetNodeType​(org.alfresco.service.cmr.repository.NodeRef nodeRef,
                               org.alfresco.service.namespace.QName oldType,
                               org.alfresco.service.namespace.QName newType)
        Called before the type of a node is set explicitly.
        Parameters:
        nodeRef - the node having its type set.
        oldType - the current type of the node.
        newType - the type the node will be given.