psdi.workflow

Class WorkflowPersonDeletionMonitor

  • java.lang.Object
    • psdi.workflow.WorkflowPersonDeletionMonitor


  • public class WorkflowPersonDeletionMonitor
    extends java.lang.Object
    Listens for the deletion of Person records and prevents the deletion of persons on active work flow instances and assignments. This is a singleton class.
    • 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

      • WorkflowPersonDeletionMonitor

        public WorkflowPersonDeletionMonitor()
    • 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", "InstNoDelPerson" if the person is the originator of a still active process. Parameters are the person ID, process name, and process revision.
        MXApplicationException - Thrown with "workflow", "AssignNoDelPerson" if the person has an active workflow assignment. Parameter is the person ID.
        java.rmi.RemoteException
        MXException