public class SKDProjectAppBean extends AppBean
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 |
---|
SKDProjectAppBean() |
Modifier and Type | Method and Description |
---|---|
int |
applink()
Handler for the applink event.
|
void |
appsSigOptionAccessAuthorized(java.lang.String objName,
java.lang.String sigoption,
java.lang.String siteId) |
int |
ASGNEWPRNT()
Validates if the user has security access to perform the Assign to New Parent action.
|
int |
ASSIGN()
Validates if the user has security access to perform the Manage Assignments action.
|
int |
calculatelaborhrs()
Calculate Labor Hours
|
int |
calculatewocost()
Calculate WO Cost
|
int |
calculatewocostall()
Calculate WO Cost for both scenarios to compare
|
void |
checkActionAccess(java.lang.String sigoption)
Checks the mbo record to see if the user has access to perform the action.
|
void |
checkActionAccess(java.lang.String sigoption,
MboRemote mboRemote)
Checks the mbo record to see if the user has access to perform the action.
|
void |
checkESigAccess(java.lang.String sigoption) |
void |
checkESigAccess(java.lang.String sigoption,
MboRemote mboRemote)
Checks the mbo record to see if the user has access to perform the action.
|
void |
checkPMActionAccess(java.lang.String sigoption)
Checks the mbo record to see if the user has access to perform the action.
|
void |
checkSameType(boolean initWF)
Validates that multiple records selected contain the same woclass.
|
void |
checkStatus(boolean doCheck)
Set boolean if check status is required on COMMIT
|
java.lang.String |
checkTaskSelected(java.lang.String[] selectedRecords)
Check if selected records are tasks only
|
java.lang.String |
checkWOSelected(java.lang.String[] selectedRecords)
Check if selected records have at least one record, which is not a task MISHA!!!
|
int |
CLEAR()
Clears current data
|
int |
COMMIT()
Commits project data by submitting an async process
|
int |
commitfailed() |
int |
COMMSELECTED() |
int |
COMMSELECTEDPM() |
int |
COMPARE() |
int |
CREATECHG()
Validates if the user has security access to perform the Create Change action.
|
int |
CREATECOMM()
Validates if the user has security access to perform the Create Communication action.
|
int |
CREATEINCT()
Validates if the user has security access to perform the Create Incident action.
|
int |
CREATEJP()
Validates if the user has security access to perform the Create Job Plan action.
|
int |
CREATEPROB()
Validates if the user has security access to perform the Create Problem action.
|
int |
CREATEREL()
Validates if the user has security access to perform the Create Release action.
|
SKDAppServiceRemote |
createSKDAppService(javax.servlet.http.HttpSession session) |
int |
CREATESLR()
Create Street Level Routes based on SKDProject information
|
int |
CREATESREQ()
Validates if the user has security access to perform the Create Service Request action.
|
int |
CREATEWO()
Validates if the user has security access to perform the Create Work Order action.
|
int |
DELETE() |
int |
DUPESCHEDL()
For 'Duplicate Schedule'
When this dialog is called, we will Duplicate the Schedule and also skdAppService.duplicateProjectData()
|
int |
endcompliance()
End the Schedule Compliance
|
java.util.Set<java.lang.Long> |
getSelectedScenarios()
Gets the current Set of selected scenarios.
|
SKDAppServiceRemote |
getSKDAppService() |
SKDAppServiceBeanRemote |
getSKDAppServiceBean() |
void |
initializeApp()
Set the initial query to DFLTSCENARIO=Y
|
boolean |
isCommitInProgress() |
int |
ITEMAVAIL()
Validates if the user has security access to perform the View Item Availability action.
|
int |
LIST_ASGNEWPRNT()
Checks the records to see that similar class records are selected and executes the Assign New Parent dialog.
|
int |
LIST_COMMSELECTED()
Perform the Commit Selected WOs action for multiple records selected
|
int |
LIST_COMMSELECTEDPM()
Perform the Commit Selected PMs action for multiple records selected
|
int |
LIST_MODIFYWO()
Validates if the user has security access to perform the Modify Work Detail action.
|
int |
LIST_OWNER()
Checks the records to see that similar class records are selected and executes the Select Owner dialog.
|
int |
LIST_REMOVE()
Perform the Remove from Schedule action for multiple records selected
|
int |
LIST_STATUS()
Checks the records to see that similar class records are selected and executes the Change Status dialog.
|
int |
LIST_WFINIT()
Checks the records to see that similar class records are selected and executes the Initiate Workflow dialog.
|
int |
MODIFYWO()
Validates if the user has security access to perform the Modify Work Detail action.
|
int |
MOVETODFLT()
Move to the default Scenario project
|
int |
ODMERUNMON() |
int |
OWNER()
Validates if the user has security access to perform the Select Owner action.
|
int |
PUBLISH()
Publish project
|
int |
REFRESH() |
int |
REFRESHALL()
EVENT:REFRESHALL: This method will refresh the data.
|
int |
REMOVE()
Validates if the user has security access to perform the Remove from Scheduler action.
|
static java.lang.String |
replaceString(java.lang.String str,
java.lang.String pattern,
java.lang.String replacement)
Replace all occurrences of a pattern string with a replacement string.
|
int |
RUNOPTMZ() |
void |
save()
This is called if there is any unsaved data and a user on list tab.
|
int |
SAVE() |
boolean |
saveYesNoCheck()
Checks the AppBean to see if it needs to be saved.
|
int |
SCENARIO()
Create Scenario project
|
int |
searchwork()
Handler for the searchwork event.
|
void |
sentViewScenarioEvent(java.lang.String selectedScenarioProject,
MboRemote defaultSKDProject)
Sent view)scenario event to applet
|
void |
setRefreshAll(boolean refreshAll)
set refressh all flag
|
void |
setSelectedIDsforPM(java.lang.String[] selectedRecords)
Set selected IDs for PM
|
void |
setupBean(WebClientSession wcs)
This method must be call after the bean is instantiated.
|
int |
skdProjectDataChange() |
int |
skdSaveYesNoCheck()
If the Scheduler's GanttView model is modified and user navigates to the Schedule tab,
on schedule tab if any of the Schedule-Query information is modified, we come here.
|
int |
SNAPSHOT()
Create Snapshot project
|
int |
solutionsTabChanged()
This event is called from GanttView.
|
int |
startcompliance()
Start the Schedule Compliance
|
int |
STATUS()
Validates if the user has security access to perform the change status action.
|
void |
structureChangedEvent(DataBean speaker)
If the user is on Gantt view tab, and navigating between the projects using Previous and Next buttons,
we will verify if the 'Refresh When Opening Gantt View?' is checked, If yes then updateProjectData()
|
int |
SWSCEN()
Qiuck swith to another scenario or popup manage scenarios dialog
|
boolean |
toBeSaved()
Returns whether the MboSet or it's children need to be saved.
|
int |
WFINIT()
Validates if the user has security access to perform the Initiate Work Flow action.
|
addrow, autoInitiateWorkflow, BOOKMARK, canExit, canSaveBasedOnLocks, clearfilter, convertPortalParameters, DUPLICATE, ensureRecord, find, fireStructureChangedEvent, FLTRLASET, getCurrentQueryDescription, getCurrentQueryName, getCurrentRow, getKPIId, getKPISelect, getKPIWhere, getMboSet, getPortalEvent, getQueryOption, getQuickFindRemote, getRecordLockProperties, getResultsBean, hasModifications, hasSaveAccess, hasSigOptionAccess, hasSigOptionAccess, hasStartRecord, HELPWF, inboxwf, initQuickFIndRemote, insert, INSERT, isEmpty, isUserWhereClauseThroughIntegration, launchwf, MODIFYSLAS, moveToUniqueId, NAVHISTORY, NEXT, PREVIOUS, RECORDLOCK, RECUNLOCK, refreshFieldErrors, reset, RESULTS, returnnovalue, returntoapp, returnwithvalue, ROUTEWF, RUNAREPORT, RUNREPORTBYNAME, RUNREPORTS, saveattachment, saveYesNoInteractionCheck, SEARCHATTR, SEARCHMORE, SEARCHWHER, setDefaultQbe, setFilterCleared, setKPIId, setQueryOption, setupBean, setUserWhereClauseThroughIntegration, STOPWF, STRECLOCK, submitPrintJob, 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, 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, valueUnbound
getCreator, getId, setCreator, setId
public void initializeApp() throws MXException, java.rmi.RemoteException
initializeApp
in class AppBean
MXException
java.rmi.RemoteException
public int SAVE() throws MXException, java.rmi.RemoteException
SAVE
in class AppBean
MXException
java.rmi.RemoteException
public int REFRESH() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int REFRESHALL() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void appsSigOptionAccessAuthorized(java.lang.String objName, java.lang.String sigoption, java.lang.String siteId) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void checkESigAccess(java.lang.String sigoption, MboRemote mboRemote) throws MXException, java.rmi.RemoteException
sigoption
- Sigoption of the action to be performedmboRemote
- Mbo which the action is to be executed for.MXException
java.rmi.RemoteException
public void checkESigAccess(java.lang.String sigoption) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void checkActionAccess(java.lang.String sigoption, MboRemote mboRemote) throws MXException, java.rmi.RemoteException
sigoption
- Sigoption of the action to be performedmboRemote
- Mbo which the action is to be executed for.MXException
java.rmi.RemoteException
public void checkActionAccess(java.lang.String sigoption) throws MXException, java.rmi.RemoteException
sigoption
- Sigoption of the action to be performedmboRemote
- Mbo which the action is to be executed for.MXException
java.rmi.RemoteException
public void checkPMActionAccess(java.lang.String sigoption) throws MXException, java.rmi.RemoteException
sigoption
- Sigoption of the action to be performedmboRemote
- Mbo which the action is to be executed for.MXException
java.rmi.RemoteException
public int OWNER() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int LIST_OWNER() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int LIST_ASGNEWPRNT() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int CREATEJP() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int ITEMAVAIL() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int ASGNEWPRNT() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int ASSIGN() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int LIST_STATUS() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int LIST_WFINIT() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void checkSameType(boolean initWF) throws MXException, java.rmi.RemoteException
initWF
- False when not checking records for the initiate workflow action.MXException
java.rmi.RemoteException
public int STATUS() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int WFINIT() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int CREATECHG() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int CREATEPROB() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int CREATEINCT() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int CREATESREQ() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int CREATEREL() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int CREATECOMM() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int COMMSELECTED() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int COMMSELECTEDPM() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setSelectedIDsforPM(java.lang.String[] selectedRecords) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String checkWOSelected(java.lang.String[] selectedRecords) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int LIST_COMMSELECTED() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int LIST_COMMSELECTEDPM() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int LIST_REMOVE() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int REMOVE() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String checkTaskSelected(java.lang.String[] selectedRecords) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int CREATEWO() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int LIST_MODIFYWO() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int MODIFYWO() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int CLEAR() throws MXException, java.rmi.RemoteException
CLEAR
in class AppBean
MXException
java.rmi.RemoteException
public int PUBLISH() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int SCENARIO() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int MOVETODFLT() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void sentViewScenarioEvent(java.lang.String selectedScenarioProject, MboRemote defaultSKDProject) throws MXException, java.rmi.RemoteException
selectedScenarioProject
- defaultSKDProject
- MXException
java.rmi.RemoteException
public int SNAPSHOT() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int COMMIT() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setupBean(WebClientSession wcs)
DataBean
public SKDAppServiceBeanRemote getSKDAppServiceBean()
public SKDAppServiceRemote getSKDAppService()
public SKDAppServiceRemote createSKDAppService(javax.servlet.http.HttpSession session)
public static java.lang.String replaceString(java.lang.String str, java.lang.String pattern, java.lang.String replacement)
String
- str - String to searchString
- pattern - string to replaceString
- replacement - string to replace patter withpublic int applink() throws java.rmi.RemoteException, MXException
It is expected that only textbox components will be receiving this event. Only textbox.jsp checks for the flag set here
MXException
java.rmi.RemoteException
public int searchwork() throws java.rmi.RemoteException, MXException
MXException
java.rmi.RemoteException
public boolean toBeSaved() throws MXException
DataBean
toBeSaved
in class AppBean
MXException
public int DUPESCHEDL() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int solutionsTabChanged() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void structureChangedEvent(DataBean speaker)
structureChangedEvent
in interface DataBeanListener
structureChangedEvent
in class AppBean
speaker
- SKDProjectResultsBeanpublic int skdSaveYesNoCheck() throws MXException
MXException
public void save() throws MXException
save
in class AppBean
MXException
public boolean isCommitInProgress() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int DELETE() throws MXException, java.rmi.RemoteException
DELETE
in class AppBean
MXException
java.rmi.RemoteException
public boolean saveYesNoCheck() throws MXException
AppBean
saveYesNoCheck
in class AppBean
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 int skdProjectDataChange() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int commitfailed() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int CREATESLR() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int startcompliance() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int endcompliance() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int calculatewocost() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int calculatelaborhrs() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int calculatewocostall() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void checkStatus(boolean doCheck) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int COMPARE() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.Set<java.lang.Long> getSelectedScenarios()
public int RUNOPTMZ() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setRefreshAll(boolean refreshAll)
public int SWSCEN() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int ODMERUNMON() throws java.rmi.RemoteException, java.io.IOException, javax.servlet.ServletException
java.rmi.RemoteException
java.io.IOException
javax.servlet.ServletException