com.ibm.tivoli.maximo.miniapps.scheduler.max

Class ResourceMaxHoursView

    • Constructor Detail

      • ResourceMaxHoursView

        public ResourceMaxHoursView()
    • Method Detail

      • setGanttPrintHeader

        protected void setGanttPrintHeader(UIOptions opts)
                                    throws MXException,
                                           java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • addFilterWorkorderForResource

        protected void addFilterWorkorderForResource(UIOptions opts)
      • addRefreshResource

        protected void addRefreshResource(UIOptions opts)
      • addPrintPDFAction

        protected void addPrintPDFAction(UIOptions opts)
      • addShowHideNumbersForResource

        protected void addShowHideNumbersForResource(UIOptions opts)
      • getLayoutUI

        public com.ibm.json.java.JSONObject getLayoutUI(WebClientSession sess,
                                                        java.lang.String appName,
                                                        java.lang.String projectId)
                                                 throws java.lang.Exception
        Loads the Gantt UI (ie, the TreeGrid ui) for the given project.
        Parameters:
        sess -
        appName -
        projectId -
        Returns:
        Throws:
        java.lang.Exception
      • getProjectData

        public com.ibm.json.java.JSONObject getProjectData(long start,
                                                           long end)
                                                    throws java.lang.Exception
        Load the resource hours data
        Parameters:
        sess -
        Returns:
        Throws:
        java.lang.Exception
      • changeResourceDisplayMode

        public com.ibm.json.java.JSONObject changeResourceDisplayMode(WebClientSession sess,
                                                                      java.lang.String display)
                                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getProjectDataForDates

        public com.ibm.json.java.JSONObject getProjectDataForDates(java.util.Date start,
                                                                   java.util.Date end)
      • 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 BaseLargeGanttView
        Throws:
        MXException
        java.rmi.RemoteException
        java.lang.InterruptedException
        java.util.concurrent.ExecutionException
      • 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