psdi.webclient.beans.dpldasset

Class ComputerSystemDrilldownBean

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


    public class ComputerSystemDrilldownBean
    extends DataBean
    Dialog: DPADRILLDOWN Custom bean to handle drilldown for Computers application
    • Constructor Detail

      • ComputerSystemDrilldownBean

        public ComputerSystemDrilldownBean()
    • Method Detail

      • initialize

        protected void initialize()
                           throws MXException,
                                  java.rmi.RemoteException
        Typically called after the DataBean gets a new MboSetRemote On the MboSetRemote it sets the app, the app defaults, user defaults Since the DataBean isn't bound to a table then initialize() fetches the first mbo (sets the current row to 0).
        Overrides:
        initialize in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • getMboSetRemote

        protected MboSetRemote getMboSetRemote()
                                        throws MXException,
                                               java.rmi.RemoteException
        Obtains and returns a MboSetRemote using the mboname of parent/relationship setup for the bean.
        Overrides:
        getMboSetRemote in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • getMboValueData

        public MboValueData getMboValueData(java.lang.String attribute)
                                     throws MXException,
                                            java.rmi.RemoteException
        Override getMboValueData because uniqueId is a String and the Computer Drilldown needs an Integer
        Overrides:
        getMboValueData in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • 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