psdi.workflow

Class WFActionSet

    • Constructor Detail

      • WFActionSet

        public WFActionSet(MboServerInterface ms)
                    throws java.rmi.RemoteException
        Construct the set
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • getNextActionNum

        public int getNextActionNum()
                             throws MXException,
                                    java.rmi.RemoteException
        Determines the number for the next Action's ActionID. Calls up to the process that owns the nodes with owns the actions to get the value. Returns a value one greater than the existing maximum Action number in the process.
        Returns:
        The number to use for the next Action ID.
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        WFProcess.getNextActionNum()
      • getAction

        public WFActionRemote getAction(boolean ipValue)
                                 throws MXException,
                                        java.rmi.RemoteException
        Search the set for an action that has the specified IsPositive value and return a reference to it. Return null if no match is found.
        Specified by:
        getAction in interface WFActionSetRemote
        Parameters:
        ipValue - The value of IsPositive the action should have.
        Returns:
        The action with the value of IsPositive wanted, or null.
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        WFActionSet.getAction(boolean)
      • countPositiveAction

        public int countPositiveAction()
                                throws java.rmi.RemoteException,
                                       MXException
        Count the number of positive actions...
        Returns:
        The number of positive actions.
        Throws:
        java.rmi.RemoteException
        MXException
      • countNegativeAction

        public int countNegativeAction()
                                throws java.rmi.RemoteException,
                                       MXException
        Determine the number of negative actions in this set.
        Throws:
        java.rmi.RemoteException
        MXException
      • duplicateActions

        public void duplicateActions(WFActionSet origActions)
                              throws java.rmi.RemoteException,
                                     MXException
        Duplicate actions from the original set. Copies the action's notifications too.
        Parameters:
        origActions -
        Throws:
        java.rmi.RemoteException
        MXException