psdi.webclient.beans.bim.viewer

Class SystemsUpdateBean

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


    public class SystemsUpdateBean
    extends SystemsBaseBean
    • Constructor Detail

      • SystemsUpdateBean

        public SystemsUpdateBean()
    • Method Detail

      • 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 SystemsBaseBean
        Throws:
        MXException
        java.rmi.RemoteException
      • replacesystem

        public int replacesystem()
                          throws java.rmi.RemoteException,
                                 MXException
        Handles the replace button Deletes all node form the system and repopulates it with the model location as the root and items selected in the model as children
        Returns:
        Throws:
        java.rmi.RemoteException
        MXException
      • appendsystem

        public int appendsystem()
                         throws java.rmi.RemoteException,
                                MXException
        Handles the append button. Adds all non duplicate items in the selection as children of the model location
        Returns:
        Throws:
        java.rmi.RemoteException
        MXException
      • deletesystem

        public int deletesystem()
                         throws java.rmi.RemoteException,
                                MXException
        Throws:
        java.rmi.RemoteException
        MXException