psdi.workflow

Class WorkflowRoleDeletionMonitor

  • java.lang.Object
    • psdi.workflow.WorkflowRoleDeletionMonitor


  • public class WorkflowRoleDeletionMonitor
    extends java.lang.Object
    Listens for the deletion of MaxRole records and prevents the deletion of roles referenced by workflow assignment templates.
    • Method Summary

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

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

      • WorkflowRoleDeletionMonitor

        public WorkflowRoleDeletionMonitor()
    • Method Detail

      • doCheck

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