psdi.workflow

Class WorkflowActionDeletionMonitor

  • java.lang.Object
    • psdi.workflow.WorkflowActionDeletionMonitor


  • public class WorkflowActionDeletionMonitor
    extends java.lang.Object
    Listens for the deletion of Action records and prevents the deletion of actions referenced by active workflow actions.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void doCheck(Mbo mbo)
      Checks to see that the Mbo isn't the target of a workflow instance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WorkflowActionDeletionMonitor

        public WorkflowActionDeletionMonitor()
    • Method Detail

      • doCheck

        public static void doCheck(Mbo mbo)
                            throws java.rmi.RemoteException,
                                   MXException
        Checks to see that the Mbo isn't the target of a workflow instance.
        Parameters:
        mbo - The Mbo being marked for deletion.
        Throws:
        MXApplicationException - Thrown with "workflow", "ActionNoDel" if the action is referenced by a workflow action in a process definition. Parameters are the action identifier, process name, and process revision.
        java.rmi.RemoteException
        MXException