public class WOAppBean extends StatefulAppBean implements FollowUpWithRepairFacilities
statusChangeButtonSigoption, targetStatusOptionDIRECTPRINT_LINK, DIRECTPRINT_WATTACH_LINK, LONG_OP_INPRG, LONG_OP_READY, QUERY_ALL, QUERY_ALL_BOOKMARKS, QUERY_KEY, QUERY_NONE, QUICK_LINKALL_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 |
|---|
WOAppBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterFollowUpSave(MboRemote newWO)
Callback method to allow specific logic to be executed after the
generated work order is saved
|
boolean |
appSupportsRepairFacilities()
Says if the application controlled by this bean supports Repair Facilities
Applications that support Repair Facilities allow user to select assets from different sites and
have new work orders created
|
int |
ASGNEWPRNT() |
void |
beforeFollowUpSave(MboRemote newWO)
Callback method to allow specific logic to be executed before the
generated work order is saved
|
boolean |
canSaveFollowUp(MboRemote newWO)
Callback method that if the generated workorder can be saved
|
int |
COPYLNK2WO()
action COPYLNK2WO to copy doclinks from related objects to wo
|
int |
createChange() |
int |
CREATECOMM() |
MboRemote |
createFollowUp(MboSetRemote mboSet)
Adds new workorder records to the mboSet received as a parameter
|
int |
createIncident() |
int |
createProblem() |
int |
createRelease() |
int |
createServiceRequest() |
int |
createWorkorder() |
int |
DELETE() |
int |
DUPLICATE() |
int |
DUPLICATECHECK() |
int |
EDITHIST()
Provides the functionality for the 'Edit Work Order History' (EDITHIST)
action
|
MboSetRemote |
getList(int row,
java.lang.String attribute)
If Repair Facility maxvar is active, extends original functionality to return assets from all sites that belong to
the organization where the main record is in
|
int |
MASSMOVE() |
int |
METERREAD()
Provides the functionality for 'Enter Meter Readings' (METERREAD)
action
|
int |
NEWWRKPKG()
Provides the functionality for the 'Create Work package' (NEWWRKPKG)
action
|
int |
OWNERSHIP()
Take Ownership gets called from list page or main record
|
int |
REMOVESP()
Provides the functionality for the 'Remove Safety Plan' (REMOVESP)
action issue#027998
|
int |
REMOVEWP()
Provides the functionality for the 'Remove Work Plan' (REMOVEWP) action
|
int |
REPDOWN()
Determines whether or not action 'Report Downtime' (REPDOWN) can be
performed.
|
void |
resetMboSetRemote()
This method is used to reset the current record after a task changes
status in the task table.
|
int |
returnLookupValue(MboRemote lookupMbo)
Checks if the parameter is an asset record for updating the assetnum
field from the current workorder If the Repair Facility maxvar is
active and the record belongs to a different site, this method throws
a message to ask user if he wants to discard the current workorder and
have a new one created for the asset
The intent is to cover:
- Asset Lookup
- "Classification Search" dialog
- "Attribute Search" dialog
- "Return With Value" option from Asset application (ideally)
|
int |
SAVE() |
int |
savewithoutalreadyreportedcheck() |
void |
setValue(int row,
java.lang.String attribute,
java.lang.String value,
long accessModifier)
Checks if the parameter is an asset record for updating the assetnum
field from the current workorder.
|
MboSetRemote |
smartFill(int row,
java.lang.String attribute,
java.lang.String value,
boolean exactMatch)
Checks if the parameter is an asset record for updating the assetnum
field from the current workorder.
|
int |
STARTTIMER() |
int |
STOPTIMER() |
APPR, APPROVE, CLOSE, CLOSED, COMP, COMPLETE, INIT, INPROG, PAID, PENDING, QUEUED, RESOLVED, SENT, STATUS, STATUSSUBaddrow, autoInitiateWorkflow, BOOKMARK, canExit, canSaveBasedOnLocks, CLEAR, clearfilter, convertPortalParameters, ensureRecord, find, fireStructureChangedEvent, FLTRLASET, getCurrentQueryDescription, getCurrentQueryName, getCurrentRow, getKPIId, getKPISelect, getKPIWhere, getMboSet, getPortalEvent, getQueryOption, getQuickFindRemote, getRecordLockProperties, getResultsBean, hasModifications, hasSaveAccess, hasSigOptionAccess, hasSigOptionAccess, hasStartRecord, HELPWF, inboxwf, initializeApp, initQuickFIndRemote, insert, INSERT, isEmpty, isUserWhereClauseThroughIntegration, launchwf, MODIFYSLAS, moveToUniqueId, NAVHISTORY, NEXT, PREVIOUS, RECORDLOCK, RECUNLOCK, refreshFieldErrors, reset, RESULTS, returnnovalue, returntoapp, returnwithvalue, ROUTEWF, RUNAREPORT, RUNREPORTBYNAME, RUNREPORTS, save, saveattachment, saveYesNoCheck, saveYesNoInteractionCheck, SEARCHATTR, SEARCHMORE, SEARCHWHER, setDefaultQbe, setFilterCleared, setKPIId, setQueryOption, setupBean, setupBean, setUserWhereClauseThroughIntegration, STOPWF, STRECLOCK, structureChangedEvent, submitPrintJob, toBeSaved, toggledeleterow, updateForRecordLock_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, 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, 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, setValueFromComponent, 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 int DELETE()
throws MXException,
java.rmi.RemoteException
DELETE in class AppBeanMXExceptionjava.rmi.RemoteExceptionpublic int DUPLICATE()
throws MXException,
java.rmi.RemoteException
DUPLICATE in class AppBeanMXExceptionjava.rmi.RemoteExceptionpublic int DUPLICATECHECK()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int EDITHIST()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int REMOVEWP()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int REMOVESP()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionWO.userVerifiedRemoveSafetyPlan()public int NEWWRKPKG()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int METERREAD()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int REPDOWN()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionWO.canReportDowntime()public int OWNERSHIP()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int STARTTIMER()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int STOPTIMER()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int SAVE()
throws MXException,
java.rmi.RemoteException
SAVE in class AppBeanMXExceptionjava.rmi.RemoteExceptionpublic int savewithoutalreadyreportedcheck()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int ASGNEWPRNT()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int MASSMOVE()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void resetMboSetRemote()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int createWorkorder()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboRemote createFollowUp(MboSetRemote mboSet) throws java.rmi.RemoteException, MXException
FollowUpWithRepairFacilitiescreateFollowUp in interface FollowUpWithRepairFacilitiesjava.rmi.RemoteExceptionMXExceptionpublic boolean canSaveFollowUp(MboRemote newWO) throws java.rmi.RemoteException, MXException
FollowUpWithRepairFacilitiescanSaveFollowUp in interface FollowUpWithRepairFacilitiesjava.rmi.RemoteExceptionMXExceptionpublic void beforeFollowUpSave(MboRemote newWO) throws java.rmi.RemoteException, MXException
FollowUpWithRepairFacilitiesbeforeFollowUpSave in interface FollowUpWithRepairFacilitiesjava.rmi.RemoteExceptionMXExceptionpublic void afterFollowUpSave(MboRemote newWO) throws java.rmi.RemoteException, MXException
FollowUpWithRepairFacilitiesafterFollowUpSave in interface FollowUpWithRepairFacilitiesjava.rmi.RemoteExceptionMXExceptionpublic int createServiceRequest()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int createProblem()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int createIncident()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int createChange()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int createRelease()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int CREATECOMM()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int COPYLNK2WO()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote getList(int row, java.lang.String attribute) throws MXException, java.rmi.RemoteException
getList in class DataBeanMXExceptionjava.rmi.RemoteExceptionpublic void setValue(int row,
java.lang.String attribute,
java.lang.String value,
long accessModifier)
throws MXException
setValue in class DataBeanMXExceptionpublic MboSetRemote smartFill(int row, java.lang.String attribute, java.lang.String value, boolean exactMatch) throws MXException, java.rmi.RemoteException
smartFill in class DataBeanMXExceptionjava.rmi.RemoteExceptionpublic int returnLookupValue(MboRemote lookupMbo) throws MXException
returnLookupValue in class DataBeanlookupMbo - MXExceptionpublic boolean appSupportsRepairFacilities()