public class ResourceScheduleView extends BaseResourceView
AbstractTreeGridMiniAppBean.BucketInfo, AbstractTreeGridMiniAppBean.ShiftInfo
SCHEDULER_MSG_GROUP, SKD_BUILD_ID, TESTIDS_ENABLED_PROPERTY
ALL_BOOKMARKS, ALL_RECORDS, ATTR_COLUMN, ATTR_DEFAULT, ATTR_QBE, ATTR_READONLY, ATTR_REFRESH_TABLE, ATTR_REQUIRED, ATTR_RESET, MAX_TABLEROWS, TABLE_ALL_SELECTED, TABLE_AT_FIRST_PAGE, TABLE_AT_FIRST_ROW, TABLE_AT_LAST_PAGE, TABLE_AT_LAST_ROW, TABLE_DETAILS_EXPANDED, TABLE_EXPANDED, TABLE_FILTER_EXPANDED, TABLE_FILTERED, TABLE_REFRESH_ALL_ROWS, TABLE_REFRESH_FILTER, TABLE_REFRESH_ROW, TABLE_REFRESH_TITLE, TABLE_ROW_CHANGED, TABLE_START_EMPTY, TABLE_SUBSELECT_ON, TABLE_USE_SUBSELECT
EVENT_CONTINUE, EVENT_HANDLED, EVENT_STOP_ALL
Constructor and Description |
---|
ResourceScheduleView() |
Modifier and Type | Method and Description |
---|---|
void |
addFilterToggle(UIOptions opts) |
void |
addModelChange(MXGanttModel model,
com.ibm.json.java.JSONObject obj,
MXActivity currentActivity,
MXResource res,
MXReservation reservation,
WebClientSession session) |
void |
addModelChange(MXGanttModel model,
MXActivity currentActivity,
MXResource res,
MXReservation reservation,
WebClientSession session) |
void |
addServerAction(TMenu menu,
java.lang.String projectId,
MXActivity activity,
MXResource resource,
java.lang.String actionTitle,
java.lang.String actionName) |
void |
addViewNotesAction(TMenu menu,
java.lang.String projectId,
MXActivity activity) |
void |
applyModelChange(MXGanttModel model,
com.ibm.json.java.JSONObject obj,
MXActivity currentActivity,
MXResource res,
MXReservation reservation,
WebClientSession session) |
void |
assignAssignment(MXGanttModel model,
ReplyBuilder reply,
WebClientSession sess,
MXActivity act,
MXResource res) |
com.ibm.json.java.JSONObject |
assignto(WebClientSession sess,
java.lang.String actionid,
java.lang.String params) |
com.ibm.json.java.JSONObject |
assigntoselectedlocations(WebClientSession sess,
java.lang.String actionid,
java.lang.String params) |
ReplyBuilder |
async_upload_changes(WebClientSession sess)
This is called by the TreeGrid component, in the browser, when it has
changes that it needs to sync with the server.
|
ReplyBuilder |
autoRefreshModel(java.lang.String projectId) |
boolean |
canAssignToLaborCrew(java.lang.String[] selectedresources,
Selection selected) |
boolean |
canAssignToLaborCrewAvail(java.lang.String[] selectedresources,
Selection selected) |
boolean |
canAssignToLoc(MXActivity activity,
java.lang.String[] selectedresources,
java.lang.String actresid,
MXGanttModel model) |
boolean |
canDeleteWork(MXActivity activity) |
boolean |
canUnAssign(MXActivity activity,
java.lang.String[] selectedactivitis,
java.lang.String actresid,
MXGanttModel model) |
MXActivity |
createNewAssignment(MXGanttModel model,
WebClientSession session,
MXActivity act,
MXResource res,
long start,
long end) |
com.ibm.json.java.JSONObject |
dummyAction(WebClientSession sess,
java.lang.String actionid,
java.lang.String params)
NOT USED.
|
com.ibm.json.java.JSONObject |
getLayoutUI(WebClientSession sess,
java.lang.String appName,
java.lang.String projectId)
Loads the Gantt UI (ie, the TreeGrid ui) for the given project.
|
java.util.List<java.util.List> |
getMultiSkillResourceSet(WebClientSession sess,
java.lang.String projectId,
java.lang.String activityid)
For a given activity ID, find and return the resource list for matching craft and skill
|
java.util.Map<java.lang.String,?> |
getOptions()
any options defined here, are passed to the contructor of the Dojo
MiniApp control (child controls, such as GanttWidget,
ResourceViewWidget,etc)
|
ReplyBuilder |
getRelatedAssignments(WebClientSession sess,
java.lang.String projectId,
java.lang.String activityid) |
java.util.Map<java.lang.String,java.lang.Object> |
getScheduleWindow(WebClientSession sess,
java.lang.String projectId,
java.lang.String activityid)
For a given activity ID, find and return the schedule window
|
long[] |
getShiftBreakPoints(MXGanttModel model,
MXResource resource,
long start,
long end) |
DynamicTooltip |
getTooltip(WebClientSession sess,
java.lang.String projectid,
java.lang.String col,
java.lang.String id)
Returns a Tooltip HTML for a given activity id
|
boolean |
isCapabilityMat(WebClientSession sess,
MXGanttModel model,
ilog.views.gantt.model.general.IlvGeneralActivity currentActivity,
MXResource res) |
boolean |
isLocked(MXActivity activity) |
java.lang.String |
isQulificationMat(WebClientSession sess,
MXGanttModel model,
ilog.views.gantt.model.general.IlvGeneralActivity currentActivity,
MXResource res) |
void |
loadSchedulerProject(WebClientSession sess)
Load the Scheduler project gantt model for the given project.
|
void |
mergeAssignments(MXGanttModel model,
WebClientSession session,
MXActivity activity,
MXResource res,
ReplyBuilder reply,
long start,
long end) |
com.ibm.json.java.JSONObject |
mergeWorkAction(WebClientSession sess,
java.lang.String actionid,
java.lang.String params) |
com.ibm.json.java.JSONObject |
newWorkAction(WebClientSession sess,
java.lang.String actionid,
java.lang.String params) |
void |
onReset()
OnReset is called whenever we need to clear the state of our beean.
|
ReplyBuilder |
setFilterState(boolean val) |
boolean |
setSkillMapping(MXGanttModel model,
ilog.views.gantt.model.general.IlvGeneralActivity currentActivity,
MXResource res,
MXReservation unused_reservation,
boolean update) |
com.ibm.json.java.JSONObject |
split3Action(WebClientSession sess,
java.lang.String actionid,
java.lang.String params) |
void |
split3Assignment(MXGanttModel model,
WebClientSession session,
MXActivity activity,
MXResource res,
ReplyBuilder reply,
long start,
long end) |
com.ibm.json.java.JSONObject |
splitAction(WebClientSession sess,
java.lang.String actionid,
java.lang.String params) |
void |
splitAssignment(MXGanttModel model,
WebClientSession session,
MXActivity activity,
MXResource res,
ReplyBuilder reply,
long start,
long end) |
com.ibm.json.java.JSONObject |
splitShiftAction(WebClientSession sess,
java.lang.String actionid,
java.lang.String params) |
void |
splitShiftAssignment(MXGanttModel model,
WebClientSession session,
MXActivity activity,
MXResource res,
ReplyBuilder reply,
long start,
long end) |
com.ibm.json.java.JSONObject |
unassign(WebClientSession sess,
java.lang.String actionid,
java.lang.String params) |
void |
validateAssignment(WebClientSession sess,
ReplyBuilder reply,
MXGanttModel model,
MXResource res,
MXActivity act)
Provides Assignment Validation during updates
|
boolean |
validateScheduleWindow(WebClientSession sess,
MXGanttModel model,
ilog.views.gantt.model.general.IlvGeneralActivity currentActivity,
MXResource res) |
async_get_table_context_menu, getTooltipForDate
_DELETECONSTRAINTS, markAssignmentDelete, processChange
addActionMenuItems, addFixUI, addGotoToolbarOptions, addLockDurationIcon, addModelChange, addModelChange, addZoomToToolbarOptions, async_get_table_context_menu, canNotAssignTo, clearSavedState, getActivitites, getActualStartEnd, getCalculatedProjectMinMax, getGanttConfigInfo, getSKDPMUtility, getTooltipForCPM, getTooltipForPoint, getUIOptions, initializeProjectData, loadProject, loadSKDUIInfo, on_handle_applink_menu_item, setSerializationHelper, setupBean, updateDuration, updateStartEndTimes
addLinkToWorkViewFilter, addQuickSearch, addToggleDependencies, appendCss, async_export_echo, async_load_text, async_push_client_message, async_upload_state, beanSupplier, callBeanMethod, callMethod, CfgId, filterCss, getApplicationResource, getAppName, getBaseImageUrl, getClientSession, getCurrentProjectId, getLastKnownState, getModAvailForDate, getPresentationOptions, getSchedulerProperties, getSerializationHelper, getShiftBreakInfoForDate, getShiftWorkPeriodInfoForDate, getShiftWorkPeriodInfoForDate, getShiftWorkPeriodInfoForDate, getSKDAppServiceBean, getSKDAppServiceBean, getTimeZone, getTooltipForDateInSchedule, getUserInfo, isAiviationLicensePresent, isAiviationMROLicensePresent, isGUIMirrored, isLicensePresent, isLicensePresent, isShowingWeather, label, label, loadMiniAppResource, loadTemplate, loadTooltip, on_handle_applink_menu_item, resolveTemplate, sendEventToTreeGrid, setGridTitleInUIOptions, sortSKDAction, uiOptionsSupplier, updateBooleanProperty, updateDateTimeProperty, updateIntProperty, updateStringProperty
_useAllBookmarksQuery, _useAllRecsQuery, _usequery, addAttribute, addConditionalProperties, addDialogReference, addListener, addQbeAttribute, addrow, addSigOption, applyValuesToSharedAttributes, applyValuesToSharedAttributes, asyncLocked, bindComponent, boundToTable, buildPortalMsg, callBeanMethod, callBeanMethod, callBeanMethod, callBeanMethod, callMethod, callMethod, callMethod, callMethod, callRemoteMethod, callRemoteMethod, cancelDialog, canCloseBean, canFetchData, changeRequiredField, checkAndDistributeRequiredError, checkESigAuthenticated, checkForAppError, checkMethodAccess, clearBean, clearfilter, clearSavedFilterSettings, clearSavedQbeSettings, close, copytonewrow, count, dataChangedEvent, delete, delete, deleteAndRemove, deleteAndRemove, displaycount, duplicateMbo, execute, fetchRecordData, fetchTableData, fetchTableData, filterrows, findAndCallMethod, fireChildChangedEvent, fireDataChangedEvent, fireDataChangedEvent, fireStructureChangedEvent, fireStructureChangedEvent, getAppWhere, getAttributes, getBoolean, getBoolean, getCacheRowIndex, getColumnDate, getColumnString, getCompleteWhere, getConditionalProperties, getCurrentQueryDescription, getCurrentQueryName, getCurrentRow, getDataAsArray, getDataAsArray, getDataList, getDataList, getDataList, getDataList, getDataListFromMboSetRemote, getDate, getDefaultOrderBy, getDefaultValue, getDescAttributeId, getEndRow, getEventRowIndex, getKeyAttribute, getKeyAttributes, getLastEventHandled, getLastFetchIndex, getList, getList, getList, getLockedByDisplayName, getMbo, getMbo, getMboForUniqueId, getMboName, getMboOrZombie, getMboRowIndex, getMboSet, getMboSetData, getMboSetFromSmartFind, getMboSetFromSmartFind, getMboSetFromSmartFind, getMboValueData, getMboValueData, getMboValueInfo, getMXSession, getNullRequiedFields, getOrderBy, getPageEndRow, getPageRowCount, getPageStartIndex, getParent, getParentRelationship, getQbe, getQbe, getQbeAttributes, getQueryDescBeforeReviseAction, getQueryNameBeforeReviseAction, getRemoteForDownload, getRemoteForLookup, getReturnAttribute, getReturnComponent, getReturnComponentId, getReturnControlId, getRowIndexFromEvent, getSavedFilterSettings, getSelectedDataAsArray, getSelectedDataAsArray, getSelection, getShowDetails, getSmartFillValue, getSortOrder, getString, getString, getTableAttributes, getTableOffset, getTableStateFlags, getTitle, getUIERMEntity, getUniqueIdFromSmartFill, getUniqueIdFromSmartFill, getUniqueIdName, getUniqueIdValue, getUserAndQbeWhere, getUserWhere, getWarnings, getZombie, getZombieMboValueData, handleRemoteException, handleRequiredFieldException, hasLongDescriptionText, hasLongDescriptionText, hasMboSetRemote, hasPageRows, hasRow, hasSameMboSet, hasSigOptionAccess, hasSigOptionAccess, hierarchicalmove, highlightrow, highlightrow, insert, insert, insertAtEnd, instantdelete, isAppTableRetain, isAttribute, isAttributeHidden, isAttributeHidden, isColumnSorted, isEmpty, isListTableModified, isListTableRetain, isLookupMultiSelect, isMboHidden, isMboHidden, isModifiedRow, isModifiedRow, isNewRow, isNewRow, isNewRowUnedited, isRowDeleted, isRowLocked, isSelected, isSubSelect, isTableAttribute, isTablePostionMarked, isTableRowSelected, isTableStateFlagSet, listenerChangedEvent, madeRequiredConditionally, markTablePosition, moveToMboFromDataBean, needToAuthenticate, next, nextrow, positionState, previous, prevrow, propagateRequired, queryAllBookmarks, queryAllRecs, refreshFieldErrors, refreshTable, registerDynamicControlsWithERM, reloadTable, removeDialogReference, removeListener, removeRowOnCancel, rePosition, reset, resetJSPFlags, resetQbe, resetWithSelection, restoreSavedQbeSettings, retainPosition, returnLookupValue, returnLookupValue, returnLookupValue, returnLookupValue, save, save, saveCurrentQbeSettings, scrollnext, scrollprev, select, select, selectAll, selectrecord, selectRows, sendRefreshTable, setApp, setAppDefault, setAppDefaults, setApplicationError, setAppWhere, setAsyncLock, setAttributes, setCurrentQueryDescription, setCurrentRow, setDate, setDate, setDate, setDefaultOrderBy, setDefaultQbe, setDefaultValue, setDefaultValue, setDescAttributeId, setDynamicAppDefaults, setDynamicDefault, setDynamicQbeDefaults, setEmptyOnClear, setEsigValidated, setEventRowIndex, setfiltervalue, setLastEventHandled, setListTableModified, setListTableRetain, setMboName, setNewRowUnedited, setOrderBy, setPageRowCount, setParent, setQbe, setQbe, setQbe, setQbe, setQbe, setQbeAttributes, setQbeCaseSensitive, setQbeDefaults, setQbeExactMatch, setQueryBySiteQbe, setQueryDescBeforeReviseAction, setQueryNameBeforeReviseAction, setRemoveOnCancel, setReturnAttribute, setReturnComponent, setReturnComponentId, setReturnControlId, setShowDetails, setSmartFillValue, setTableFlag, setupBean, setUserDefaults, setUserWhere, setvalue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueFromComponent, smartFill, smartFill, sort, sort, sortcolumn, sortcolumn, sqlwhere, structureChangedEvent, toBeSaved, toggledeleterow, toggledetailstate, toggleselectallrows, toggleselectrow, toString, turnEmptyStateOn, unbindComponent, undelete, undelete, unselect, unselect, unselectAll, useAllBookmarksQuery, useAllRecsQuery, useqbe, usequery, useQuery, useStoredQuery, validate, validateChildren, validateMbo, valueBound, valueUnbound
getCreator, getId, setCreator, setId
public void addFilterToggle(UIOptions opts)
addFilterToggle
in class AbstractTreeGridMiniAppBean
public ReplyBuilder setFilterState(boolean val) throws java.rmi.RemoteException, MXException, java.lang.InterruptedException, java.util.concurrent.ExecutionException
java.rmi.RemoteException
MXException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
public java.util.Map<java.lang.String,?> getOptions()
AbstractTreeGridMiniAppBean
getOptions
in interface HasOptions
getOptions
in class AbstractTreeGridMiniAppBean
public void validateAssignment(WebClientSession sess, ReplyBuilder reply, MXGanttModel model, MXResource res, MXActivity act) throws java.rmi.RemoteException, java.lang.Exception, java.lang.InterruptedException, java.util.concurrent.ExecutionException
java.rmi.RemoteException
java.lang.Exception
java.lang.InterruptedException
java.util.concurrent.ExecutionException
public java.util.Map<java.lang.String,java.lang.Object> getScheduleWindow(WebClientSession sess, java.lang.String projectId, java.lang.String activityid) throws java.rmi.RemoteException, MXException, java.lang.InterruptedException, java.util.concurrent.ExecutionException
sess
- projectId
- activityid
- java.rmi.RemoteException
MXException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
public com.ibm.json.java.JSONObject getLayoutUI(WebClientSession sess, java.lang.String appName, java.lang.String projectId) throws java.lang.Exception
getLayoutUI
in class WorkViewBean
sess
- appName
- projectId
- java.lang.Exception
public void loadSchedulerProject(WebClientSession sess) throws java.lang.Exception
loadSchedulerProject
in class WorkViewBean
sess
- java.lang.Exception
public ReplyBuilder async_upload_changes(WebClientSession sess)
async_upload_changes
in class BaseTreeGridMiniAppBean
sess
- public void addModelChange(MXGanttModel model, MXActivity currentActivity, MXResource res, MXReservation reservation, WebClientSession session) throws java.rmi.RemoteException, java.lang.Exception
java.rmi.RemoteException
java.lang.Exception
public void applyModelChange(MXGanttModel model, com.ibm.json.java.JSONObject obj, MXActivity currentActivity, MXResource res, MXReservation reservation, WebClientSession session) throws java.rmi.RemoteException, java.lang.Exception
java.rmi.RemoteException
java.lang.Exception
public void addModelChange(MXGanttModel model, com.ibm.json.java.JSONObject obj, MXActivity currentActivity, MXResource res, MXReservation reservation, WebClientSession session) throws java.rmi.RemoteException, java.lang.Exception
java.rmi.RemoteException
java.lang.Exception
public boolean setSkillMapping(MXGanttModel model, ilog.views.gantt.model.general.IlvGeneralActivity currentActivity, MXResource res, MXReservation unused_reservation, boolean update)
public boolean isLocked(MXActivity activity)
public boolean canDeleteWork(MXActivity activity)
public boolean canAssignToLoc(MXActivity activity, java.lang.String[] selectedresources, java.lang.String actresid, MXGanttModel model)
public com.ibm.json.java.JSONObject dummyAction(WebClientSession sess, java.lang.String actionid, java.lang.String params) throws java.lang.Exception
java.lang.Exception
public void addViewNotesAction(TMenu menu, java.lang.String projectId, MXActivity activity)
public void addServerAction(TMenu menu, java.lang.String projectId, MXActivity activity, MXResource resource, java.lang.String actionTitle, java.lang.String actionName)
public com.ibm.json.java.JSONObject newWorkAction(WebClientSession sess, java.lang.String actionid, java.lang.String params) throws java.lang.Exception
java.lang.Exception
public com.ibm.json.java.JSONObject splitShiftAction(WebClientSession sess, java.lang.String actionid, java.lang.String params) throws java.lang.Exception
java.lang.Exception
public com.ibm.json.java.JSONObject splitAction(WebClientSession sess, java.lang.String actionid, java.lang.String params) throws java.lang.Exception
java.lang.Exception
public com.ibm.json.java.JSONObject split3Action(WebClientSession sess, java.lang.String actionid, java.lang.String params) throws java.lang.Exception
java.lang.Exception
public com.ibm.json.java.JSONObject mergeWorkAction(WebClientSession sess, java.lang.String actionid, java.lang.String params) throws java.lang.Exception
java.lang.Exception
public DynamicTooltip getTooltip(WebClientSession sess, java.lang.String projectid, java.lang.String col, java.lang.String id) throws MXException, java.rmi.RemoteException, java.lang.InterruptedException, java.util.concurrent.ExecutionException
BaseTreeGridMiniAppBean
getTooltip
in class BaseTreeGridMiniAppBean
MXException
java.rmi.RemoteException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
public void splitAssignment(MXGanttModel model, WebClientSession session, MXActivity activity, MXResource res, ReplyBuilder reply, long start, long end) throws java.lang.Exception
java.lang.Exception
public void split3Assignment(MXGanttModel model, WebClientSession session, MXActivity activity, MXResource res, ReplyBuilder reply, long start, long end) throws java.lang.Exception
java.lang.Exception
public void splitShiftAssignment(MXGanttModel model, WebClientSession session, MXActivity activity, MXResource res, ReplyBuilder reply, long start, long end) throws java.lang.Exception
java.lang.Exception
public void mergeAssignments(MXGanttModel model, WebClientSession session, MXActivity activity, MXResource res, ReplyBuilder reply, long start, long end) throws java.lang.Exception
java.lang.Exception
public MXActivity createNewAssignment(MXGanttModel model, WebClientSession session, MXActivity act, MXResource res, long start, long end) throws java.lang.Exception
java.lang.Exception
public long[] getShiftBreakPoints(MXGanttModel model, MXResource resource, long start, long end)
public ReplyBuilder getRelatedAssignments(WebClientSession sess, java.lang.String projectId, java.lang.String activityid) throws java.rmi.RemoteException, MXException, java.lang.InterruptedException, java.util.concurrent.ExecutionException
java.rmi.RemoteException
MXException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
public java.util.List<java.util.List> getMultiSkillResourceSet(WebClientSession sess, java.lang.String projectId, java.lang.String activityid) throws java.rmi.RemoteException, MXException, java.lang.InterruptedException, java.util.concurrent.ExecutionException
sess
- projectId
- activityid
- java.rmi.RemoteException
MXException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
public com.ibm.json.java.JSONObject assigntoselectedlocations(WebClientSession sess, java.lang.String actionid, java.lang.String params) throws java.lang.Exception
java.lang.Exception
public void assignAssignment(MXGanttModel model, ReplyBuilder reply, WebClientSession sess, MXActivity act, MXResource res) throws java.lang.Exception
java.lang.Exception
public boolean isCapabilityMat(WebClientSession sess, MXGanttModel model, ilog.views.gantt.model.general.IlvGeneralActivity currentActivity, MXResource res) throws java.rmi.RemoteException, java.lang.Exception
java.rmi.RemoteException
java.lang.Exception
public java.lang.String isQulificationMat(WebClientSession sess, MXGanttModel model, ilog.views.gantt.model.general.IlvGeneralActivity currentActivity, MXResource res) throws java.rmi.RemoteException, java.lang.Exception
java.rmi.RemoteException
java.lang.Exception
public boolean validateScheduleWindow(WebClientSession sess, MXGanttModel model, ilog.views.gantt.model.general.IlvGeneralActivity currentActivity, MXResource res) throws java.rmi.RemoteException, java.lang.Exception
java.rmi.RemoteException
java.lang.Exception
public com.ibm.json.java.JSONObject assignto(WebClientSession sess, java.lang.String actionid, java.lang.String params) throws java.lang.Exception
java.lang.Exception
public com.ibm.json.java.JSONObject unassign(WebClientSession sess, java.lang.String actionid, java.lang.String params) throws java.lang.Exception
java.lang.Exception
public boolean canUnAssign(MXActivity activity, java.lang.String[] selectedactivitis, java.lang.String actresid, MXGanttModel model)
public boolean canAssignToLaborCrew(java.lang.String[] selectedresources, Selection selected)
public boolean canAssignToLaborCrewAvail(java.lang.String[] selectedresources, Selection selected)
public ReplyBuilder autoRefreshModel(java.lang.String projectId) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void onReset()
BaseTreeGridMiniAppBean
onReset
in interface ResetListener
onReset
in class WorkViewBean