public abstract class AbstractTreeGridMiniAppBean extends DataBean implements HasOptions, CssFilterable, ResetListener, SKDTemplateResolver
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractTreeGridMiniAppBean.BucketInfo |
static class |
AbstractTreeGridMiniAppBean.ShiftInfo |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Locale |
calLocale |
protected java.util.TimeZone |
calTimezone |
protected TreeGridUtil.ITGSerializationHelper |
helper |
protected SKDState |
lastSavedState |
protected java.util.Properties |
props |
protected java.util.List |
readOnlyRightClickMenus |
static java.lang.String |
SCHEDULER_MSG_GROUP |
static java.lang.String |
SKD_BUILD_ID |
protected java.util.Map |
templates |
static java.lang.String |
TESTIDS_ENABLED_PROPERTY |
protected UIOptions |
uiOptions |
protected com.ibm.json.java.JSONObject |
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, zombieDataclientSession, creator, EVENT_CONTINUE, EVENT_HANDLED, EVENT_STOP_ALL, id, sessionContext| Constructor and Description |
|---|
AbstractTreeGridMiniAppBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFilterToggle(UIOptions opts) |
void |
addLinkToWorkViewFilter(UIOptions opts,
boolean create,
boolean initialState) |
protected void |
addMessages(com.ibm.json.java.JSONObject msgs)
SubClasses can add additional messages for the client
|
void |
addQuickSearch(UIOptions opts) |
protected void |
addResourceDisplay(UIOptions opts) |
void |
addToggleDependencies(UIOptions opts,
boolean create) |
void |
appendCss(java.lang.StringBuilder sb,
java.lang.String key,
java.lang.String value) |
void |
async_export_echo(WebClientSession sess) |
TMenu |
async_get_table_context_menu(WebClientSession sess,
java.lang.String projectId,
java.lang.String id,
java.lang.String column,
java.lang.String value)
Called for an ITEM to fetch the Menu for a given item.
|
com.ibm.json.java.JSONObject |
async_load_text(WebClientSession sess)
Used to load the localized text for TreeGrid
|
void |
async_push_client_message()
This is a sample "handler" showing how you would push a message from the
sever to the browser ui.
|
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.
|
com.ibm.json.java.JSONObject |
async_upload_state(WebClientSession sess,
java.lang.String cfgid,
java.lang.String cookie)
Accept current state from the UI for this bean's view, and save it for
later.
|
Supplier |
beanSupplier() |
java.lang.Object |
callBeanMethod(java.lang.String method,
java.lang.Class[] paramTypes,
java.lang.Object[] params) |
java.lang.Object |
callMethod(java.lang.String methodName,
java.lang.Class[] paramTypes,
java.lang.Object[] params) |
static java.lang.String |
CfgId(java.lang.String base) |
void |
clearSavedState() |
protected TreeGridUtil.ITGSerializationHelper |
createSerializationHelper(UserInfo userInfo) |
protected UIOptions |
createUIOptions(java.lang.String projectId)
Create the UIOptions for the project
|
java.lang.String |
filterCss(java.lang.String css,
MiniAppControl control) |
abstract Range |
getActualStartEnd() |
protected java.lang.String |
getAppDescForApp(java.lang.String appName,
UserInfo userInfo)
Return the description from maxapps table
|
java.lang.String |
getApplicationResource(java.lang.String path) |
protected java.lang.String |
getAppMboString(java.lang.String field) |
protected boolean |
getAppMboYORN(java.lang.String field) |
java.lang.String |
getAppName()
Return the configure AppName for the Scheduler MiniApp, as configured in
the presenation xml file
|
java.lang.String |
getBaseImageUrl() |
protected java.lang.Boolean |
getBoolean(com.ibm.json.java.JSONObject o,
java.lang.String prop) |
abstract Range |
getCalculatedProjectMinMax() |
WebClientSession |
getClientSession() |
protected abstract TMenu |
getContextMenuFor(TMenu menu,
UserInfo userInfo,
java.lang.String projectId,
java.lang.String propName,
java.lang.String propValue,
java.lang.String[] ids)
Given the parameters, return a TMenu (TreeGrid Menu) context menu.
|
java.lang.String |
getCurrentProjectId()
Gets the current project ID that we are working with
|
protected java.util.Date |
getDate(com.ibm.json.java.JSONObject o,
java.lang.String prop) |
java.lang.String |
getLastKnownState()
Load the last Known state for this bean, if it has not been loaded
already
|
IMXActivity |
getModAvailForDate(IMXResource mxr,
IMXGanttModel model,
java.util.Date d) |
protected GanttTextResolver.TextFunction |
getModelFunctionImpl() |
java.util.Map |
getOptions()
any options defined here, are passed to the contructor of the Dojo
MiniApp control (child controls, such as GanttWidget,
ResourceViewWidget,etc)
|
com.ibm.json.java.JSONObject |
getPresentationOptions()
Returns the "options" attribute, parsed as JSON from the
|
protected java.lang.String |
getProjectId(com.ibm.json.java.JSONObject projectOptions)
return the project id from the JSONObject options, or if null, then return the current project id.
|
MboRemote |
getProjectMbo() |
protected com.ibm.json.java.JSONObject |
getProjectOptions(java.lang.String projectId)
Creates a JSONObject project options with the given ID
|
java.util.Properties |
getSchedulerProperties() |
TreeGridUtil.ITGSerializationHelper |
getSerializationHelper() |
AbstractTreeGridMiniAppBean.ShiftInfo |
getShiftBreakInfoForDate(IMXResource mxr,
IMXGanttModel model,
java.util.Date d)
Add the WorkPeriod information to the TreeGrid UI
|
AbstractTreeGridMiniAppBean.ShiftInfo |
getShiftWorkPeriodInfoForDate(IMXGanttModel model,
java.util.Date d)
Returns the ShiftInfo for the given date in the model, if the model has
shift information loaded.
|
java.util.List |
getShiftWorkPeriodInfoForDate(IMXGanttModel sched,
java.util.Properties props,
java.util.Date d)
Find Shift Info for a given date in the Schedule.
|
AbstractTreeGridMiniAppBean.ShiftInfo |
getShiftWorkPeriodInfoForDate(IMXResource mxr,
IMXGanttModel model,
java.util.Date d)
Add the WorkPeriod information to the TreeGrid UI
|
SKDAppServiceBeanRemote |
getSKDAppServiceBean() |
static SKDAppServiceBeanRemote |
getSKDAppServiceBean(WebClientSession wcs)
REturns the remote reference to the service bean
|
java.util.TimeZone |
getTimeZone() |
protected DynamicTooltip |
getTooltip(WebClientSession sess,
IMXGanttModel model,
java.lang.String col,
java.lang.String id)
Load the Tooltip for the given Model and ID
|
abstract 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
|
abstract 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
|
abstract DynamicTooltip |
getTooltipForDate(WebClientSession sess,
java.lang.String projectid,
java.lang.String col,
java.lang.String id,
long date) |
DynamicTooltip |
getTooltipForDateInSchedule(IMXGanttModel schedule,
java.util.Properties props,
long date) |
DynamicTooltip |
getTooltipForPoint(java.lang.String id,
int pointIndex) |
UIOptions |
getUIOptions()
Convenience method for getting options by defaulting the project id
|
protected UIOptions |
getUIOptions(java.lang.String projectId)
Get the UI Options/Hints for rendering TreeGrid
|
UserInfo |
getUserInfo() |
void |
initializeProjectData() |
static boolean |
isAiviationLicensePresent(WebClientSession sess)
Returns true, if the aviation license is present, otherwise false.
|
static boolean |
isAiviationMROLicensePresent(WebClientSession sess)
Returns true, if the aviation license is present, otherwise false.
|
protected boolean |
isDefaultScenario() |
boolean |
isGUIMirrored() |
static boolean |
isLicensePresent(java.lang.String lic) |
static boolean |
isLicensePresent(WebClientSession sess,
java.lang.String lic) |
protected boolean |
isScenario() |
protected boolean |
isScenarioOrSnapshot() |
boolean |
isShowingWeather() |
protected boolean |
isSnapshot() |
java.lang.String |
label(java.lang.String key) |
java.lang.String |
label(java.lang.String key,
java.lang.String def) |
java.lang.String |
loadMiniAppResource(java.lang.String path) |
protected java.util.Properties |
loadSchedulerProperties() |
SKDUIInfo |
loadSKDUIInfo()
Load the Scheduler UI Info data for the given application.
|
java.lang.String |
loadTemplate(java.lang.String id) |
java.lang.String |
loadTooltip(java.lang.String id) |
java.lang.Object |
on_handle_applink_menu_item(WebClientSession sess,
java.lang.String id,
java.lang.String action,
java.lang.String values)
Called form the Browser Client with the Activity ID and Action.
|
void |
onReset()
OnReset is called whenever we need to clear the state of our beean.
|
protected void |
populateErrorReply(ReplyBuilder reply,
java.lang.Throwable e) |
protected void |
refreshToolbarItems(UIOptions uiOptions2)
This is called everytime getUIOptions is called, in case, bean needs to
refresh the state of the options
|
java.lang.String |
resolveTemplate(java.lang.String templateName,
MboRemote projectMbo)
Return the complete template contents for the given template name
|
void |
sendEventToTreeGrid(java.lang.String eventId,
java.lang.String eventArg)
Will push a Dojo topic with the given eventId as the topic and eventArg
as the event message
|
void |
setGridTitleInUIOptions(UIOptions opts,
boolean readOnly) |
void |
setSerializationHelper(MXSerializationHelper mxSerializationHelper) |
void |
setupBean(WebClientSession wcs)
This method must be call after the bean is instantiated.
|
java.util.HashMap |
sortSKDAction(java.util.HashMap skdActivityActions,
java.lang.String frame)
Taken from scheduler applet...
|
Supplier |
uiOptionsSupplier() |
void |
updateBooleanProperty(java.lang.String prop,
com.ibm.json.java.JSONObject obj,
IMXActivity act) |
void |
updateDateTimeProperty(java.lang.String prop,
com.ibm.json.java.JSONObject obj,
IMXActivity act) |
boolean |
updateIntProperty(java.lang.String prop,
com.ibm.json.java.JSONObject obj,
IMXActivity act)
Updates the prop in obj to IMXActivity act object.
|
void |
updateStringProperty(java.lang.String prop,
com.ibm.json.java.JSONObject obj,
IMXActivity act,
boolean acceptEmptyString) |
_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, valueUnboundgetCreator, getId, setCreator, setIdpublic static final java.lang.String TESTIDS_ENABLED_PROPERTY
public static final java.lang.String SKD_BUILD_ID
public static final java.lang.String SCHEDULER_MSG_GROUP
protected java.util.Properties props
protected java.util.Map templates
protected com.ibm.json.java.JSONObject userLocalizedTreeGridLabels
protected SKDState lastSavedState
protected TreeGridUtil.ITGSerializationHelper helper
protected UIOptions uiOptions
protected java.util.TimeZone calTimezone
protected java.util.Locale calLocale
protected java.util.List readOnlyRightClickMenus
public TreeGridUtil.ITGSerializationHelper getSerializationHelper()
public UserInfo getUserInfo()
protected java.lang.String getAppDescForApp(java.lang.String appName,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
appName - java.lang.ExceptionMXExceptionjava.rmi.RemoteExceptionpublic void addQuickSearch(UIOptions opts)
public void addToggleDependencies(UIOptions opts, boolean create)
public void addLinkToWorkViewFilter(UIOptions opts, boolean create, boolean initialState)
public void addFilterToggle(UIOptions opts)
public void onReset()
onReset in interface ResetListenerprotected java.lang.String getAppMboString(java.lang.String field)
protected boolean getAppMboYORN(java.lang.String field)
public java.lang.String getCurrentProjectId()
public boolean isGUIMirrored()
public void setGridTitleInUIOptions(UIOptions opts, boolean readOnly) throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionprotected boolean isScenario()
protected boolean isDefaultScenario()
protected boolean isSnapshot()
protected boolean isScenarioOrSnapshot()
public void async_export_echo(WebClientSession sess) throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getLastKnownState()
throws java.io.IOException,
MXException
java.io.IOExceptionMXExceptionpublic com.ibm.json.java.JSONObject async_upload_state(WebClientSession sess, java.lang.String cfgid, java.lang.String cookie) throws java.rmi.RemoteException, MXException
sess - cfgid - cookie - java.rmi.RemoteExceptionMXExceptionpublic com.ibm.json.java.JSONObject async_load_text(WebClientSession sess)
sess - public SKDUIInfo loadSKDUIInfo() throws MXException, java.io.IOException
sess - appName - MXExceptionjava.io.IOExceptionpublic TMenu async_get_table_context_menu(WebClientSession sess, java.lang.String projectId, java.lang.String id, java.lang.String column, java.lang.String value) throws java.lang.Exception
id - Activity IDcol - Table Columnjava.lang.Exceptionpublic java.lang.Object on_handle_applink_menu_item(WebClientSession sess, java.lang.String id, java.lang.String action, java.lang.String values) throws MXException, java.rmi.RemoteException
id - action - MXExceptionjava.rmi.RemoteExceptionpublic java.lang.Object callMethod(java.lang.String methodName,
java.lang.Class[] paramTypes,
java.lang.Object[] params)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.lang.Object callBeanMethod(java.lang.String method,
java.lang.Class[] paramTypes,
java.lang.Object[] params)
throws MXException,
java.lang.NoSuchMethodException,
java.rmi.RemoteException
MXExceptionjava.lang.NoSuchMethodExceptionjava.rmi.RemoteExceptionpublic ReplyBuilder async_upload_changes(WebClientSession sess)
sess - protected void populateErrorReply(ReplyBuilder reply, java.lang.Throwable e)
protected java.util.Date getDate(com.ibm.json.java.JSONObject o,
java.lang.String prop)
public java.util.TimeZone getTimeZone()
protected java.lang.Boolean getBoolean(com.ibm.json.java.JSONObject o,
java.lang.String prop)
public java.lang.String getAppName()
public abstract 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
sess - projectid - col - id - MXExceptionjava.rmi.RemoteExceptionjava.lang.InterruptedExceptionjava.util.concurrent.ExecutionExceptionprotected GanttTextResolver.TextFunction getModelFunctionImpl()
public abstract 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
sess - projectid - fromid - toid - MXExceptionjava.rmi.RemoteExceptionjava.lang.InterruptedExceptionjava.util.concurrent.ExecutionExceptionpublic abstract 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
MXExceptionjava.rmi.RemoteExceptionjava.lang.InterruptedExceptionjava.util.concurrent.ExecutionExceptionpublic DynamicTooltip getTooltipForPoint(java.lang.String id, int pointIndex) throws MXException, java.rmi.RemoteException, java.lang.InterruptedException, java.util.concurrent.ExecutionException
id - pointIndex - Point Index in the GanttPoints for row id. Points start at index 0.MXExceptionjava.rmi.RemoteExceptionjava.lang.InterruptedExceptionjava.util.concurrent.ExecutionExceptionprotected java.lang.String getProjectId(com.ibm.json.java.JSONObject projectOptions)
projectOptions - protected com.ibm.json.java.JSONObject getProjectOptions(java.lang.String projectId)
projectId - public void async_push_client_message()
topic.subscribe("miniapp.scheduler.pushevent", function(data) {
alert("GOT A PUSHED MESSAGE: " + data);
});
public void sendEventToTreeGrid(java.lang.String eventId,
java.lang.String eventArg)
eventId - eventArg - public com.ibm.json.java.JSONObject getPresentationOptions()
public java.util.Map getOptions()
getOptions in interface HasOptionspublic boolean isShowingWeather()
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionprotected void addMessages(com.ibm.json.java.JSONObject msgs)
msgs - protected abstract TMenu getContextMenuFor(TMenu menu, UserInfo userInfo, java.lang.String projectId, java.lang.String propName, java.lang.String propValue, java.lang.String[] ids) throws java.lang.Exception
menu - userInfo - projectId - propName - propValue - ids - java.lang.Exceptionpublic java.lang.String label(java.lang.String key)
public java.lang.String label(java.lang.String key,
java.lang.String def)
public java.util.HashMap sortSKDAction(java.util.HashMap skdActivityActions,
java.lang.String frame)
skdActivityActions - public void appendCss(java.lang.StringBuilder sb,
java.lang.String key,
java.lang.String value)
public java.lang.String filterCss(java.lang.String css,
MiniAppControl control)
filterCss in interface CssFilterablepublic java.lang.String getBaseImageUrl()
public java.lang.String loadMiniAppResource(java.lang.String path)
public java.util.Properties getSchedulerProperties()
throws java.io.IOException,
MXException
java.io.IOExceptionMXExceptionprotected java.util.Properties loadSchedulerProperties()
throws java.io.IOException,
MXException
java.io.IOExceptionMXExceptionpublic java.lang.String loadTemplate(java.lang.String id)
throws java.io.IOException,
MXException
java.io.IOExceptionMXExceptionpublic java.lang.String loadTooltip(java.lang.String id)
throws java.io.IOException,
MXException
java.io.IOExceptionMXExceptionpublic SKDAppServiceBeanRemote getSKDAppServiceBean() throws MXException, java.io.IOException
MXExceptionjava.io.IOExceptionpublic static SKDAppServiceBeanRemote getSKDAppServiceBean(WebClientSession wcs) throws MXException, java.io.IOException
session - HttpSessionMXExceptionjava.io.IOExceptionpublic static boolean isAiviationLicensePresent(WebClientSession sess) throws java.lang.Exception, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionjava.lang.Exceptionpublic static boolean isAiviationMROLicensePresent(WebClientSession sess) throws java.lang.Exception, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionjava.lang.Exceptionpublic static boolean isLicensePresent(WebClientSession sess, java.lang.String lic) throws java.lang.Exception, java.rmi.RemoteException
java.lang.Exceptionjava.rmi.RemoteExceptionpublic static boolean isLicensePresent(java.lang.String lic)
throws java.lang.Exception,
java.rmi.RemoteException
java.lang.Exceptionjava.rmi.RemoteExceptionpublic java.lang.String resolveTemplate(java.lang.String templateName,
MboRemote projectMbo)
SKDTemplateResolverresolveTemplate in interface SKDTemplateResolverpublic void setupBean(WebClientSession wcs)
DataBeanpublic void initializeProjectData()
protected TreeGridUtil.ITGSerializationHelper createSerializationHelper(UserInfo userInfo)
protected UIOptions createUIOptions(java.lang.String projectId) throws MXException, java.io.IOException
projectId - MXExceptionjava.io.IOExceptionprotected UIOptions getUIOptions(java.lang.String projectId) throws java.io.IOException, MXException
projectId - java.io.IOExceptionMXExceptionprotected void refreshToolbarItems(UIOptions uiOptions2)
uiOptions2 - public UIOptions getUIOptions()
protected void addResourceDisplay(UIOptions opts)
public void setSerializationHelper(MXSerializationHelper mxSerializationHelper)
public void clearSavedState()
public java.lang.String getApplicationResource(java.lang.String path)
public java.util.List getShiftWorkPeriodInfoForDate(IMXGanttModel sched, java.util.Properties props, java.util.Date d) throws java.io.IOException
sched - Scheduleprops - Schedule Propertiesd - date in schedulejava.io.IOExceptionpublic DynamicTooltip getTooltipForDateInSchedule(IMXGanttModel schedule, java.util.Properties props, long date) throws MXException, java.rmi.RemoteException, java.lang.InterruptedException, java.util.concurrent.ExecutionException
MXExceptionjava.rmi.RemoteExceptionjava.lang.InterruptedExceptionjava.util.concurrent.ExecutionExceptionpublic abstract Range getActualStartEnd()
public abstract Range getCalculatedProjectMinMax()
public WebClientSession getClientSession()
public Supplier beanSupplier()
public Supplier uiOptionsSupplier()
public AbstractTreeGridMiniAppBean.ShiftInfo getShiftWorkPeriodInfoForDate(IMXGanttModel model, java.util.Date d) throws java.io.IOException
gantt - model - java.io.IOExceptionpublic AbstractTreeGridMiniAppBean.ShiftInfo getShiftWorkPeriodInfoForDate(IMXResource mxr, IMXGanttModel model, java.util.Date d) throws java.io.IOException
gantt - model - java.io.IOExceptionpublic IMXActivity getModAvailForDate(IMXResource mxr, IMXGanttModel model, java.util.Date d)
public AbstractTreeGridMiniAppBean.ShiftInfo getShiftBreakInfoForDate(IMXResource mxr, IMXGanttModel model, java.util.Date d) throws java.io.IOException
gantt - model - java.io.IOExceptionprotected DynamicTooltip getTooltip(WebClientSession sess, IMXGanttModel model, java.lang.String col, java.lang.String id) throws MXException, java.rmi.RemoteException, java.lang.InterruptedException, java.util.concurrent.ExecutionException
sess - model - col - id - MXExceptionjava.rmi.RemoteExceptionjava.lang.InterruptedExceptionjava.util.concurrent.ExecutionExceptionpublic void updateDateTimeProperty(java.lang.String prop,
com.ibm.json.java.JSONObject obj,
IMXActivity act)
public void updateStringProperty(java.lang.String prop,
com.ibm.json.java.JSONObject obj,
IMXActivity act,
boolean acceptEmptyString)
public boolean updateIntProperty(java.lang.String prop,
com.ibm.json.java.JSONObject obj,
IMXActivity act)
prop - obj - act - public void updateBooleanProperty(java.lang.String prop,
com.ibm.json.java.JSONObject obj,
IMXActivity act)
public static java.lang.String CfgId(java.lang.String base)
public MboRemote getProjectMbo() throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXException