com.ibm.tivoli.maximo.map.mapman.beans

Class ConfigureMapToolsDialogBean

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


    public class ConfigureMapToolsDialogBean
    extends DataBean
    • Constructor Detail

      • ConfigureMapToolsDialogBean

        public ConfigureMapToolsDialogBean()
    • Method Detail

      • initialize

        protected 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
      • 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
      • updateAppToolItemsMap

        public void updateAppToolItemsMap(java.lang.String appName,
                                          java.lang.String toolsList)
        Updates the map of modified tools for one application
        Parameters:
        appName -
        toolsList -
      • selectAllToolsForAllApps

        public int selectAllToolsForAllApps()
                                     throws MXException,
                                            java.rmi.RemoteException
        Configure all tools for all apps that have a map
        Throws:
        MXException
        java.rmi.RemoteException
      • selectAllToolsForCurrentApp

        public int selectAllToolsForCurrentApp()
                                        throws java.rmi.RemoteException,
                                               MXException
        Select all tools for current app
        Throws:
        MXException
        java.rmi.RemoteException
      • selectAllToolsForApp

        public void selectAllToolsForApp(MboRemote appMbo)
                                  throws java.rmi.RemoteException,
                                         MXException
        Select all tools for the application
        Parameters:
        appMbo - The mbo for the application
        Throws:
        MXException
        java.rmi.RemoteException
      • getModifiedToolsForApp

        public java.lang.String getModifiedToolsForApp(java.lang.String appName)
        Parameters:
        appName -
        Returns:
        The list of modified tools configuration for one app
      • getAvailabletWidgetMap

        public java.util.Map getAvailabletWidgetMap()
        Returns:
        the map with the available tools