public class SearchBean extends AppBean
bookmarkBean, DIRECTPRINT_LINK, DIRECTPRINT_WATTACH_LINK, LOG_CATEGORY, LONG_OP_INPRG, LONG_OP_READY, noResultSet, qbeBean, QUERY_ALL, QUERY_ALL_BOOKMARKS, QUERY_KEY, QUERY_NONE, QUICK_LINK, quickFindRemote, resultsBean
ALL_BOOKMARKS, ALL_RECORDS, alwaysSelected, app, appDefaultValues, appName, appWhere, ATTR_COLUMN, ATTR_DEFAULT, ATTR_QBE, ATTR_READONLY, ATTR_REFRESH_TABLE, ATTR_REQUIRED, ATTR_RESET, attributes, boundAttributes, boundInputs, closingBean, conditionallyRequired, creatingEvent, currentQuery, currentQueryDescription, currentRecordData, currentRow, defaultDynamicQbe, defaultOrderBy, defaultQbe, defaultUserValues, descAttributeId, designerMboName, dialogReferences, dynamicDefaults, emptyOnClear, ermEntity, esigvalidated, eventrow, fetchData, globalAppTableRetain, hasTableData, hasUnappliedAppDefaults, hasUnappliedQbeDefaults, keyAttribute, keyAttributes, lastEventHandled, lastfetchedindex, listeners, listTableModified, listTableRetain, MAX_TABLEROWS, mboName, mbosetfromzombie, mboSetRemote, multiQbe, newRowUnedited, orderBy, parent, parentRelationship, propCache, qbeAttributes, qualrestrict, queryDescBeforeReviseAction, queryNameBeforeReviseAction, refreshList, refreshQbe, removeOnCancel, requiredFields, resetList, resetRemote, returnAttribute, returnComponent, returnComponentlId, ROW_DELETE, ROW_IGNORE, ROW_INSERT, ROW_MODIFY, rowsperpage, saveCount, savedFilterSettings, savedQbeAttributes, screenDesignMode, smartFillValue, startEmpty, startrow, 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, tableAttributes, tableData, tableDataInvalid, tableStateFlags, userQbeNotCommited, userWhereClause, zombieData
clientSession, creator, EVENT_CONTINUE, EVENT_HANDLED, EVENT_STOP_ALL, id, sessionContext
Constructor and Description |
---|
SearchBean() |
Modifier and Type | Method and Description |
---|---|
int |
clear() |
int |
clearsr() |
int |
filterByLinearAssets()
This method launches a dialog to find SRs based on Linear asset and related fields.
|
int |
find() |
boolean |
hasSigOptionAccess(int row,
java.lang.String sigOption)
The default implementation of this method is returning false the first
time it is rendering and true afterwards (on refresh) for the
"description field".
|
protected void |
initialize()
Used within the SearchSolution Dialog from the Power Apps.
|
int |
returnSolution() |
int |
searchsr() |
int |
selectrecord() |
int |
servicelog() |
addrow, appinfo, autoInitiateWorkflow, BOOKMARK, canExit, canSaveBasedOnLocks, CLEAR, clearfilter, convertPortalParameters, DELETE, DUPLICATE, ensureRecord, fireStructureChangedEvent, FLTRLASET, getAppInfo, getBookmarkBean, getCurrentQueryDescription, getCurrentQueryName, getCurrentRow, getKPIId, getKPISelect, getKPIWhere, getMboSet, getPortalEvent, getQueryOption, getQuickFindRemote, getRecordLockProperties, getResultsBean, gotoTab, gotoTab, hasModifications, hasSaveAccess, hasSigOptionAccess, hasStartRecord, HELPWF, inboxwf, initializeApp, initQuickFIndRemote, insert, INSERT, isEmpty, isUserWhereClauseThroughIntegration, launchwf, MODIFYSLAS, moveToUniqueId, NAVHISTORY, NEXT, notExist, PREVIOUS, RECORDLOCK, RECUNLOCK, refreshFieldErrors, reset, RESULTS, returnnovalue, returntoapp, returnwithvalue, ROUTEWF, RUNAREPORT, RUNREPORTBYNAME, RUNREPORTS, save, SAVE, saveattachment, saveYesNoCheck, saveYesNoInteractionCheck, SEARCHATTR, SEARCHMORE, SEARCHWHER, setCurrentQueryName, setDefaultQbe, setFilterCleared, setKPIId, setQueryOption, setupBean, setupBean, setUserWhereClauseThroughIntegration, STOPWF, STRECLOCK, structureChangedEvent, submitPrintJob, toBeSaved, toggledeleterow, updateForRecordLock
_useAllBookmarksQuery, _useAllRecsQuery, _usequery, addAttribute, addConditionalProperties, addDialogReference, addListener, addQbeAttribute, addSigOption, afterSetValue, applyValuesToSharedAttributes, applyValuesToSharedAttributes, asyncLocked, bindComponent, boundToTable, buildPortalMsg, callBeanMethod, callBeanMethod, callBeanMethod, callBeanMethod, callMethod, callMethod, callMethod, callMethod, callRemoteMethod, callRemoteMethod, cancelDialog, canCloseBean, canFetchData, changeRequiredField, checkAndDistributeRequiredError, checkESigAuthenticated, checkForAppError, checkMethodAccess, cleanup, clearBean, clearQbeAttributes, 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, getMboSetRemote, 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, getWorkflowDirections, getZombie, getZombieMboValueData, handleRemoteException, handleRequiredFieldException, hasLongDescriptionText, hasLongDescriptionText, hasMboSetRemote, hasPageRows, hasRow, hasSameMboSet, hasSigOptionAccess, hierarchicalmove, highlightrow, highlightrow, insert, insertAtEnd, instantdelete, invalidateTableData, isAppTableRetain, isAttribute, isAttributeHidden, isAttributeHidden, isColumnSorted, isListTableModified, isListTableRetain, isLookupMultiSelect, isMboHidden, isMboHidden, isMboSetSame, isModifiedRow, isModifiedRow, isNewRow, isNewRow, isNewRowUnedited, isRowDeleted, isRowLocked, isSelected, isSubSelect, isTableAttribute, isTablePostionMarked, isTableRowSelected, isTableStateFlagSet, listenerChangedEvent, madeRequiredConditionally, markTablePosition, moveTo, moveToMboFromDataBean, needToAuthenticate, next, nextrow, positionState, preSaveChecks, previous, prevrow, propagateRequired, queryAllBookmarks, queryAllRecs, refreshTable, registerDynamicControlsWithERM, reloadTable, removeDialogReference, removeListener, removeRowOnCancel, rePosition, reserveOnePair, resetDataBean, resetJSPFlags, resetQbe, resetWithSelection, restoreSavedQbeSettings, retainPosition, returnLookupValue, returnLookupValue, returnLookupValue, returnLookupValue, save, saveCurrentQbeSettings, scrollnext, scrollprev, select, select, selectAll, selectRows, sendRefreshTable, setApp, setApp, setAppDefault, setAppDefaults, setApplicationError, setAppWhere, setAsyncLock, setAttributes, setCurrentQueryDescription, setCurrentRecordData, setCurrentRow, setDate, setDate, setDate, setDefaultOrderBy, setDefaultValue, setDefaultValue, setDescAttributeId, setDynamicAppDefaults, setDynamicDefault, setDynamicQbeDefaults, setEmptyOnClear, setERMOnMboSet, 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, setupNonPersistent, 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, validateClause, validateMbo, validateRow, valueBound, valueUnbound
getCreator, getId, setCreator, setId
protected void initialize() throws MXException, java.rmi.RemoteException
initialize
in class AppBean
MXException
java.rmi.RemoteException
public int searchsr() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int clearsr() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int clear() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int selectrecord() throws MXException, java.rmi.RemoteException
selectrecord
in class DataBean
MXException
java.rmi.RemoteException
public int find() throws MXException, java.rmi.RemoteException
find
in class AppBean
MXException
java.rmi.RemoteException
public int returnSolution() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int filterByLinearAssets() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean hasSigOptionAccess(int row, java.lang.String sigOption) throws java.rmi.RemoteException, MXException
hasSigOptionAccess
in class AppBean
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
DataBean.hasSigOptionAccess(int, String)
,
AppInstance.allowPageEdits()
public int servicelog() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException