psdi.workflow

Class WrapWFNodeDetail



  • public class WrapWFNodeDetail
    extends NodeDetail
    • Constructor Detail

      • WrapWFNodeDetail

        public WrapWFNodeDetail(WFNodeDetail detailMbo)
        Constructor takes the WFNodeDetail record.
    • Method Detail

      • validateNode

        public void validateNode(java.util.Vector errs,
                                 java.util.Hashtable hinfo)
                          throws MXException,
                                 java.rmi.RemoteException
        Validate this node.
        Specified by:
        validateNode in class NodeDetail
        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
        Description copied from class: NodeDetail
        Determines whether this node can take a positive action. This is a design time method.
        Specified by:
        canTakePositive in class NodeDetail
        Returns:
        Returns true if this node can a positive action.
        Throws:
        MXException
        java.rmi.RemoteException
      • canTakeNegative

        public boolean canTakeNegative()
                                throws MXException,
                                       java.rmi.RemoteException
        Description copied from class: NodeDetail
        Determines whether this node can take a negative action. This is a design time method.
        Specified by:
        canTakeNegative in class NodeDetail
        Returns:
        Returns true if this node can a negative action.
        Throws:
        MXException
        java.rmi.RemoteException
      • addedAction

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

        public void delete(long modifier)
                    throws java.rmi.RemoteException,
                           MXException
        delete the detail record when needed.
        Specified by:
        delete in class NodeDetail
        Throws:
        java.rmi.RemoteException
        MXException
      • undelete

        public void undelete()
                      throws java.rmi.RemoteException,
                             MXException
        Undo the deletion of the detail record.
        Specified by:
        undelete in class NodeDetail
        Throws:
        java.rmi.RemoteException
        MXException
      • add

        public void add()
                 throws java.rmi.RemoteException,
                        MXException
        Add the companion record and set any defaults.
        Specified by:
        add in class NodeDetail
        Throws:
        java.rmi.RemoteException
        MXException