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_SUBSELECT
EVENT_CONTINUE, EVENT_HANDLED, EVENT_STOP_ALL
Constructor and Description |
---|
AppBean() |
Modifier and Type | Method and Description |
---|---|
int |
addrow() |
int |
appinfo() |
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() |
com.ibm.json.java.JSONObject |
getAppInfo() |
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, 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, hierarchicalmove, highlightrow, highlightrow, insert, insertAtEnd, instantdelete, isAppTableRetain, isAttribute, isAttributeHidden, isAttributeHidden, isColumnSorted, 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, refreshTable, registerDynamicControlsWithERM, reloadTable, removeDialogReference, removeListener, removeRowOnCancel, rePosition, resetJSPFlags, resetQbe, resetWithSelection, restoreSavedQbeSettings, retainPosition, 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, valueUnbound
getCreator, getId, setCreator, setId
public 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)
DataBean
public void setupBean(SessionContext sc)
public boolean hasStartRecord(long uniqueId) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public 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
MXException
java.rmi.RemoteException
public void structureChangedEvent(DataBean speaker)
structureChangedEvent
in interface DataBeanListener
structureChangedEvent
in class DataBean
public void fireStructureChangedEvent(DataBean speaker)
DataBean
fireStructureChangedEvent
in class DataBean
public void reset() throws MXException
DataBean
reset
in class DataBean
MXException
public MboSetRemote getMboSet() throws MXException, java.rmi.RemoteException
getMboSet
in class DataBean
MXException
java.rmi.RemoteException
public void save() throws MXException
save
in class DataBean
MXException
public void saveattachment() throws MXException
MXException
public void autoInitiateWorkflow() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void convertPortalParameters(WebClientSession wcs)
public java.lang.String getPortalEvent(DataBean speaker)
public int getCurrentRow()
DataBean
getCurrentRow
in class DataBean
public boolean isEmpty() throws MXException, java.rmi.RemoteException
DataBean
isEmpty
in class DataBean
MXException
java.rmi.RemoteException
public 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.MXException
public boolean canSaveBasedOnLocks() throws MXException
MXException
public 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.MXException
public boolean toBeSaved() throws MXException
DataBean
toBeSaved
in class DataBean
MXException
public com.ibm.json.java.JSONObject getAppInfo() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int appinfo() throws MXException
MXException
public int NEXT() throws MXException
MXException
public 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
MXException
java.rmi.RemoteException
public int RUNREPORTS()
public int RUNREPORTBYNAME() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int RUNAREPORT() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int PREVIOUS() throws MXException
MXException
public void insert() throws MXException, java.rmi.RemoteException
DataBean
insert
in class DataBean
MXException
java.rmi.RemoteException
public int INSERT() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int DELETE() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int addrow() throws MXException
addrow
in class DataBean
MXException
public int toggledeleterow() throws MXException
toggledeleterow
in class DataBean
MXException
public int DUPLICATE() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int CLEAR() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int BOOKMARK() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int RESULTS() throws MXException
MXException
public int find() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int returnwithvalue() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int returnnovalue() throws MXException
MXException
public int returntoapp() throws MXException
MXException
public MboSetRemote getQuickFindRemote()
public void setDefaultQbe(java.lang.String attribute, java.lang.String expression)
setDefaultQbe
in class DataBean
public ResultsBean getResultsBean()
public int RECORDLOCK() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int RECUNLOCK() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int STRECLOCK() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public com.ibm.json.java.JSONObject getRecordLockProperties()
public void updateForRecordLock(ControlInstance control)
public int ROUTEWF() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int STOPWF() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int launchwf() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int SEARCHMORE() throws MXException
MXException
public int SEARCHWHER() throws MXException
MXException
public int SEARCHATTR() throws MXException
MXException
public int FLTRLASET() throws MXException
MXException
public void setKPIId(long newId)
newId
- new KPI Unique Id as longpublic long getKPIId()
public java.lang.String getKPIWhere() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getKPISelect() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int MODIFYSLAS() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int moveToUniqueId(long uniqueId) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean canExit() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getCurrentQueryName()
getCurrentQueryName
in class DataBean
public java.lang.String getCurrentQueryDescription()
getCurrentQueryDescription
in class DataBean
public int HELPWF() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int inboxwf() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void ensureRecord() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void setFilterCleared()
public int clearfilter() throws MXException
clearfilter
in class DataBean
MXException
public boolean hasSaveAccess()
public int submitPrintJob() throws MXException
MXException
java.rmi.RemoteException
public 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.RemoteException
MXException
public boolean hasSigOptionAccess(int row, java.lang.String sigOption) throws java.rmi.RemoteException, MXException
hasSigOptionAccess
in class DataBean
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.RemoteException
MXException
public void refreshFieldErrors() throws java.rmi.RemoteException, MXException
refreshFieldErrors
in class DataBean
java.rmi.RemoteException
MXException
public MboSetRemote initQuickFIndRemote() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public boolean hasModifications()