public class GWAResourceScheduleView extends AbstractTreeGridMiniAppBean implements IProjectManagerCallback
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 |
---|
GWAResourceScheduleView() |
Modifier and Type | Method and Description |
---|---|
com.ibm.json.java.JSONObject |
_refreshSelected(WebClientSession sess,
java.lang.String ids) |
void |
addActionMenuItems(TMenu popupmenu,
java.lang.String[] selectedactivitys,
GWASchedule schedule,
IMXActivityPropertyInfo actproptinfo,
java.lang.String projectId,
java.lang.String propName,
java.lang.String propValue,
java.lang.String frame)
Adds SKDAction items to the TMenu.
|
void |
addGotoToolbarOptions(UIOptions opts) |
void |
addLockDurationIcon(UIOptions opts,
boolean create) |
void |
addViewNavToolbarOptions(UIOptions opts) |
com.ibm.json.java.JSONObject |
async_load_gantt_data(WebClientSession sess) |
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.
|
Activity |
createNewAssignment(GWASchedule model,
WebClientSession session,
Activity act,
Resource res,
long assignmentid) |
UIOptions |
createUIOptions(java.lang.String projectId)
Create the UIOptions for the project
|
com.ibm.json.java.JSONObject |
deleteWorkAction(WebClientSession sess,
java.lang.String actionid,
java.lang.String params) |
Range<java.util.Date> |
getActualStartEnd() |
Range<java.util.Date> |
getCalculatedProjectMinMax() |
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.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) |
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
|
DynamicTooltip |
getTooltipForCPM(WebClientSession sess,
java.lang.String projectid,
java.lang.String fromId,
java.lang.String toId)
Returns a Tooltip HTML for a given activity id's CPM
|
DynamicTooltip |
getTooltipForDate(WebClientSession sess,
java.lang.String projectid,
java.lang.String col,
java.lang.String id,
long date) |
com.ibm.json.java.JSONObject |
gotoSelectedWeekDate(WebClientSession sess,
long selectedDate) |
com.ibm.json.java.JSONObject |
gotoWeek(WebClientSession sess,
int direction) |
com.ibm.json.java.JSONObject |
gotoWeekDate(WebClientSession sess,
long selectedDate) |
com.ibm.json.java.JSONObject |
newWorkAction(WebClientSession sess,
java.lang.String actionid,
java.lang.String params) |
java.lang.Object |
on_handle_applink_menu_item(WebClientSession sess,
java.lang.String id,
java.lang.String action,
java.lang.String values,
com.ibm.json.java.JSONObject selection)
Called form the Browser Client with the Activity ID and Action.
|
void |
processChange(com.ibm.json.java.JSONObject change,
WebClientSession sess,
ReplyBuilder reply) |
void |
processMove(com.ibm.json.java.JSONObject change,
WebClientSession sess,
ReplyBuilder reply) |
com.ibm.json.java.JSONObject |
setWeekDate(WebClientSession sess,
long currentDate) |
com.ibm.json.java.JSONObject |
unassign(WebClientSession sess,
java.lang.String actionid,
java.lang.String params) |
int |
updateStartEndTimes(GWASchedule schedule,
com.ibm.json.java.JSONObject change,
WebClientSession sess,
Activity activity)
Start and End times need to be updated at the same time, or else ILOG will
grow or shrink the activity bar when setting the start/end times separately.
|
addFilterToggle, addLinkToWorkViewFilter, addQuickSearch, addToggleDependencies, appendCss, async_export_echo, async_get_table_context_menu, async_load_text, async_push_client_message, async_upload_state, beanSupplier, callBeanMethod, callMethod, CfgId, clearSavedState, filterCss, getApplicationResource, getAppName, getBaseImageUrl, getClientSession, getCurrentProjectId, getLastKnownState, getModAvailForDate, getPresentationOptions, getSchedulerProperties, getSerializationHelper, getShiftBreakInfoForDate, getShiftWorkPeriodInfoForDate, getShiftWorkPeriodInfoForDate, getShiftWorkPeriodInfoForDate, getSKDAppServiceBean, getSKDAppServiceBean, getTimeZone, getTooltipForDateInSchedule, getTooltipForPoint, getUIOptions, getUserInfo, initializeProjectData, isAiviationLicensePresent, isAiviationMROLicensePresent, isGUIMirrored, isLicensePresent, isLicensePresent, isShowingWeather, label, label, loadMiniAppResource, loadSKDUIInfo, loadTemplate, loadTooltip, on_handle_applink_menu_item, onReset, resolveTemplate, sendEventToTreeGrid, setGridTitleInUIOptions, setSerializationHelper, setupBean, 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getUserInfo
public com.ibm.json.java.JSONObject getLayoutUI(WebClientSession sess, java.lang.String appName, java.lang.String projectId) throws java.lang.Exception
sess
- appName
- project
- java.lang.Exception
public java.util.Map<java.lang.String,?> getOptions()
AbstractTreeGridMiniAppBean
getOptions
in interface HasOptions
getOptions
in class AbstractTreeGridMiniAppBean
public UIOptions createUIOptions(java.lang.String projectId)
AbstractTreeGridMiniAppBean
public void addLockDurationIcon(UIOptions opts, boolean create)
public void addGotoToolbarOptions(UIOptions opts)
public void addViewNavToolbarOptions(UIOptions opts)
public com.ibm.json.java.JSONObject async_load_gantt_data(WebClientSession sess) throws java.lang.Exception
java.lang.Exception
public ReplyBuilder async_upload_changes(WebClientSession sess)
AbstractTreeGridMiniAppBean
async_upload_changes
in class AbstractTreeGridMiniAppBean
public void processMove(com.ibm.json.java.JSONObject change, WebClientSession sess, ReplyBuilder reply) throws java.lang.Exception
java.lang.Exception
public void processChange(com.ibm.json.java.JSONObject change, WebClientSession sess, ReplyBuilder reply) throws java.lang.Exception
java.lang.Exception
public int updateStartEndTimes(GWASchedule schedule, com.ibm.json.java.JSONObject change, WebClientSession sess, Activity activity) throws java.lang.Exception
change
- mxa
- java.lang.Exception
public java.lang.Object on_handle_applink_menu_item(WebClientSession sess, java.lang.String id, java.lang.String action, java.lang.String values, com.ibm.json.java.JSONObject selection) throws MXException, java.rmi.RemoteException
id
- action
- MXException
java.rmi.RemoteException
public Range<java.util.Date> getActualStartEnd()
getActualStartEnd
in class AbstractTreeGridMiniAppBean
public Range<java.util.Date> getCalculatedProjectMinMax()
getCalculatedProjectMinMax
in class AbstractTreeGridMiniAppBean
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
AbstractTreeGridMiniAppBean
getTooltip
in class AbstractTreeGridMiniAppBean
MXException
java.rmi.RemoteException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
public DynamicTooltip getTooltipForCPM(WebClientSession sess, java.lang.String projectid, java.lang.String fromId, java.lang.String toId) throws MXException, java.rmi.RemoteException, java.lang.InterruptedException, java.util.concurrent.ExecutionException
AbstractTreeGridMiniAppBean
getTooltipForCPM
in class AbstractTreeGridMiniAppBean
MXException
java.rmi.RemoteException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
public DynamicTooltip getTooltipForDate(WebClientSession sess, java.lang.String projectid, java.lang.String col, java.lang.String id, long date) throws MXException, java.rmi.RemoteException, java.lang.InterruptedException, java.util.concurrent.ExecutionException
getTooltipForDate
in class AbstractTreeGridMiniAppBean
MXException
java.rmi.RemoteException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
public void addActionMenuItems(TMenu popupmenu, java.lang.String[] selectedactivitys, GWASchedule schedule, IMXActivityPropertyInfo actproptinfo, java.lang.String projectId, java.lang.String propName, java.lang.String propValue, java.lang.String frame) throws java.lang.Exception
java.lang.Exception
java.lang.InterruptedException
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 com.ibm.json.java.JSONObject gotoWeek(WebClientSession sess, int direction) throws java.lang.Exception
java.lang.Exception
public com.ibm.json.java.JSONObject gotoWeekDate(WebClientSession sess, long selectedDate) throws java.lang.Exception
java.lang.Exception
public com.ibm.json.java.JSONObject gotoSelectedWeekDate(WebClientSession sess, long selectedDate) throws java.lang.Exception
java.lang.Exception
public com.ibm.json.java.JSONObject setWeekDate(WebClientSession sess, long currentDate) throws java.lang.Exception
java.lang.Exception
public com.ibm.json.java.JSONObject _refreshSelected(WebClientSession sess, java.lang.String ids) throws java.lang.Exception
java.lang.Exception
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 Activity createNewAssignment(GWASchedule model, WebClientSession session, Activity act, Resource res, long assignmentid) throws java.lang.Exception
java.lang.Exception
public com.ibm.json.java.JSONObject deleteWorkAction(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