psdi.webclient.beans.dm

Class DlgCompareBean

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


    public class DlgCompareBean
    extends DataBean
    This is a bean class for the Compare Database Jobs.
    • Constructor Detail

      • DlgCompareBean

        public DlgCompareBean()
    • Method Detail

      • startcomparison

        public int startcomparison()
                            throws MXException,
                                   java.rmi.RemoteException
        Handle the Start Comparison button click. This button can be found in the Migration Manager app, the Comparison tab and on the Comparison Jobs Table.
        Returns:
        EVENT_HANDLED;
        Throws:
        MXException
        java.rmi.RemoteException
      • startjob

        public int startjob()
                     throws MXException,
                            java.rmi.RemoteException
        Handle the Start Job button click. This button can be found in the Migration Manager app, the Comparison tab and on the Start Comparison Job Dialog box.
        Returns:
        EVENT_HANDLED;
        Throws:
        MXException
        java.rmi.RemoteException
      • toggledeleterow

        public int toggledeleterow()
                            throws MXException
        Warn user about deleting the job and all it's result. This happens if a user clicks on the thrash can icon, if the user answers yes, an Async job is created to delete all records. This table can be found in the Migration Manager app, the Comparison tab and is called the Comparison Job Table.
        Overrides:
        toggledeleterow in class DataBean
        Returns:
        EVENT_HANDLED;
        Throws:
        MXException
        java.rmi.RemoteException
      • refreshcomparisontable

        public int refreshcomparisontable()
                                   throws MXException,
                                          java.rmi.RemoteException
        Handle the Refresh Job Status button click. This button can be found in the Migration Manager app, the Comparison tab and on the Comparison Jobs Table.
        Returns:
        EVENT_HANDLED;
        Throws:
        MXException
        java.rmi.RemoteException
      • addtocollection

        public int addtocollection()
                            throws MXException,
                                   java.rmi.RemoteException
        Handle the Add Comparison Results to Migration Collection button click. This button can be found in the Migration Manager app, the Comparison tab and on the Comparison Results Table.
        Returns:
        EVENT_HANDLED;
        Throws:
        MXException
        java.rmi.RemoteException
      • addresulttocollection

        public int addresulttocollection()
                                  throws MXException,
                                         java.rmi.RemoteException
        Handle the OK button click. This button can be found in the Migration Manager app, the Comparison tab and on the Add Comparison Results to Migration CollectionDialog Box.
        Returns:
        EVENT_HANDLED;
        Throws:
        MXException
        java.rmi.RemoteException
      • getList

        public MboSetRemote getList(int nRow,
                                    java.lang.String attribute)
                             throws MXException,
                                    java.rmi.RemoteException
        Make sure we only show Migration objects that belongs to Migration manager. Throws MXException or RemoteException if the data could not be obtained.
        Overrides:
        getList in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException