psdi.workflow

Class WFRevisionSet

    • Constructor Detail

      • WFRevisionSet

        public WFRevisionSet(MboServerInterface ms)
                      throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • getMboInstance

        protected Mbo getMboInstance(MboSet ms)
                              throws MXException,
                                     java.rmi.RemoteException
        Description copied from class: MboSet
        Factory to create the business objects This must be overridden in derived class
        Specified by:
        getMboInstance in class MboSet
        Throws:
        MXException
        java.rmi.RemoteException
      • getRevision

        public int getRevision(java.lang.String processname)
                        throws java.rmi.RemoteException,
                               MXException
        Returns the latest revision given the process name. This resets the set.
        Parameters:
        processname - The name of the process to get the latest revision for.
        Returns:
        The latest revision for the process name.
        Throws:
        MXApplicationException - Thrown with "workflow", "NoActiveWFRevision" + processname if no active process with the given name.
        java.rmi.RemoteException
        MXException
      • getRevision

        public int getRevision(java.lang.String mainProcess,
                               int revision,
                               java.lang.String processName)
                        throws java.rmi.RemoteException,
                               MXException
        Find the process revision that goes with the process name and revision.
        Parameters:
        mainProcess - The name of the owning process.
        processName - The name of the sub-process to find the revision for.
        revision - The revision of the owning process to find the subprocess revision for.
        Returns:
        The revision number of the sub-process that's part of the owning process.
        Throws:
        java.rmi.RemoteException
        MXException