com.ibm.tivoli.maximo.miniapps.scheduler.resourceviews

Class BaseResourceView

    • Constructor Detail

      • BaseResourceView

        public BaseResourceView()
    • Method Detail

      • async_get_table_context_menu

        public TMenu async_get_table_context_menu(WebClientSession sess,
                                                  java.lang.String projectId,
                                                  java.lang.String id,
                                                  java.lang.String column,
                                                  java.lang.String value,
                                                  com.ibm.json.java.JSONObject selection)
                                           throws java.lang.Exception
        Called for an ITEM to fetch the Menu for a given item. The menu items should contain a Menu Name (display) and an action value. The Action Value will later be passed to the on_handle_conent_menu_item callback.
        Parameters:
        id - Activity ID
        col - Table Column
        Returns:
        Throws:
        java.lang.Exception
      • getContextMenuFor

        protected TMenu getContextMenuFor(TMenu menu,
                                          UserInfo userInfo,
                                          java.lang.String projectId,
                                          java.lang.String propName,
                                          java.lang.String propValue,
                                          java.lang.String[] ids,
                                          Selection selected)
                                   throws java.lang.Exception
        Given the paramters, return a TMenu (TreeGrid Menu) context menu.
        Parameters:
        menu -
        userInfo -
        projectId -
        propName -
        propValue -
        ids -
        Returns:
        Throws:
        java.lang.Exception
      • addActionMenuItems

        protected void addActionMenuItems(TMenu popupmenu,
                                          java.lang.String[] selectedresources,
                                          java.util.concurrent.Future modelFuture,
                                          java.lang.String projectId,
                                          java.lang.String colName,
                                          java.lang.String colValue,
                                          Selection selected,
                                          java.lang.String frame)
                                   throws java.lang.Exception
        Adds SKDAction items to the TMenu.
        Throws:
        java.lang.Exception
        java.lang.InterruptedException
      • getTooltipForDate

        public DynamicTooltip getTooltipForDate(WebClientSession sess,
                                                java.lang.String projectid,
                                                java.lang.String col,
                                                java.lang.String id,
                                                long date)
                                         throws MXException,
                                                java.rmi.RemoteException,
                                                java.lang.InterruptedException,
                                                java.util.concurrent.ExecutionException
        Overrides:
        getTooltipForDate in class BaseTreeGridMiniAppBean
        Throws:
        MXException
        java.rmi.RemoteException
        java.lang.InterruptedException
        java.util.concurrent.ExecutionException