psdi.workflow

Class WFStop

  • All Implemented Interfaces:
    java.rmi.Remote, MboConstants, MboRemote, MaxRemoteProxy, WFNodeDetailRemote, WFStopRemote


    public class WFStop
    extends WFNodeDetail
    implements WFStopRemote
    Mbo to represent WFStop object.

    This is a system level object.

    The key attributes for this object are NodeId, ProcessName and ProcessRev.

    The attributes in this object are as follows:

    Attribute NameDescription
    NodeIdThe Node that this stop information is related to.
    ProcessNameThe Process that this stop node is in.
    ProcessRevProcess revision.
    • Constructor Detail

      • WFStop

        public WFStop(MboSet ms)
               throws java.rmi.RemoteException
        Construct the WFStop object
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • stopWorkflow

        public void stopWorkflow()
                          throws MXException,
                                 java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • wfValidate

        public void wfValidate(java.util.Vector errs,
                               java.util.Hashtable hinfo)
                        throws MXException,
                               java.rmi.RemoteException
        Stop validation
        Specified by:
        wfValidate in class WFNodeDetail
        Parameters:
        errs - A vector of MXExceptions where there are problems in the process. Any errors found will be added to this list.
        hinfo - A hashtable of information that is passed throughout the validation process
        Throws:
        MXException
        java.rmi.RemoteException
      • canTakePositive

        public boolean canTakePositive()
                                throws MXException,
                                       java.rmi.RemoteException
        Determines whether this node can take a positive action. Stop nodes may not have any actions.
        Specified by:
        canTakePositive in class WFNodeDetail
        Returns:
        Returns false.
        Throws:
        MXException
        java.rmi.RemoteException
      • canTakeNegative

        public boolean canTakeNegative()
                                throws MXException,
                                       java.rmi.RemoteException
        Determines whether this node can take a negative action. Stop nodes may not have any actions.
        Specified by:
        canTakeNegative in class WFNodeDetail
        Returns:
        Returns false.
        Throws:
        MXException
        java.rmi.RemoteException
      • addedAction

        public void addedAction(boolean wasPositive)
                         throws MXException,
                                java.rmi.RemoteException
        Description copied from class: WFNodeDetail
        This method tells the node that an action now originates from it. Typically if this method is overridden to do anything, the owning node's TakePositive and/or TakeNegative attributes are updated.
        The base class default is do nothing.
        Specified by:
        addedAction in class WFNodeDetail
        Parameters:
        wasPositive - Was a positive action added?
        Throws:
        MXException
        java.rmi.RemoteException
      • removedAction

        public void removedAction(boolean wasPositive)
                           throws MXException,
                                  java.rmi.RemoteException
        Description copied from class: WFNodeDetail
        This method tells the node that an action no longer originates from it. Typically if this method is overridden to do anything, the owning node's TakePositive and/or TakeNegative attributes are updated.
        The base class default is do nothing.
        Specified by:
        removedAction in class WFNodeDetail
        Parameters:
        wasPositive - Was a positive action added?
        Throws:
        MXException
        java.rmi.RemoteException