public class WOAppBean extends StatefulAppBean implements FollowUpWithRepairFacilities
statusChangeButtonSigoption, targetStatusOption
DIRECTPRINT_LINK, DIRECTPRINT_WATTACH_LINK, LONG_OP_INPRG, LONG_OP_READY, QUERY_ALL, QUERY_ALL_BOOKMARKS, QUERY_KEY, QUERY_NONE, 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 |
---|
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
|
int |
ENTERINSP()
Handles opening the Conduct an Inspection work center application in another browser window.
|
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 |
MANDWNTIME()
Determines whether or not action 'Manage Downtime History' (MANDWNTIME) can be
performed.
|
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 |
setInspFormNum(java.lang.String inspformnum)
Create a new inspection against the current App Mbo.
|
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, STATUSSUB
addrow, appinfo, autoInitiateWorkflow, BOOKMARK, canExit, canSaveBasedOnLocks, CLEAR, clearfilter, convertPortalParameters, ensureRecord, find, fireStructureChangedEvent, FLTRLASET, getAppInfo, 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, 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, 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, valueUnbound
getCreator, getId, setCreator, setId
public int DELETE() throws MXException, java.rmi.RemoteException
DELETE
in class AppBean
MXException
java.rmi.RemoteException
public int DUPLICATE() throws MXException, java.rmi.RemoteException
DUPLICATE
in class AppBean
MXException
java.rmi.RemoteException
public int DUPLICATECHECK() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int EDITHIST() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int REMOVEWP() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int REMOVESP() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
WO.userVerifiedRemoveSafetyPlan()
public int NEWWRKPKG() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int METERREAD() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int REPDOWN() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
WO.canReportDowntime()
public int MANDWNTIME() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
WO.canReportDowntime()
public int OWNERSHIP() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int STARTTIMER() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int STOPTIMER() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int SAVE() throws MXException, java.rmi.RemoteException
SAVE
in class AppBean
MXException
java.rmi.RemoteException
public int savewithoutalreadyreportedcheck() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int ASGNEWPRNT() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int MASSMOVE() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void resetMboSetRemote() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int createWorkorder() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote createFollowUp(MboSetRemote mboSet) throws java.rmi.RemoteException, MXException
FollowUpWithRepairFacilities
createFollowUp
in interface FollowUpWithRepairFacilities
java.rmi.RemoteException
MXException
public boolean canSaveFollowUp(MboRemote newWO) throws java.rmi.RemoteException, MXException
FollowUpWithRepairFacilities
canSaveFollowUp
in interface FollowUpWithRepairFacilities
java.rmi.RemoteException
MXException
public void beforeFollowUpSave(MboRemote newWO) throws java.rmi.RemoteException, MXException
FollowUpWithRepairFacilities
beforeFollowUpSave
in interface FollowUpWithRepairFacilities
java.rmi.RemoteException
MXException
public void afterFollowUpSave(MboRemote newWO) throws java.rmi.RemoteException, MXException
FollowUpWithRepairFacilities
afterFollowUpSave
in interface FollowUpWithRepairFacilities
java.rmi.RemoteException
MXException
public int createServiceRequest() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int createProblem() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int createIncident() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int createChange() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int createRelease() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int CREATECOMM() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int COPYLNK2WO() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboSetRemote getList(int row, java.lang.String attribute) throws MXException, java.rmi.RemoteException
getList
in class DataBean
MXException
java.rmi.RemoteException
public void setValue(int row, java.lang.String attribute, java.lang.String value, long accessModifier) throws MXException
setValue
in class DataBean
MXException
public MboSetRemote smartFill(int row, java.lang.String attribute, java.lang.String value, boolean exactMatch) throws MXException, java.rmi.RemoteException
smartFill
in class DataBean
MXException
java.rmi.RemoteException
public int returnLookupValue(MboRemote lookupMbo) throws MXException
returnLookupValue
in class DataBean
lookupMbo
- MXException
public boolean appSupportsRepairFacilities()
public int ENTERINSP() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setInspFormNum(java.lang.String inspformnum) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
- if an error occursMXException
- if an error occurs