psdi.webclient.system.beans

Class WorkflowBean

  • All Implemented Interfaces:
    java.util.EventListener, javax.servlet.http.HttpSessionBindingListener, DataBeanListener


    public class WorkflowBean
    extends DataBean
    • Constructor Detail

      • WorkflowBean

        public WorkflowBean()
    • Method Detail

      • setupBean

        public void setupBean(WebClientSession wcs)
        Setup for WorkflowBean gets it's MboSetRemote, which may be null. Done now to get correct set with correct bean. Also sets the local reference to the workflow director.
        Overrides:
        setupBean in class DataBean
        Parameters:
        sc - The Session Context.
      • execute

        public int execute()
                    throws MXException,
                           java.rmi.RemoteException
        Description copied from class: DataBean
        This method is meant to be overrided by dialog beans but by default if the bean's remote is a NonPersistentMboSetRemote, then execute is called on the bean's remote and if the DataBean has a parent then execute is called on the bean's parent bean. If the remote is not a NonPersistentMboSetRemote then if the bean has a parentbean and a parent relationship then execute is called on the parent bean, else save is called on the bean's remote If you do not want to save the parent of the bean then override execute and just call save.
        Overrides:
        execute in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • cancelDialog

        public int cancelDialog()
                         throws MXException,
                                java.rmi.RemoteException
        Tell the workflow director the user cancel. Any unsaved changes made by the workflow process will be lost.
        Overrides:
        cancelDialog in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • directorinput

        public int directorinput()
                          throws MXException,
                                 java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException