Interface NodeServicePolicies.OnDeleteNodePolicy

    • 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 onDeleteNode​(org.alfresco.service.cmr.repository.ChildAssociationRef childAssocRef, boolean isNodeArchived)
      Called after a node is deleted.
    • Field Detail

      • QNAME

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

      • onDeleteNode

        void onDeleteNode​(org.alfresco.service.cmr.repository.ChildAssociationRef childAssocRef,
                          boolean isNodeArchived)
        Called after a node is deleted. The reference given is for an association which has been deleted and cannot be used to retrieve node or associaton information from any of the services.
        Parameters:
        childAssocRef - the primary parent-child association of the deleted node
        isNodeArchived - indicates whether the node has been archived rather than purged