Interface NodeServicePolicies.OnSetNodeTypePolicy

All Superinterfaces:
ClassPolicy, Policy
All Known Subinterfaces:
EventSupportedPolicies
All Known Implementing Classes:
DictionaryModelType, EventGenerator, NodeEventConsolidator
Enclosing interface:
NodeServicePolicies

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

    • QNAME

      static final QName QNAME
  • Method Details

    • onSetNodeType

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