psdi.webclient.system.beans

Class SaveQueryBean

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


    public class SaveQueryBean
    extends DataBean
    • Constructor Detail

      • SaveQueryBean

        public SaveQueryBean()
    • 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
        See Also:
        DataBean.getMboSetRemote()
      • initialize

        public void initialize()
                        throws MXException,
                               java.rmi.RemoteException
        Description copied from class: DataBean
        Typically called after the DataBean gets a new MboSetRemote On the MboSetRemote it sets the app, the app defaults, user defaults If the remote is an instanceof NonPersistentMboSetRemote then setup is called on it and sets the current row to 0. If the DataBean isn't bound to a table then initialize fetches the first mbo (sets the current row to 0). If this method is overridden under most case you will want to call super.initalize at the end of the the new initialize method.
        Overrides:
        initialize in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • save

        public void save()
                  throws MXException
        Description copied from class: DataBean
        Saves the changes made to the MboSet Throws MXException or RemoteException on failure The MboSet data or cached data will be undisturbed.
        Overrides:
        save in class DataBean
        Throws:
        MXException
        See Also:
        DataBean.save()