com.ibm.tivoli.maximo.miniapps.scheduler

Class SchedulerWorkViewBean

    • Constructor Detail

      • SchedulerWorkViewBean

        public SchedulerWorkViewBean()
    • 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 DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • createUIOptions

        protected UIOptions createUIOptions(java.lang.String id)
                                     throws MXException,
                                            java.io.IOException
        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:
        MXException
        java.io.IOException
      • addCPMActions

        protected void addCPMActions(UIOptions opts)
      • addReforecastAll

        protected void addReforecastAll(UIOptions opts)
      • addComplianceToolbarOptions

        protected void addComplianceToolbarOptions(UIOptions opts)
      • async_set_compliance

        public boolean async_set_compliance(java.lang.String id,
                                            boolean state)
      • async_reforecast_pm

        public boolean async_reforecast_pm(java.lang.String currentProjectId)
      • _cpmcreatelinks

        public com.ibm.json.java.JSONObject _cpmcreatelinks(WebClientSession sess,
                                                            java.lang.String ids,
                                                            java.lang.String values)
                                                     throws java.lang.Exception
        Given the list of Selected Activities, create A Finish to Start link, and then run CPM Selected on the items
        Parameters:
        sess -
        ids -
        values -
        Returns:
        Throws:
        java.lang.Exception
      • _cpmall

        public com.ibm.json.java.JSONObject _cpmall(WebClientSession sess)
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • _cpmselected

        public com.ibm.json.java.JSONObject _cpmselected(WebClientSession sess,
                                                         java.lang.String ids,
                                                         java.lang.String values)
                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • _cpmfilter

        public com.ibm.json.java.JSONObject _cpmfilter(WebClientSession sess,
                                                       boolean filteredByCriticalPath)
                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • REFORECAST

        public com.ibm.json.java.JSONObject REFORECAST(WebClientSession sess,
                                                       java.lang.String actionid,
                                                       java.lang.String params)
                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • REFORECAST

        protected java.lang.Object REFORECAST(java.lang.String id,
                                              java.lang.String currentProjectId,
                                              java.lang.String objectname,
                                              java.lang.String[] selectedRecords,
                                              java.util.HashMap enabledPMMap)
      • validatePMsegment

        public void validatePMsegment(WebClientSession sess,
                                      com.ibm.json.java.JSONObject change,
                                      ReplyBuilder reply,
                                      MXGanttModel model,
                                      MXActivity currentActivity)
                               throws java.rmi.RemoteException,
                                      java.lang.Exception,
                                      java.lang.InterruptedException,
                                      java.util.concurrent.ExecutionException
        Throws:
        java.rmi.RemoteException
        java.lang.Exception
        java.lang.InterruptedException
        java.util.concurrent.ExecutionException
      • isRepairFacilityEnabled

        public boolean isRepairFacilityEnabled()
      • setupBean

        public void setupBean(WebClientSession wcs)
        Description copied from class: DataBean
        This method must be call after the bean is instantiated. It tells the bean what it's clientSession is , the control that created the bean and the event that caused the creation of the bean. Also gets the values the orderyby, whereclause, apprestrictions, rowsperpage, and parentdatasrc properties from the control (the one that instantiated the bean) if any are set. Plus it gets the list of bound controls from the presentations control handler.
        Overrides:
        setupBean in class BaseTreeGridMiniAppBean
      • _refreshSelected

        public com.ibm.json.java.JSONObject _refreshSelected(WebClientSession sess,
                                                             java.lang.String ids)
                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • _discardRefreshSelected

        public com.ibm.json.java.JSONObject _discardRefreshSelected(WebClientSession sess,
                                                                    java.lang.String ids)
                                                             throws java.lang.Exception
        Throws:
        java.lang.Exception