psdi.webclient.beans.common

Class LaunchEntryDataBean

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


    public class LaunchEntryDataBean
    extends DataBean
    • Field Detail

      • launchEntryName

        protected java.lang.String launchEntryName
    • Constructor Detail

      • LaunchEntryDataBean

        public LaunchEntryDataBean()
    • Method Detail

      • 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
      • initialize

        public void initialize()
                        throws MXException,
                               java.rmi.RemoteException
        In initialize, if the bean's MboSetRemote has more than one mbo, just call super.initialize and let everything proceed as normal, otherwise if there is only one mbo, then get the URL from the mbo (it'll be an attribute) and open it.
        Overrides:
        initialize in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • launchselectedentry

        public int launchselectedentry()
                                throws MXException,
                                       java.rmi.RemoteException
        Called when the user selects a launchentry from the dialog's table. From the current event, get the row the user selected, and get the Mbo of that row.
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • launchentry

        protected int launchentry(MboRemote launchEntry,
                                  boolean removeImmediately)
                           throws MXException,
                                  java.rmi.RemoteException
        From the mbo, get the URL, and open the URL.
        Throws:
        MXException
        java.rmi.RemoteException