public class CrewAssignViewBean extends BaseResourceView
AbstractTreeGridMiniAppBean.BucketInfo, AbstractTreeGridMiniAppBean.ShiftInfo
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
QBE_SEPARATOR_TOKEN
Separator character used for the QBE * * "\u00a7"
|
ONE_HOUR_IN_MILLISECONDS
calLocale, calTimezone, helper, lastSavedState, props, readOnlyRightClickMenus, SCHEDULER_MSG_GROUP, SKD_BUILD_ID, templates, TESTIDS_ENABLED_PROPERTY, uiOptions, userLocalizedTreeGridLabels
ALL_BOOKMARKS, ALL_RECORDS, alwaysSelected, app, appDefaultValues, appName, appWhere, ATTR_COLUMN, ATTR_DEFAULT, ATTR_QBE, ATTR_READONLY, ATTR_REFRESH_TABLE, ATTR_REQUIRED, ATTR_RESET, attributes, boundAttributes, boundInputs, closingBean, conditionallyRequired, creatingEvent, currentQuery, currentQueryDescription, currentRecordData, currentRow, defaultDynamicQbe, defaultOrderBy, defaultQbe, defaultUserValues, descAttributeId, designerMboName, dialogReferences, dynamicDefaults, emptyOnClear, ermEntity, esigvalidated, eventrow, fetchData, globalAppTableRetain, hasTableData, hasUnappliedAppDefaults, hasUnappliedQbeDefaults, keyAttribute, keyAttributes, lastEventHandled, lastfetchedindex, listeners, listTableModified, listTableRetain, LOG_CATEGORY, MAX_TABLEROWS, mboName, mbosetfromzombie, mboSetRemote, multiQbe, newRowUnedited, orderBy, parent, parentRelationship, propCache, qbeAttributes, qualrestrict, queryDescBeforeReviseAction, queryNameBeforeReviseAction, refreshList, refreshQbe, removeOnCancel, requiredFields, resetList, resetRemote, returnAttribute, returnComponent, returnComponentlId, ROW_DELETE, ROW_IGNORE, ROW_INSERT, ROW_MODIFY, rowsperpage, saveCount, savedFilterSettings, savedQbeAttributes, screenDesignMode, smartFillValue, startEmpty, startrow, 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, tableAttributes, tableData, tableDataInvalid, tableStateFlags, userQbeNotCommited, userWhereClause, zombieData
clientSession, creator, EVENT_CONTINUE, EVENT_HANDLED, EVENT_STOP_ALL, id, sessionContext
Constructor and Description |
---|
CrewAssignViewBean() |
Modifier and Type | Method and Description |
---|---|
com.ibm.json.java.JSONObject |
_next3wks(WebClientSession sess,
java.lang.String ids,
java.lang.String values) |
com.ibm.json.java.JSONObject |
_pre3wks(WebClientSession sess,
java.lang.String ids,
java.lang.String values) |
com.ibm.json.java.JSONObject |
_toggleview(WebClientSession sess,
java.lang.String ids,
java.lang.String values) |
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)
Adds SKDAction items to the TMenu.
|
void |
addModelChange(MXGanttModel model,
com.ibm.json.java.JSONObject obj,
MXActivity currentActivity,
MXResource res,
WebClientSession session) |
void |
addModelChange(MXGanttModel model,
com.ibm.json.java.JSONObject obj,
MXActivity currentActivity,
WebClientSession session) |
void |
applyModelChange(MXGanttModel model,
com.ibm.json.java.JSONObject obj,
MXActivity currentActivity,
MXResource res,
WebClientSession session) |
void |
AssignAssignment(MXGanttModel model,
ReplyBuilder reply,
WebClientSession sess,
MXActivity act,
MXResource res) |
boolean |
canReassign(java.lang.String[] selectedresources,
Selection selected) |
MXActivity |
createNewAssignment(MXGanttModel model,
WebClientSession session,
MXActivity activity,
MXResource res,
long start,
long end,
int selectedseg,
boolean activityIsParent) |
protected UIOptions |
createUIOptions(java.lang.String id)
Called only once, by getUIOptions to actually create the options.
|
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.
|
boolean |
isDailyView() |
java.util.concurrent.Future |
loadProject(com.ibm.json.java.JSONObject projectOptions)
Returns a Future for the given Gantt Model.
|
void |
loadSchedulerProject(WebClientSession sess)
Load the Scheduler project gantt model for the given project.
|
void |
markAssignmentDelete(java.util.concurrent.Future modelFuture,
com.ibm.json.java.JSONObject obj,
MXActivity act) |
com.ibm.json.java.JSONObject |
newassignment(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 |
processChange(java.util.concurrent.Future model,
com.ibm.json.java.JSONObject change,
WebClientSession sess,
ReplyBuilder reply)
Will be called for each change in the changes model
|
protected void |
processMove(java.util.concurrent.Future modelFuture,
com.ibm.json.java.JSONObject change,
WebClientSession sess,
ReplyBuilder reply) |
com.ibm.json.java.JSONObject |
reassign(WebClientSession sess,
java.lang.String actionid,
java.lang.String params) |
void |
setSegmentInfo(ilog.views.gantt.model.general.IlvGeneralActivity activity,
MXResource res) |
boolean |
setSkillMapping(MXGanttModel model,
ilog.views.gantt.model.general.IlvGeneralActivity currentActivity,
MXResource res,
boolean update) |
boolean |
showmenu(MXGanttModel model,
MXActivity act,
MXResource res) |
com.ibm.json.java.JSONObject |
splitAction(WebClientSession sess,
java.lang.String actionid,
java.lang.String params) |
void |
splitAssignment(MXGanttModel model,
WebClientSession session,
MXActivity segmentactivity,
MXResource res,
long start,
long end) |
async_get_table_context_menu, getContextMenuFor, getTooltipForDate
_DELETECONSTRAINTS, addPrintPDFAction, onReset, processChange, updateConstraints
addActionMenuItems, addFixUI, addGotoToolbarOptions, addLockDurationIcon, addLockResourceIcon, addLockScheduleIcon, addModelChange, addZoomToToolbarOptions, async_get_table_context_menu, async_upload_changes, canNotAssignTo, clearSavedState, createSerializationHelper, getActivitites, getActualStartEnd, getCalculatedProjectMinMax, getContextMenuFor, getGanttConfigInfo, getProject, getSKDPMUtility, getTooltip, getTooltipForCPM, getTooltipForPoint, getUIOptions, getUIOptions, initializeProjectData, isLocked, isResourceLocked, loadSKDUIInfo, on_handle_applink_menu_item, refreshToolbarItems, setSerializationHelper, setupBean, updateDuration, updateStartEndTimes
addFilterToggle, addLinkToWorkViewFilter, addMessages, addQuickSearch, addResourceDisplay, addToggleDependencies, appendCss, async_export_echo, async_load_text, async_push_client_message, async_upload_state, beanSupplier, callBeanMethod, callMethod, CfgId, filterCss, getAppDescForApp, getApplicationResource, getAppMboString, getAppMboYORN, getAppName, getBaseImageUrl, getBoolean, getClientSession, getCurrentProjectId, getDate, getLastKnownState, getModAvailForDate, getModelFunctionImpl, getOptions, getPresentationOptions, getProjectId, getProjectMbo, getProjectOptions, getSchedulerProperties, getSerializationHelper, getShiftBreakInfoForDate, getShiftWorkPeriodInfoForDate, getShiftWorkPeriodInfoForDate, getShiftWorkPeriodInfoForDate, getSKDAppServiceBean, getSKDAppServiceBean, getTimeZone, getTooltip, getTooltipForDateInSchedule, getUserInfo, isAiviationLicensePresent, isAiviationMROLicensePresent, isDefaultScenario, isGUIMirrored, isLicensePresent, isLicensePresent, isScenario, isScenarioOrSnapshot, isShowingWeather, isSnapshot, label, label, loadMiniAppResource, loadSchedulerProperties, loadTemplate, loadTooltip, on_handle_applink_menu_item, populateErrorReply, resolveTemplate, sendEventToTreeGrid, setGridTitleInUIOptions, sortSKDAction, uiOptionsSupplier, updateBooleanProperty, updateDateTimeProperty, updateIntProperty, updateStringProperty
_useAllBookmarksQuery, _useAllRecsQuery, _usequery, addAttribute, addConditionalProperties, addDialogReference, addListener, addQbeAttribute, addrow, addSigOption, afterSetValue, applyValuesToSharedAttributes, applyValuesToSharedAttributes, asyncLocked, bindComponent, boundToTable, buildPortalMsg, callBeanMethod, callBeanMethod, callBeanMethod, callBeanMethod, callMethod, callMethod, callMethod, callMethod, callRemoteMethod, callRemoteMethod, cancelDialog, canCloseBean, canFetchData, changeRequiredField, checkAndDistributeRequiredError, checkESigAuthenticated, checkForAppError, checkMethodAccess, cleanup, clearBean, clearfilter, clearQbeAttributes, 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, getMboSetRemote, 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, getWorkflowDirections, getZombie, getZombieMboValueData, handleRemoteException, handleRequiredFieldException, hasLongDescriptionText, hasLongDescriptionText, hasMboSetRemote, hasPageRows, hasRow, hasSameMboSet, hasSigOptionAccess, hasSigOptionAccess, hierarchicalmove, highlightrow, highlightrow, initialize, insert, insert, insertAtEnd, instantdelete, invalidateTableData, isAppTableRetain, isAttribute, isAttributeHidden, isAttributeHidden, isColumnSorted, isEmpty, isListTableModified, isListTableRetain, isLookupMultiSelect, isMboHidden, isMboHidden, isMboSetSame, isModifiedRow, isModifiedRow, isNewRow, isNewRow, isNewRowUnedited, isRowDeleted, isRowLocked, isSelected, isSubSelect, isTableAttribute, isTablePostionMarked, isTableRowSelected, isTableStateFlagSet, listenerChangedEvent, madeRequiredConditionally, markTablePosition, moveTo, moveToMboFromDataBean, needToAuthenticate, next, nextrow, notExist, positionState, preSaveChecks, previous, prevrow, propagateRequired, queryAllBookmarks, queryAllRecs, refreshFieldErrors, refreshTable, registerDynamicControlsWithERM, reloadTable, removeDialogReference, removeListener, removeRowOnCancel, rePosition, reserveOnePair, reset, resetDataBean, resetJSPFlags, resetQbe, resetWithSelection, restoreSavedQbeSettings, retainPosition, returnLookupValue, returnLookupValue, returnLookupValue, returnLookupValue, save, save, saveCurrentQbeSettings, scrollnext, scrollprev, select, select, selectAll, selectrecord, selectRows, sendRefreshTable, setApp, setApp, setAppDefault, setAppDefaults, setApplicationError, setAppWhere, setAsyncLock, setAttributes, setCurrentQueryDescription, setCurrentQueryName, setCurrentRecordData, setCurrentRow, setDate, setDate, setDate, setDefaultOrderBy, setDefaultQbe, setDefaultValue, setDefaultValue, setDescAttributeId, setDynamicAppDefaults, setDynamicDefault, setDynamicQbeDefaults, setEmptyOnClear, setERMOnMboSet, 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, setupNonPersistent, 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, validateClause, validateMbo, validateRow, valueBound, valueUnbound
getCreator, getId, setCreator, setId
protected static final java.lang.String QBE_SEPARATOR_TOKEN
protected UIOptions createUIOptions(java.lang.String id) throws MXException, java.io.IOException
createUIOptions
in class WorkViewBean
id
- MXException
java.io.IOException
public com.ibm.json.java.JSONObject _toggleview(WebClientSession sess, java.lang.String ids, java.lang.String values) throws java.lang.Exception
java.lang.Exception
public com.ibm.json.java.JSONObject _pre3wks(WebClientSession sess, java.lang.String ids, java.lang.String values) throws java.lang.Exception
java.lang.Exception
public com.ibm.json.java.JSONObject _next3wks(WebClientSession sess, java.lang.String ids, java.lang.String values) throws java.lang.Exception
java.lang.Exception
public void loadSchedulerProject(WebClientSession sess) throws java.lang.Exception
loadSchedulerProject
in class WorkViewBean
sess
- java.lang.Exception
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
- project
- java.lang.Exception
protected void processMove(java.util.concurrent.Future modelFuture, com.ibm.json.java.JSONObject change, WebClientSession sess, ReplyBuilder reply) throws java.lang.Exception
processMove
in class BaseTreeGridMiniAppBean
java.lang.Exception
public void applyModelChange(MXGanttModel model, com.ibm.json.java.JSONObject obj, MXActivity currentActivity, MXResource res, 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, 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, boolean update)
public void setSegmentInfo(ilog.views.gantt.model.general.IlvGeneralActivity activity, MXResource res)
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
addActionMenuItems
in class BaseResourceView
java.lang.Exception
java.lang.InterruptedException
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 splitAction(WebClientSession sess, java.lang.String actionid, java.lang.String params) throws java.lang.Exception
java.lang.Exception
public MXActivity createNewAssignment(MXGanttModel model, WebClientSession session, MXActivity activity, MXResource res, long start, long end, int selectedseg, boolean activityIsParent)
public void splitAssignment(MXGanttModel model, WebClientSession session, MXActivity segmentactivity, MXResource res, long start, long end) throws java.lang.Exception
java.lang.Exception
public com.ibm.json.java.JSONObject reassign(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 com.ibm.json.java.JSONObject newassignment(WebClientSession sess, java.lang.String actionid, java.lang.String params) throws java.lang.Exception
java.lang.Exception
public boolean canReassign(java.lang.String[] selectedresources, Selection selected)
public void processChange(java.util.concurrent.Future model, com.ibm.json.java.JSONObject change, WebClientSession sess, ReplyBuilder reply) throws java.lang.Exception
BaseTreeGridMiniAppBean
processChange
in class WorkViewBean
java.lang.Exception
public void markAssignmentDelete(java.util.concurrent.Future modelFuture, com.ibm.json.java.JSONObject obj, MXActivity act) throws java.lang.Exception
markAssignmentDelete
in class WorkViewBean
java.lang.Exception
public void addModelChange(MXGanttModel model, com.ibm.json.java.JSONObject obj, MXActivity currentActivity, WebClientSession session) throws java.rmi.RemoteException, java.lang.Exception
addModelChange
in class BaseTreeGridMiniAppBean
java.rmi.RemoteException
java.lang.Exception
public boolean showmenu(MXGanttModel model, MXActivity act, MXResource res)
public java.util.concurrent.Future loadProject(com.ibm.json.java.JSONObject projectOptions) throws java.rmi.RemoteException, MXException
BaseTreeGridMiniAppBean
loadProject
in class BaseTreeGridMiniAppBean
projectOptions
- JSONObject
of parameters to pass the model. Can be null.java.rmi.RemoteException
MXException
public boolean isDailyView()