psdi.workflow

Class WFTransactionSet

    • Constructor Detail

      • WFTransactionSet

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

      • writeTransaction

        public void writeTransaction(MboRemote writer,
                                     java.lang.String transType,
                                     java.lang.String memo)
                              throws java.rmi.RemoteException,
                                     MXException
        Writes a workflow transaction. Exactly which fields are filled depends on who is writing.
        Parameters:
        writer - The Workflow Mbo doing the writing.
        transType - The type of transaction.
        memo - Memo for the transaction.
        Throws:
        java.rmi.RemoteException
        MXException
      • writeTransaction

        public void writeTransaction(java.lang.String transType,
                                     java.lang.String memo)
                              throws MXException,
                                     java.rmi.RemoteException
        Essentially this is a glorified add statement that creates the transaction based upon the owning Mbo and sets the transaction type and memo from the parameters. This version assumes the owner of this MboSet is the writer.
        Specified by:
        writeTransaction in interface WFTransactionSetRemote
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.workflow.WFTransactionSet#writeTransaction(transType,String)
      • getTransactions

        public void getTransactions()
                             throws MXException,
                                    java.rmi.RemoteException
        Set this MboSet to the workflow transactions for the owning Mbo. Does nothing if this set isn't owned.
        Specified by:
        getTransactions in interface WFTransactionSetRemote
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.workflow.WFTransactionSet#writeTransaction(transType,String)