psdi.webclient.beans.bim.viewer

Class ModelAppBean

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


    public class ModelAppBean
    extends AppBean
    • Constructor Detail

      • ModelAppBean

        public ModelAppBean()
    • Method Detail

      • initialize

        protected void initialize()
                           throws MXException,
                                  java.rmi.RemoteException
        Description copied from class: AppBean
        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
        Overrides:
        initialize in class AppBean
        Throws:
        MXException
        java.rmi.RemoteException
      • loadModelFile

        public int loadModelFile()
                          throws MXException,
                                 java.rmi.RemoteException
        Handle the upload button on the dialog
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • eventTabChanged

        public int eventTabChanged()
      • dataChangedEvent

        public void dataChangedEvent(DataBean speaker)
        Description copied from class: DataBean
        event called by the "parent" DataBean which tells this DataBean that it's mbo data (the parent's) has changed or been refreshed. The fireDataChangedEvent is called thus setting the invalidData for all the "children" DataBeans
        Specified by:
        dataChangedEvent in interface DataBeanListener
        Overrides:
        dataChangedEvent in class DataBean
      • structureChangedEvent

        public void structureChangedEvent(DataBean speaker)
        Description copied from class: AppBean
        Event called by the "resultsBean" DataBean which tells this DataBean that it references a new mbo or MboSetRemote. The fireStructureChangedEvent is called thus setting the resetRemote flag for all the "children" MXWebClientDataBeans
        Specified by:
        structureChangedEvent in interface DataBeanListener
        Overrides:
        structureChangedEvent in class AppBean
      • insert

        public void insert()
                    throws MXException,
                           java.rmi.RemoteException
        Description copied from class: DataBean
        Inserts a row at the begining of the MboSet. Fires a row change event to all listeners upon success.
        Overrides:
        insert in class AppBean
        Throws:
        MXException
        java.rmi.RemoteException