psdi.webclient.beans.dm.collection

Class DmAppLinkBean

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


    public class DmAppLinkBean
    extends DataBean
    This Bean class is used by the "Add Migration Collections to Applications" dialog of Migration Collection application. The two main thing this class does is 1) allows user to link to another application. 2) Store the required data when the user selects a record in another application.
    • Constructor Detail

      • DmAppLinkBean

        public DmAppLinkBean()
    • Method Detail

      • initialize

        protected void initialize()
                           throws MXException,
                                  java.rmi.RemoteException
        Filter the MboSet to have only the applications for which toolbar icon can be added.
        Overrides:
        initialize in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • launchAppLink

        public int launchAppLink()
                          throws MXException,
                                 java.rmi.RemoteException
        Launch the linked application.
        Throws:
        MXException
        java.rmi.RemoteException
      • returnLookupValue

        public int returnLookupValue(MboRemote lookupMbo)
                              throws MXException
        Save returned data from the linked application.
        Overrides:
        returnLookupValue in class DataBean
        Parameters:
        lookupMbo - Mbo returned from the linked application.
        Throws:
        MXException
        java.rmi.RemoteException
      • getMboSetRemote

        protected MboSetRemote getMboSetRemote()
                                        throws MXException,
                                               java.rmi.RemoteException
        Description copied from class: DataBean
        Obtains and returns a MboSetRemote using the mboname of parent/relationship setup for the bean. Override this method if the DataBean needs to get a MboSetRemote in a non-standard way. (Not via a the MXSession, or a relationship from another DataBean).
        Overrides:
        getMboSetRemote in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException