public class AppBean extends DataBean
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DIRECTPRINT_LINK |
static java.lang.String |
DIRECTPRINT_WATTACH_LINK |
static int |
LONG_OP_INPRG
Long operation in progress
|
static int |
LONG_OP_READY
Long operation has been initialized
|
static int |
QUERY_ALL |
static int |
QUERY_ALL_BOOKMARKS |
static int |
QUERY_KEY |
static int |
QUERY_NONE |
static java.lang.String |
QUICK_LINK |
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_SUBSELECTEVENT_CONTINUE, EVENT_HANDLED, EVENT_STOP_ALL| Constructor and Description |
|---|
AppBean() |
| Modifier and Type | Method and Description |
|---|---|
int |
addrow() |
void |
autoInitiateWorkflow()
Start workflow automatically when a new MBO is saved.
|
int |
BOOKMARK() |
boolean |
canExit()
Called when leaving the application
|
boolean |
canSaveBasedOnLocks() |
int |
CLEAR() |
int |
clearfilter() |
void |
convertPortalParameters(WebClientSession wcs)
Convert the Parameters Passed into this app from another external application to values
Maximo can understand.
|
int |
DELETE() |
int |
DUPLICATE() |
void |
ensureRecord()
This is used to load the first record in the appbean if the
appbean doesn't have a table associated with it and it
doesn't have a resultsbean associated with it.
|
int |
find() |
void |
fireStructureChangedEvent(DataBean speaker)
tells all listeners that this DataBean refrerences a new mbo or mboSetRemote
|
int |
FLTRLASET() |
java.lang.String |
getCurrentQueryDescription() |
java.lang.String |
getCurrentQueryName() |
int |
getCurrentRow()
Returns the current row.
|
long |
getKPIId()
Returns the unique id of the KPI that has just been created
|
java.lang.String |
getKPISelect()
Returns the default select clause to be used in CREATE KPI.
|
java.lang.String |
getKPIWhere()
Returns the User and QBE where clause on the basis of which current
application is showing data.
|
MboSetRemote |
getMboSet()
Return's whether or not the MboSetRemote is null.
|
java.lang.String |
getPortalEvent(DataBean speaker) |
int |
getQueryOption()
Return the query option
|
MboSetRemote |
getQuickFindRemote() |
com.ibm.json.java.JSONObject |
getRecordLockProperties() |
ResultsBean |
getResultsBean() |
boolean |
hasModifications()
Checks all the beans in the app to see if they need to be saved.
|
boolean |
hasSaveAccess() |
boolean |
hasSigOptionAccess(int row,
java.lang.String sigOption)
Returns true if the user has record level privileges for a given sigoption on the given mbo.
|
boolean |
hasSigOptionAccess(int row,
java.lang.String sigOption,
boolean checkAppLevel)
Returns true if the user has record level privileges for a given sigoption on the given mbo.
|
boolean |
hasStartRecord(long uniqueId) |
int |
HELPWF()
Special action to show workflow help
|
int |
inboxwf()
action to perform when brung up a record from the inbox
|
void |
initializeApp()
This method is called when the presentations "main" page is initalized and before the page is rendered.
|
MboSetRemote |
initQuickFIndRemote()
Added to provide a way for users to control quickfind mbo which is not needed in some cases.
|
void |
insert()
Inserts a row at the begining of the MboSet.
|
int |
INSERT() |
boolean |
isEmpty()
Returns try if mboset has no members
|
boolean |
isUserWhereClauseThroughIntegration() |
int |
launchwf()
Special action to launch a Workflow process directly
|
int |
MODIFYSLAS()
Handles the "Apply SLA" action in ticket, wo etc apps.
|
int |
moveToUniqueId(long uniqueId)
Moves to the record with the passed in uniqueid .
|
int |
NAVHISTORY()
The NAVHISTORY event is used by the NAVHISTORY sigoption and toolbar menu item.
|
int |
NEXT() |
int |
PREVIOUS() |
int |
RECORDLOCK() |
int |
RECUNLOCK() |
void |
refreshFieldErrors() |
void |
reset()
Resets the MboSet.
|
int |
RESULTS() |
int |
returnnovalue() |
int |
returntoapp() |
int |
returnwithvalue() |
int |
ROUTEWF() |
int |
RUNAREPORT() |
int |
RUNREPORTBYNAME() |
int |
RUNREPORTS() |
void |
save()
Needs it's own version of save to insure the proper record is set.
|
int |
SAVE() |
void |
saveattachment()
Used by adding attachment.
|
boolean |
saveYesNoCheck()
Checks the AppBean to see if it needs to be saved.
|
boolean |
saveYesNoInteractionCheck()
Checks the AppBean to see if it needs to be saved.
|
int |
SEARCHATTR() |
int |
SEARCHMORE() |
int |
SEARCHWHER() |
void |
setDefaultQbe(java.lang.String attribute,
java.lang.String expression) |
void |
setFilterCleared() |
void |
setKPIId(long newId)
Sets the unique id of the KPI that has just been created.
|
void |
setQueryOption(int option)
Set the query option
|
void |
setupBean(SessionContext sc)
Deprecated.
FIREFOX
|
void |
setupBean(WebClientSession wcs)
This method must be call after the bean is instantiated.
|
void |
setUserWhereClauseThroughIntegration(boolean userWhereClauseThroughIntegration) |
int |
STOPWF()
Response to the Workflow Stop action.
|
int |
STRECLOCK() |
void |
structureChangedEvent(DataBean speaker)
Event called by the "resultsBean" DataBean which tells this DataBean that it references a new mbo or
MboSetRemote.
|
int |
submitPrintJob()
Call the external JSP/Applet to print the report.
|
boolean |
toBeSaved()
Returns whether the MboSet or it's children need to be saved.
|
int |
toggledeleterow() |
void |
updateForRecordLock(ControlInstance control) |
_useAllBookmarksQuery, _useAllRecsQuery, _usequery, addAttribute, addConditionalProperties, addDialogReference, addListener, addQbeAttribute, 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, clearSavedFilterSettings, clearSavedQbeSettings, close, copytonewrow, count, dataChangedEvent, delete, delete, deleteAndRemove, deleteAndRemove, displaycount, duplicateMbo, execute, fetchRecordData, fetchTableData, fetchTableData, filterrows, findAndCallMethod, fireChildChangedEvent, fireDataChangedEvent, fireDataChangedEvent, fireStructureChangedEvent, getAppWhere, getAttributes, getBoolean, getBoolean, getCacheRowIndex, getColumnDate, getColumnString, getCompleteWhere, getConditionalProperties, 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, getMboSetData, getMboSetFromSmartFind, getMboSetFromSmartFind, getMboSetFromSmartFind, getMboValueData, getMboValueData, getMboValueInfo, getMXSession, getNullRequiedFields, getOrderBy, getPageEndRow, getPageRowCount, getPageStartIndex, getParent, getQbe, getQbe, getQbeAttributes, getQueryDescBeforeReviseAction, getQueryNameBeforeReviseAction, getRemoteForDownload, getRemoteForLookup, getReturnAttribute, getReturnComponent, getReturnComponentId, getReturnControlId, getRowIndexFromEvent, 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, hierarchicalmove, highlightrow, highlightrow, insert, insertAtEnd, instantdelete, isAppTableRetain, isAttribute, isAttributeHidden, isAttributeHidden, isColumnSorted, isListTableModified, isListTableRetain, 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, refreshTable, registerDynamicControlsWithERM, reloadTable, removeDialogReference, removeListener, removeRowOnCancel, rePosition, resetJSPFlags, resetQbe, resetWithSelection, restoreSavedQbeSettings, returnLookupValue, returnLookupValue, returnLookupValue, returnLookupValue, save, saveCurrentQbeSettings, scrollnext, scrollprev, select, select, selectAll, selectrecord, selectRows, sendRefreshTable, setApp, setAppDefault, setAppDefaults, setApplicationError, setAppWhere, setAsyncLock, setAttributes, setCurrentQueryDescription, setCurrentRow, setDate, setDate, setDate, setDefaultOrderBy, 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, setUserDefaults, setUserWhere, setvalue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueFromComponent, smartFill, smartFill, sort, sort, sortcolumn, sortcolumn, sqlwhere, toggledetailstate, toggleselectallrows, toggleselectrow, toString, turnEmptyStateOn, unbindComponent, undelete, undelete, unselect, unselect, unselectAll, useAllBookmarksQuery, useAllRecsQuery, useqbe, usequery, useQuery, useStoredQuery, validate, validateChildren, validateMbo, valueBound, valueUnboundgetCreator, getId, setCreator, setIdpublic static final int QUERY_NONE
public static final int QUERY_ALL
public static final int QUERY_KEY
public static final int QUERY_ALL_BOOKMARKS
public static final java.lang.String QUICK_LINK
public static final java.lang.String DIRECTPRINT_LINK
public static final java.lang.String DIRECTPRINT_WATTACH_LINK
public static final int LONG_OP_READY
public static final int LONG_OP_INPRG
public int getQueryOption()
public void setQueryOption(int option)
public void setupBean(WebClientSession wcs)
DataBeanpublic void setupBean(SessionContext sc)
public boolean hasStartRecord(long uniqueId)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void initializeApp()
throws MXException,
java.rmi.RemoteException
Only on the first initialize the method also checks for these mutually exclusiive special conditions:
A subsequent call to initializeApp() will not check for these conditions, causing the default reset to happen
MXExceptionjava.rmi.RemoteExceptionpublic void structureChangedEvent(DataBean speaker)
structureChangedEvent in interface DataBeanListenerstructureChangedEvent in class DataBeanpublic void fireStructureChangedEvent(DataBean speaker)
DataBeanfireStructureChangedEvent in class DataBeanpublic void reset()
throws MXException
DataBeanreset in class DataBeanMXExceptionpublic MboSetRemote getMboSet() throws MXException, java.rmi.RemoteException
getMboSet in class DataBeanMXExceptionjava.rmi.RemoteExceptionpublic void save()
throws MXException
save in class DataBeanMXExceptionpublic void saveattachment()
throws MXException
MXExceptionpublic void autoInitiateWorkflow()
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic void convertPortalParameters(WebClientSession wcs)
public java.lang.String getPortalEvent(DataBean speaker)
public int getCurrentRow()
DataBeangetCurrentRow in class DataBeanpublic boolean isEmpty()
throws MXException,
java.rmi.RemoteException
DataBeanisEmpty in class DataBeanMXExceptionjava.rmi.RemoteExceptionpublic boolean saveYesNoCheck()
throws MXException
MXApplicationYesNoCancelException - Thrown with "jspmessages" and one of "savecontinue",
"interactioncontinue", or "saveinteractioncontinue" if the user has unsaved changes and or
is in the middle of a workflow interaction.MXExceptionpublic boolean canSaveBasedOnLocks()
throws MXException
MXExceptionpublic boolean saveYesNoInteractionCheck()
throws MXException
MXApplicationYesNoCancelException - Thrown with "jspmessages" and one of "savecontinue",
"interactioncontinue", or "saveinteractioncontinue" if the user has unsaved changes and or
is in the middle of a workflow interaction.MXExceptionpublic boolean toBeSaved()
throws MXException
DataBeantoBeSaved in class DataBeanMXExceptionpublic int NEXT()
throws MXException
MXExceptionpublic int NAVHISTORY()
Menus for more information about the 'navhistory' menu.
<add_sigoption visible="false" app="ASSET"
optionname="NAVHISTORY" description="View History" grantapp="ASSET"
grantoption="READ" esigenabled="false" langcode="EN" />
insert into maxmenu (menutype, moduleapp, position,
subposition,elementtype, keyvalue, headerdescription, visible,
image, accesskey, tabdisplay,maxmenuid)
Values
('APPTOOL','ASSET',24,0,'OPTION','NAVHISTORY','','1','nav_icon_viewHistory.gif','','MAIN',maxmenuseq.nextval)
;
public int SAVE()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int RUNREPORTS()
public int RUNREPORTBYNAME()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int RUNAREPORT()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int PREVIOUS()
throws MXException
MXExceptionpublic void insert()
throws MXException,
java.rmi.RemoteException
DataBeaninsert in class DataBeanMXExceptionjava.rmi.RemoteExceptionpublic int INSERT()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int DELETE()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int addrow()
throws MXException
addrow in class DataBeanMXExceptionpublic int toggledeleterow()
throws MXException
toggledeleterow in class DataBeanMXExceptionpublic int DUPLICATE()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int CLEAR()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int BOOKMARK()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int RESULTS()
throws MXException
MXExceptionpublic int find()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int returnwithvalue()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int returnnovalue()
throws MXException
MXExceptionpublic int returntoapp()
throws MXException
MXExceptionpublic MboSetRemote getQuickFindRemote()
public void setDefaultQbe(java.lang.String attribute,
java.lang.String expression)
setDefaultQbe in class DataBeanpublic ResultsBean getResultsBean()
public int RECORDLOCK()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int RECUNLOCK()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int STRECLOCK()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic com.ibm.json.java.JSONObject getRecordLockProperties()
public void updateForRecordLock(ControlInstance control)
public int ROUTEWF()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int STOPWF()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int launchwf()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int SEARCHMORE()
throws MXException
MXExceptionpublic int SEARCHWHER()
throws MXException
MXExceptionpublic int SEARCHATTR()
throws MXException
MXExceptionpublic int FLTRLASET()
throws MXException
MXExceptionpublic void setKPIId(long newId)
newId - new KPI Unique Id as longpublic long getKPIId()
public java.lang.String getKPIWhere()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getKPISelect()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int MODIFYSLAS()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int moveToUniqueId(long uniqueId)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean canExit()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getCurrentQueryName()
getCurrentQueryName in class DataBeanpublic java.lang.String getCurrentQueryDescription()
getCurrentQueryDescription in class DataBeanpublic int HELPWF()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int inboxwf()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void ensureRecord()
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic void setFilterCleared()
public int clearfilter()
throws MXException
clearfilter in class DataBeanMXExceptionpublic boolean hasSaveAccess()
public int submitPrintJob()
MXExceptionjava.rmi.RemoteExceptionpublic boolean isUserWhereClauseThroughIntegration()
public void setUserWhereClauseThroughIntegration(boolean userWhereClauseThroughIntegration)
public boolean hasSigOptionAccess(int row,
java.lang.String sigOption,
boolean checkAppLevel)
throws java.rmi.RemoteException,
MXException
row - - The index of the mbo to do the check on.sigOption - - The sigoption that will be checked to see if the user has privileges for it, for the given Mbo.java.rmi.RemoteExceptionMXExceptionpublic boolean hasSigOptionAccess(int row,
java.lang.String sigOption)
throws java.rmi.RemoteException,
MXException
hasSigOptionAccess in class DataBeanrow - - The index of the mbo to do the check on.sigOption - - The sigoption that will be checked to see if the user has privileges for it, for the given Mbo.java.rmi.RemoteExceptionMXExceptionpublic void refreshFieldErrors()
throws java.rmi.RemoteException,
MXException
refreshFieldErrors in class DataBeanjava.rmi.RemoteExceptionMXExceptionpublic MboSetRemote initQuickFIndRemote() throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionpublic boolean hasModifications()