Interface NodeServicePolicies.BeforeSetNodeTypePolicy

All Superinterfaces:
ClassPolicy, Policy
Enclosing interface:
NodeServicePolicies

@AlfrescoPublicApi public static interface NodeServicePolicies.BeforeSetNodeTypePolicy 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
    beforeSetNodeType(NodeRef nodeRef, QName oldType, QName newType)
    Called before the type of a node is set explicitly.
  • Field Details

    • QNAME

      static final QName QNAME
  • Method Details

    • beforeSetNodeType

      void beforeSetNodeType(NodeRef nodeRef, QName oldType, 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.