psdi.workflow

Class WFInput

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


    public class WFInput
    extends WFNodeDetail
    implements WFInputRemote
    Mbo to represent WFDecision object.

    This is a system level object.

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

    The attributes in this object are as follows:

    Attribute NameDescription
    NodeId The Node that this manual input information is related to.
    ProcessName The Process that this manual input is in.
    ProcessRev The process revision number.
    • Constructor Detail

      • WFInput

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

      • wfValidate

        public void wfValidate(java.util.Vector errs,
                               java.util.Hashtable hinfo)
                        throws MXException,
                               java.rmi.RemoteException
        Input 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. Input nodes may have any number of positive actions.
        Specified by:
        canTakePositive in class WFNodeDetail
        Returns:
        Returns true.
        Throws:
        MXException
        java.rmi.RemoteException
      • canTakeNegative

        public boolean canTakeNegative()
                                throws MXException,
                                       java.rmi.RemoteException
        Determines whether this node can take a negative action. Input nodes may not have negative 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