Class UnitAssignmentRemovalListener

java.lang.Object
fr.paris.lutece.plugins.workflow.modules.unittree.service.unit.UnitAssignmentRemovalListener
All Implemented Interfaces:
fr.paris.lutece.plugins.unittree.service.unit.IUnitRemovalListener

@ApplicationScoped @Named("workflow-unittree.unitRemovalListener") public class UnitAssignmentRemovalListener extends Object implements fr.paris.lutece.plugins.unittree.service.unit.IUnitRemovalListener
This class is a listener when a Unit is removed. This listener tests if there is no resource assigned to the removed unit.
  • Constructor Details

    • UnitAssignmentRemovalListener

      public UnitAssignmentRemovalListener()
  • Method Details

    • notify

      public void notify(int nIdRemovedUnit) throws fr.paris.lutece.plugins.unittree.service.UnitErrorException
      Specified by:
      notify in interface fr.paris.lutece.plugins.unittree.service.unit.IUnitRemovalListener
      Throws:
      fr.paris.lutece.plugins.unittree.service.UnitErrorException