public abstract class SystemsBaseBean extends DataBean
Modifier and Type | Field and Description |
---|---|
protected LocationServiceRemote |
_lsr |
protected java.lang.String |
_modelLocation |
protected boolean |
_setStartingLoc |
protected UserInfo |
_userInfo |
protected java.lang.String |
NOT_SUPPORTED |
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, LOG_CATEGORY, 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 |
---|
SystemsBaseBean() |
Modifier and Type | Method and Description |
---|---|
protected MboRemote |
addNodeToSystem(MboSetRemote hierarchySet,
java.lang.String systemId,
java.lang.String siteId,
java.lang.String location,
java.lang.String parent)
Add location as a member the the specified system with the specified parent
|
protected int |
addSelectionToSystem(LocHierarchySetRemote hierarchySet,
java.lang.String systemId,
java.lang.String siteId,
java.lang.String rootLocation,
java.util.Set selection)
Add a set of locations specifed by the value bound to the control to the system with
the specified parent.
|
protected void |
deleteAllMember(MboRemote systemMbo) |
protected LocHierarchySetRemote |
getLocHierarchySet() |
java.lang.String |
getModelLocation() |
protected abstract java.lang.String |
getTableId() |
SystemsTreeBean |
getTree() |
protected abstract java.lang.String |
getTreeId() |
BIMViewer |
getViewer() |
void |
initialize()
Typically called after the DataBean gets a new MboSetRemote
On the MboSetRemote it sets the app, the app defaults, user defaults
If the remote is an instanceof NonPersistentMboSetRemote then setup is
called on it and sets the current row to 0.
|
MboSetRemote |
lookupAllLocationsForSystem(java.lang.String systemId,
java.lang.String siteId)
Queries the LOCHIERARCHY table for all entries associated with a system
|
protected void |
populateSystem(MboRemote locSysMbo,
LocationRemote owningLocation,
java.lang.String systemId,
java.lang.String siteId,
java.lang.String parent,
java.util.Set selection)
Populates a new (empty) system with a 2 level hierarchy.
|
protected void |
setChildrenFlag(MboRemote locSysMbo,
MboRemote locationMbo,
java.lang.String systemId,
java.lang.String siteId,
java.lang.String parent)
Set the hasChildren flag to true on the location specified by parent
|
void |
setSetStartingLoc(boolean setStartingLoc) |
protected java.lang.String |
setupStartingLocation()
The starting location is passed from the .jsp on the event that initiatiates the dialog
|
_useAllBookmarksQuery, _useAllRecsQuery, _usequery, addAttribute, addConditionalProperties, addDialogReference, addListener, addQbeAttribute, addrow, 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, clearfilter, clearQbeAttributes, clearSavedFilterSettings, clearSavedQbeSettings, close, copytonewrow, count, dataChangedEvent, delete, delete, deleteAndRemove, deleteAndRemove, displaycount, duplicateMbo, execute, fetchRecordData, fetchTableData, fetchTableData, filterrows, findAndCallMethod, fireChildChangedEvent, fireDataChangedEvent, fireDataChangedEvent, fireStructureChangedEvent, fireStructureChangedEvent, getAppWhere, getAttributes, getBoolean, getBoolean, getCacheRowIndex, getColumnDate, getColumnString, getCompleteWhere, getConditionalProperties, getCurrentQueryDescription, getCurrentQueryName, getCurrentRow, 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, getMboSet, 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, hasSigOptionAccess, hierarchicalmove, highlightrow, highlightrow, insert, insert, insertAtEnd, instantdelete, invalidateTableData, isAppTableRetain, isAttribute, isAttributeHidden, isAttributeHidden, isColumnSorted, isEmpty, 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, notExist, positionState, preSaveChecks, previous, prevrow, propagateRequired, queryAllBookmarks, queryAllRecs, refreshFieldErrors, refreshTable, registerDynamicControlsWithERM, reloadTable, removeDialogReference, removeListener, removeRowOnCancel, rePosition, reserveOnePair, reset, resetDataBean, resetJSPFlags, resetQbe, resetWithSelection, restoreSavedQbeSettings, retainPosition, returnLookupValue, returnLookupValue, returnLookupValue, returnLookupValue, save, save, saveCurrentQbeSettings, scrollnext, scrollprev, select, select, selectAll, selectrecord, selectRows, sendRefreshTable, setApp, setApp, setAppDefault, setAppDefaults, setApplicationError, setAppWhere, setAsyncLock, setAttributes, setCurrentQueryDescription, setCurrentQueryName, setCurrentRecordData, setCurrentRow, setDate, setDate, setDate, setDefaultOrderBy, setDefaultQbe, 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, setupBean, setupBean, setupNonPersistent, setUserDefaults, setUserWhere, setvalue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueFromComponent, smartFill, smartFill, sort, sort, sortcolumn, sortcolumn, sqlwhere, structureChangedEvent, toBeSaved, toggledeleterow, 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 java.lang.String _modelLocation
protected LocationServiceRemote _lsr
protected UserInfo _userInfo
protected boolean _setStartingLoc
protected final java.lang.String NOT_SUPPORTED
public void initialize() throws MXException, java.rmi.RemoteException
DataBean
initialize
in class DataBean
MXException
java.rmi.RemoteException
protected LocHierarchySetRemote getLocHierarchySet() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
protected java.lang.String setupStartingLocation() throws java.rmi.RemoteException, MXException
MXException
java.rmi.RemoteException
protected abstract java.lang.String getTableId()
protected abstract java.lang.String getTreeId()
public BIMViewer getViewer()
public java.lang.String getModelLocation()
public SystemsTreeBean getTree()
public MboSetRemote lookupAllLocationsForSystem(java.lang.String systemId, java.lang.String siteId) throws java.rmi.RemoteException, MXException
systemId
- System ID of target systemsiteId
- Site ID of target systemjava.rmi.RemoteException
MXException
protected void populateSystem(MboRemote locSysMbo, LocationRemote owningLocation, java.lang.String systemId, java.lang.String siteId, java.lang.String parent, java.util.Set selection) throws java.rmi.RemoteException, MXException
owningLocation
- systemId
- System ID of target systemsiteId
- Site ID of target systemparent
- selection
- A set of items to add to the system. It is assumed though not required
that this set was geneated from a selection in the model viewer. It is
possible that the sets contain items that have not been imported into
Maximojava.rmi.RemoteException
MXException
protected int addSelectionToSystem(LocHierarchySetRemote hierarchySet, java.lang.String systemId, java.lang.String siteId, java.lang.String rootLocation, java.util.Set selection) throws java.rmi.RemoteException, MXException
hierarchySet
- systemId
- System ID of target systemsiteId
- Site ID of target systemrootLocation
- selection
- A set of items to add to the system. It is assumed though not required
that this set was geneated from a selection in the model viewer. It is
possible that the sets contain items that have not been imported into
Maximojava.rmi.RemoteException
MXException
protected MboRemote addNodeToSystem(MboSetRemote hierarchySet, java.lang.String systemId, java.lang.String siteId, java.lang.String location, java.lang.String parent) throws java.rmi.RemoteException, MXException
hierarchySet
- systemId
- System ID of target systemsiteId
- Site ID of target systemlocation
- Locationparent
- Parent location (may be null)java.rmi.RemoteException
MXException
protected void deleteAllMember(MboRemote systemMbo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void setSetStartingLoc(boolean setStartingLoc)
protected void setChildrenFlag(MboRemote locSysMbo, MboRemote locationMbo, java.lang.String systemId, java.lang.String siteId, java.lang.String parent) throws java.rmi.RemoteException, MXException
locationMbo
- systemId
- System ID of target systemsiteId
- Site ID of target systemparent
- java.rmi.RemoteException
MXException