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

Class SchedulerDashboardView

  • All Implemented Interfaces:
    CssFilterable, HasOptions, ResetListener, SKDTemplateResolver, java.util.EventListener, javax.servlet.http.HttpSessionBindingListener, DataBeanListener


    public class SchedulerDashboardView
    extends WorkViewBean
    This class intend to create a TreeGrid to show and export the Scheduler Projects Project name Description Start date End date - think this is there already Duration Scheduled Labor hours total Actual labor hours total Remaining labor hours Remaining duration % completed - There is some logic to show the right percent complete. Remaining % to completion - Calculation of remaining percent complete. % Complete Type - Method used to calculate the percent complete (i.e. PHYSICAL, ACTUAL, TASK).
    • Field Detail

      • itemStatusColors

        public static java.util.Map itemStatusColors
      • colors

        public static java.util.Map colors
    • Constructor Detail

      • SchedulerDashboardView

        public SchedulerDashboardView()
    • Method Detail

      • loadSchedulerProject

        public com.ibm.json.java.JSONObject loadSchedulerProject(WebClientSession sess,
                                                                 long proejectId,
                                                                 java.lang.String description)
                                                          throws MXException,
                                                                 java.rmi.RemoteException,
                                                                 java.lang.InterruptedException,
                                                                 java.util.concurrent.ExecutionException,
                                                                 java.io.IOException
        Throws:
        MXException
        java.rmi.RemoteException
        java.lang.InterruptedException
        java.util.concurrent.ExecutionException
        java.io.IOException
      • createUIOptions

        protected UIOptions createUIOptions(java.lang.String projectId)
                                     throws java.io.IOException,
                                            MXException
        Description copied from class: WorkViewBean
        Called only once, by getUIOptions to actually create the options. SUbclasses con override this, or getUIOptions.
        Overrides:
        createUIOptions in class WorkViewBean
        Returns:
        Throws:
        java.io.IOException
        MXException
      • setColors

        public void setColors()
        This method will set the colors for all activities on the dialog.
      • getHexString

        public java.lang.String getHexString(java.awt.Color color)
        Return a String color based on a color option
        Parameters:
        color -
        Returns:
      • getBar

        public java.lang.String getBar(java.lang.String percent,
                                       java.lang.String projeid)
        This method is build an div with a progress bar implementing a solution for present a HTML bar the the meter column.
        Parameters:
        percent -
        Returns: