com.ibm.tivoli.maximo.miniapps.scheduler.crews

Class CrewAssignViewBean

    • Field Detail

      • QBE_SEPARATOR_TOKEN

        protected static final java.lang.String QBE_SEPARATOR_TOKEN
        Separator character used for the QBE * * "\u00a7"
        See Also:
        Constant Field Values
    • Constructor Detail

      • CrewAssignViewBean

        public CrewAssignViewBean()
    • Method Detail

      • createUIOptions

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

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

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

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

        public void loadSchedulerProject(WebClientSession sess)
                                  throws java.lang.Exception
        Load the Scheduler project gantt model for the given project.
        Overrides:
        loadSchedulerProject in class WorkViewBean
        Parameters:
        sess -
        Throws:
        java.lang.Exception
      • 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.
        Overrides:
        getLayoutUI in class WorkViewBean
        Parameters:
        sess -
        appName -
        project -
        Returns:
        Throws:
        java.lang.Exception
      • applyModelChange

        public void applyModelChange(MXGanttModel model,
                                     com.ibm.json.java.JSONObject obj,
                                     MXActivity currentActivity,
                                     MXResource res,
                                     WebClientSession session)
                              throws java.rmi.RemoteException,
                                     java.lang.Exception
        Throws:
        java.rmi.RemoteException
        java.lang.Exception
      • addModelChange

        public void addModelChange(MXGanttModel model,
                                   com.ibm.json.java.JSONObject obj,
                                   MXActivity currentActivity,
                                   MXResource res,
                                   WebClientSession session)
                            throws java.rmi.RemoteException,
                                   java.lang.Exception
        Throws:
        java.rmi.RemoteException
        java.lang.Exception
      • setSkillMapping

        public boolean setSkillMapping(MXGanttModel model,
                                       ilog.views.gantt.model.general.IlvGeneralActivity currentActivity,
                                       MXResource res,
                                       boolean update)
      • setSegmentInfo

        public void setSegmentInfo(ilog.views.gantt.model.general.IlvGeneralActivity activity,
                                   MXResource res)
      • 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.
        Overrides:
        addActionMenuItems in class BaseResourceView
        Throws:
        java.lang.Exception
        java.lang.InterruptedException
      • newWorkAction

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

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

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

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

        public boolean canReassign(java.lang.String[] selectedresources,
                                   Selection selected)
      • markAssignmentDelete

        public void markAssignmentDelete(java.util.concurrent.Future modelFuture,
                                         com.ibm.json.java.JSONObject obj,
                                         MXActivity act)
                                  throws java.lang.Exception
        Overrides:
        markAssignmentDelete in class WorkViewBean
        Throws:
        java.lang.Exception
      • loadProject

        public java.util.concurrent.Future loadProject(com.ibm.json.java.JSONObject projectOptions)
                                                throws java.rmi.RemoteException,
                                                       MXException
        Description copied from class: BaseTreeGridMiniAppBean
        Returns a Future for the given Gantt Model. The model will be loading, and a call to .get() will block until the model is fully loaded. Multiple threads can call .get() and each will block until the model is loaded. Using a future enables us to not have to worry about the order of Model requests from the Browser, since they all block, until the Model is fully loaded.
        Overrides:
        loadProject in class BaseTreeGridMiniAppBean
        Parameters:
        projectOptions - JSONObject of parameters to pass the model. Can be null.
        Returns:
        Throws:
        java.rmi.RemoteException
        MXException
      • isDailyView

        public boolean isDailyView()