psdi.webclient.beans.dm

Class DlgSelectCmpSrcBean

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


    public class DlgSelectCmpSrcBean
    extends DataBean
    • Constructor Detail

      • DlgSelectCmpSrcBean

        public DlgSelectCmpSrcBean()
    • Method Detail

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

        public MboSetRemote getMboSet()
                               throws MXException,
                                      java.rmi.RemoteException
        Description copied from class: DataBean
        Returns the reference to the remote MboSet. Checks to see if the DataBean has a mboSetRemote is it doesn't and the resetRemote flag is true it will try and obtain a MboSetRemote for the bean via the getMboSetRemote method. IMPORTANT: This method should not be overidden. Override getMboSetRemote if the bean needs to get a MboSetRemote in a "non-standard" way. But if it is absolutely necessary make sure to call the initalize() method after obtaining the MboSetRemote and to set the flag resetRemote = false.
        Overrides:
        getMboSet in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException