psdi.workflow

Class WFNodeDetail

    • Constructor Detail

      • WFNodeDetail

        public WFNodeDetail(MboSet ms)
                     throws java.rmi.RemoteException
        Constructor
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • init

        public void init()
                  throws MXException
        Mbo Initialization routine. Always read-only fields have their READONLY flag set here.
        Overrides:
        init in class Mbo
        Throws:
        MXException
      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Called when a new workflow node detail is created. This assumes the owner is the WFNode.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • getWFCallStack

        public WFCallStack getWFCallStack()
                                   throws MXException,
                                          java.rmi.RemoteException
        Returns the call stack...
        Throws:
        MXException
        java.rmi.RemoteException
      • getWFInstance

        public WFInstance getWFInstance()
                                 throws MXException,
                                        java.rmi.RemoteException
        Returns the instance
        Throws:
        MXException
        java.rmi.RemoteException
      • getNode

        public WFNode getNode()
                       throws MXException,
                              java.rmi.RemoteException
        Get the node base record for this node detail record.
        Returns:
        The Node base record.
        Throws:
        MXException
        java.rmi.RemoteException
      • wfValidate

        public abstract void wfValidate(java.util.Vector errs,
                                        java.util.Hashtable hsp)
                                 throws MXException,
                                        java.rmi.RemoteException
        Validates a node within a work flow process.
        Parameters:
        errs - A vector of MXExceptions where there are problems in the process. Any errors found will be added to this list.
        hsp - A hashtable of information that is passed throughout the validation process
        Throws:
        MXException
        java.rmi.RemoteException
      • canTakePositive

        public abstract boolean canTakePositive()
                                         throws MXException,
                                                java.rmi.RemoteException
        Determines whether this node can take a positive action. This is a design time method.
        Returns:
        Returns true if this node can a positive action.
        Throws:
        MXException
        java.rmi.RemoteException
      • canTakeNegative

        public abstract boolean canTakeNegative()
                                         throws MXException,
                                                java.rmi.RemoteException
        Determines whether this node can take a negative action. This is a design time method.
        Returns:
        Returns true if this node can a negative action.
        Throws:
        MXException
        java.rmi.RemoteException
      • addedAction

        public abstract void addedAction(boolean wasPositive)
                                  throws MXException,
                                         java.rmi.RemoteException
        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.
        Parameters:
        wasPositive - Was a positive action added?
        Throws:
        MXException
        java.rmi.RemoteException
      • removedAction

        public abstract void removedAction(boolean wasPositive)
                                    throws MXException,
                                           java.rmi.RemoteException
        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.
        Parameters:
        wasPositive - Was a positive action added?
        Throws:
        MXException
        java.rmi.RemoteException