public class ComputerSystemSet extends HierarchicalMboSet implements ComputerSystemSetRemote
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
TLOAMISPROMOTED_ATTRIBUTENAME |
protected java.lang.String |
tloamispromotedNoQbeSelection
holds the original QBE value for TLOAMISPROMOTED only when it evaluates to NO.
|
dmDeploySet, dmDeploySkipFieldValidation, fetchStopLimitEnabled, LOOKUPMAXROW, maxSorterSize, mboCountCleanuplist, mboVec, mrdVec, perfStats, strNoBaseLangValueEntered, toBeSaved
CHILDREN, DPACOMMDEVICE, DPACPU, DPADISK, DPADISPLAY, DPAFILE, DPAIMAGEDEVICE, DPAIPX, DPALOGICALDRIVE, DPAMEDIAADAPTER, DPANETADAPTER, DPAOS, DPASOFTWARE, DPASWSUITE, DPATCPIP, DPAUSERINFO, PARENT, RECONLINK, TOP
INSERTONLY, INSERTORUPDATE, UPDATEONLY
ALLROWS, CHANGEDBY_USER, COUNT_ADDITIONS, COUNT_AFTERSAVE, COUNT_DATABASE, COUNT_DELETED, COUNT_EXISTING, DBCONFIG, DELAYVALIDATION, DELAYVALIDATIONONLY, DISCARDABLE, GOTCOMPLETEWHERE, HIDDEN, NO_RELATEDMBOS_OF_OWNERSCHILDREN_FETCH, NOACCESSCHECK, NOACTION, NOADD, NOCOMMIT, NODELETE, NONE, NOOVERWRITE, NOSAVE, NOSETVALUE, NOUPDATE, NOVALIDATION, NOVALIDATION_AND_NOACTION, NOVALIDATION_AND_NOACTION_ALLOWCROSSOVER, READONLY, REBUILD, REQUIRED, SAMEVALUEVALIDATION, SETBYPARENT, USER
APPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGER
appenderPrefix, LOGGERNAME_APP, LOGGERNAME_CRONTASK, LOGGERNAME_CRONTASKMGR, LOGGERNAME_DBCONNECTION, LOGGERNAME_DD, LOGGERNAME_DM, LOGGERNAME_DMPREVIEW, LOGGERNAME_EVENT, LOGGERNAME_EXCEPTION, LOGGERNAME_MAIL, LOGGERNAME_MAXIMO, LOGGERNAME_MT, LOGGERNAME_NULLMBOPOINTER, LOGGERNAME_SECURITY, LOGGERNAME_SENDFAILED, LOGGERNAME_SERVICE, LOGGERNAME_SQL, LOGGERNAME_SQL_CRONTASKMGR, LOGGERNAME_TXN, loggerPrefix
Constructor and Description |
---|
ComputerSystemSet(MboServerInterface ms)
Construct the set
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
combineAndWhereClauses(java.lang.String[] wheres)
Combines the passed where clauses, joining them with the and operator
|
MboValueData[][] |
getChildren(java.lang.String object,
java.lang.String key,
java.lang.String[] attrs,
int maxRows)
Returns zero or more children objects in the hierarchy.
|
protected java.lang.String |
getFormattedWhereClause(java.lang.String whereClauseToBeFormatted)
Return the passed MAXIMO where clause converted to the native SQL
|
protected Mbo |
getMboInstance(MboSet ms)
Generate a new ComputerSystem object
|
protected java.lang.String |
getNotPromotedSpecialClause()
Return the special clause in case the qbe asks for promoted=NO, or null if this does not apply
|
MboValueData[] |
getParent(java.lang.String object,
java.lang.String key,
java.lang.String[] attrs)
Returns zero or one parent object for the given object in the hierarchy.
|
MboValueData[][] |
getPathToTop(java.lang.String object,
java.lang.String key,
java.lang.String[] attrs,
int maxRows)
Returns all objects in the path to the top from the current object, i.e.
|
java.lang.String |
getQbe(java.lang.String attribute)
Return the current Qbe expression for the specified attribute.
|
MboValueData[][] |
getSiblings(java.lang.String object,
java.lang.String key,
java.lang.String[] attrs,
int maxRows)
Returns zero or more siblings of the given object in the hierarchy.
|
MboValueData[][] |
getTop(java.lang.String[] attrs,
int maxRows)
Returns all the top level objects in the hierarchy, i.e.
|
java.lang.String |
getUserAndQbeWhere()
Returns the combined user where and QBE where clause in native SQL format.
|
java.lang.String |
getUserWhere(java.lang.String alias)
Returns the user defined where clause.
|
protected boolean |
isNullString(java.lang.String str)
Return true if the passed string is null or empty, false otherwise
|
void |
resetQbe()
Reset the QBE for this object, i.e.
|
protected void |
resetSpecialQbe()
Clear the special QBE fields
|
void |
setQbe(java.lang.String attribute,
java.lang.String expression)
Add an expression to the existing Qbe.
|
protected java.lang.String |
stripQueryAttributeValue(java.lang.String value)
Remove the leading = as well as enclosing simple or double quotes from the passed string and return the
new value
|
getAllHierarchies, getHierarchy, getUniqueIDValue, setHierarchy
abortSql, add, add, addAliasForML, addAliasForML, addAtEnd, addAtEnd, addAtIndex, addAtIndex, addFakeAtEnd, addFederatedMboToSorter, addMbo, addMbo, addSubQbe, addSubQbe, addSubQbe, addSubQbe, addToEndOfSelectStatement, addWarning, addWarnings, appendToWhere, applyAppSpecificAuthorization, applyRowSecurity, avg, canAdd, cancelAndClose, checkMethodAccess, checkMethodAccess, cleanup, clear, clearBatchedPreparedStmt, clearBatchedPreparedStmts, clearESigTransactionIdThread, clearESigTransIDForAdmin, clearIgnoredAutokeyAttrs, clearLongOpPipe, clearToBeSaved, clearTransactionReference, clearWarnings, close, commit, commitTransaction, copy, copy, copy, copyForDM, count, count, countAndCleanup, countAndCleanup, deleteAll, deleteAll, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemoveAll, deleteAndRemoveAll, deleteMbo, determineRequiredFieldsFromERM, dump, earliestDate, enableMethod, executeBatch, fetchNext, findAllNullRequiredFields, findByIntegrationKey, findKey, fireEventsAfterDB, fireEventsAfterDBCommit, fireEventsBeforeDB, forceDBSort, getAllAppAlwaysFieldFlags, getAllowQualifiedRestriction, getAlwaysFlags, getAlwaysFlags, getApp, getAppAlwaysFieldFlags, getAppWhere, getAttrRestrictions, getBoolean, getByte, getBytes, getClientLocale, getClientTimeZone, getCompleteWhere, getCurrentPosition, getDate, getDBFetchMaxRows, getDefaultValue, getDefaultValueHash, getDouble, getERMEntity, getESigTransactionId, getExcludeMeFromPropagation, getFlags, getFloat, getIgnoredAutokeyAttrs, getInsertCompanySet, getInsertItemSet, getInsertOrg, getInsertSite, getInt, getJspDefaultValueHash, getKeyAttributes, getList, getList, getLong, getMaxAppsWhere, getMaxMessage, getMbo, getMbo, getMboCtx, getMboForUniqueId, getMboLogger, getMboServer, getMboSetData, getMboSetData, getMboSetInfo, getMboSetRetainMboPositionData, getMboSetRetainMboPositionInfo, getMboSetValueData, getMboSetValueData, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMLFromClause, getMultiSiteWhere, getMXTransaction, getName, getOrderBy, getOwner, getParentApp, getPreparedStmt, getProfile, getProxy, getQbe, getQbe, getQbeSiteAuthorization, getQbeWhere, getQualifiedWhere, getQueryTimeout, getRelationName, getRelationship, getRetainRecordLimit, getRowRestrictions, getSecurityLogger, getSelection, getSelectionWhere, getSetOrderByForUI, getSharedMboSet, getSize, getSkipFirstNRows, getSqlLogger, getSQLOptions, getString, getTranslator, getTxnPropertyMap, getUserInfo, getUserName, getUserPrefWhere, getUserWhere, getWarnings, getWhere, getZombie, handleMLMbo, handleMLMbo, hasMLQbe, hasQbe, hasWarnings, ignoreAutokeyAttr, ignoreAutokeyAttr, ignoreQbeExactMatchSet, includeRelatedMbosOfOwnersChildren, incrementDeletedCount, init, init, initDataDictionary, insertDeltaRow, insertMbo, isBasedOn, isClosed, isDeltaStorage, isDMDeploySet, isDMSkipFieldValidation, isDownloadSet, isEAuditFieldModified, isEAuditNeeded, isEmpty, isESigFieldModified, isESigNeeded, isESigNeeded, isFlagSet, isIgnoreQbeExactMatchSet, isInMemorySort, isLookup, isNull, isQbeCaseSensitive, isQbeExactMatch, isRetainMboPosition, isRetainRecordEnabled, isTableDomainLookup, latestDate, locateMbo, logESigVerification, logRowUpdatedException, max, min, moveFirst, moveLast, moveNext, movePrev, moveTo, moveToKey, newMboIndex, notExist, positionState, processML, remove, remove, remove, removeCtx, reset, resetForRefreshOnSave, resetWithSelection, rollback, rollbackToCheckpoint, rollbackToCheckpoint, rollbackTransaction, save, save, save, save, saveMbos, saveTransaction, select, select, select, selectAll, setAllowQualifiedRestriction, setApp, setAppAlwaysFieldFlag, setAppWhere, setAutoKeyFlag, setBindValueAsBytes, setDBFetchMaxRows, setDefaultOrderBy, setDefaultValue, setDefaultValue, setDefaultValues, setDefaultValues, setDiscardableFlag, setDMDeploySet, setDMSkipFieldValidation, setDownloadSet, setEAuditFieldModified, setERMEntity, setESigFieldModified, setExcludeMeFromPropagation, setFederatedResources, setFlag, setFlag, setFlags, setInsertCompanySet, setInsertItemSet, setInsertOrg, setInsertSite, setLastESigTransId, setLogLargFetchResultDisabled, setMboCtx, setMboSetInfo, setMXTransaction, setNoNeedtoFetchFromDB, setNoSaveFlag, setOrderBy, setOrderByNVL, setOwner, setPreserveOrderByCase, setProxy, setQbe, setQbe, setQbe, setQbe, setQbeCaseSensitive, setQbeCaseSensitive, setQbeExactMatch, setQbeExactMatch, setQbeOperatorOr, setQueryBySiteQbe, setQueryTimeout, setRelationName, setRelationship, setRequiedFlagsFromERM, setRetainMboPosition, setSetOrderByForUI, setSkipFirstNRows, setSQLOptions, setTableDomainLookup, setTxnPropertyMap, setupLongOpPipe, setUserWhere, setUserWhereAfterParse, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull, setWhere, setWhereQbe, smartFill, smartFill, smartFind, smartFind, smartFind, smartFind, sort, splitOrderBy, startCheckpoint, startCheckpoint, sum, toBeSaved, undeleteAll, undoTransaction, unselect, unselect, unselect, unselectAll, updateMbo, updateMboSetRetainMboPositionData, updateRelatedMboSetRetainMboPositionData, useStoredQuery, validate, validateTransaction, verifyESig
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
abortSql, add, add, addAtEnd, addAtEnd, addAtIndex, addAtIndex, addFakeAtEnd, addSubQbe, addSubQbe, addSubQbe, addSubQbe, addWarning, addWarnings, checkMethodAccess, cleanup, clear, clearLongOpPipe, close, commit, copy, copy, copyForDM, count, count, deleteAll, deleteAll, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemoveAll, deleteAndRemoveAll, determineRequiredFieldsFromERM, earliestDate, fetchNext, findAllNullRequiredFields, findByIntegrationKey, findKey, getApp, getAppAlwaysFieldFlags, getAppWhere, getCompleteWhere, getCurrentPosition, getDBFetchMaxRows, getDefaultValue, getERMEntity, getESigTransactionId, getExcludeMeFromPropagation, getFlags, getKeyAttributes, getList, getList, getMaxMessage, getMbo, getMbo, getMboForUniqueId, getMboSetData, getMboSetData, getMboSetInfo, getMboSetRetainMboPositionData, getMboSetRetainMboPositionInfo, getMboSetValueData, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMLFromClause, getMXTransaction, getName, getOrderBy, getOwner, getParentApp, getProfile, getQbe, getQbe, getQbeWhere, getQueryTimeout, getRelationName, getRelationship, getSelection, getSelectionWhere, getSetOrderByForUI, getSize, getSQLOptions, getTxnPropertyMap, getUserInfo, getUserName, getUserWhere, getWarnings, getWhere, getZombie, hasMLQbe, hasQbe, hasWarnings, ignoreQbeExactMatchSet, incrementDeletedCount, init, isBasedOn, isDMDeploySet, isDMSkipFieldValidation, isDownloadSet, isEmpty, isESigNeeded, isFlagSet, isQbeCaseSensitive, isQbeExactMatch, isRetainMboPosition, latestDate, locateMbo, logESigVerification, max, min, moveFirst, moveLast, moveNext, movePrev, moveTo, newMboIndex, notExist, positionState, processML, remove, remove, remove, reset, resetWithSelection, rollback, rollbackToCheckpoint, rollbackToCheckpoint, save, save, select, select, select, selectAll, setAllowQualifiedRestriction, setApp, setAppAlwaysFieldFlag, setAppWhere, setAutoKeyFlag, setDBFetchMaxRows, setDefaultOrderBy, setDefaultValue, setDefaultValue, setDefaultValues, setDMDeploySet, setDMSkipFieldValidation, setDownloadSet, setERMEntity, setESigFieldModified, setExcludeMeFromPropagation, setFlag, setFlag, setFlags, setInsertCompanySet, setInsertItemSet, setInsertOrg, setInsertSite, setLastESigTransId, setLogLargFetchResultDisabled, setMboSetInfo, setMXTransaction, setNoNeedtoFetchFromDB, setOrderBy, setOwner, setQbe, setQbe, setQbe, setQbe, setQbeCaseSensitive, setQbeCaseSensitive, setQbeExactMatch, setQbeExactMatch, setQbeOperatorOr, setQueryBySiteQbe, setQueryTimeout, setRelationName, setRelationship, setRequiedFlagsFromERM, setRetainMboPosition, setSetOrderByForUI, setSQLOptions, setTableDomainLookup, setTxnPropertyMap, setupLongOpPipe, setUserWhere, setUserWhereAfterParse, setWhere, setWhereQbe, smartFill, smartFill, smartFind, smartFind, startCheckpoint, startCheckpoint, sum, toBeSaved, undeleteAll, unselect, unselect, unselect, unselectAll, useStoredQuery, validate, verifyESig
getBoolean, getByte, getBytes, getDate, getDouble, getFloat, getInt, getLong, getString, isNull, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull
commitTransaction, fireEventsAfterDB, fireEventsAfterDBCommit, fireEventsBeforeDB, rollbackTransaction, saveTransaction, undoTransaction, validateTransaction
getAllHierarchies, getHierarchy, getUniqueIDValue, setHierarchy
protected static final java.lang.String TLOAMISPROMOTED_ATTRIBUTENAME
protected java.lang.String tloamispromotedNoQbeSelection
public ComputerSystemSet(MboServerInterface ms) throws MXException, java.rmi.RemoteException
ms
- Mbo server interfaceMXException
java.rmi.RemoteException
protected Mbo getMboInstance(MboSet ms) throws MXException, java.rmi.RemoteException
getMboInstance
in class MboSet
ms
- Mbo objectMXException
java.rmi.RemoteException
protected void resetSpecialQbe() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.lang.String getQbe(java.lang.String attribute) throws MXException, java.rmi.RemoteException
MboSet
getQbe
in interface MboSetRemote
getQbe
in class MboSet
MXException
java.rmi.RemoteException
public void resetQbe()
MboSet
resetQbe
in interface MboSetRemote
resetQbe
in class MboSet
MboSet.setQbe(String, String)
public void setQbe(java.lang.String attribute, java.lang.String expression) throws MXException, java.rmi.RemoteException
MboSet
setQbe(String, String)
can be called multiple times before initiating the fetch, in which case
the expressions will be AND
ed together.setQbe
in interface MboSetRemote
setQbe
in class MboSet
attribute
- The attribute name whose value is being restricted.expression
- The restriction value for the attribute.
The expression can be in either of two forms:
>10
. The supported operators
are >
, >=
, <
, <=
,
=
, !=
, and LIKE
(default). For string datatypes, the operand can
contain %
characters for wildcards.
"ABC"
. In this form, the operator is
assumed to be LIKE
.
MXException
java.rmi.RemoteException
MboSet.resetQbe()
,
MboSet.setQbe(String[], String)
,
MboSet.reset()
,
MboSet.getMbo()
protected java.lang.String stripQueryAttributeValue(java.lang.String value)
public java.lang.String getUserWhere(java.lang.String alias) throws MXException, java.rmi.RemoteException
MboSet
getUserWhere
in class MboSet
MXException
java.rmi.RemoteException
public java.lang.String getUserAndQbeWhere() throws MXException, java.rmi.RemoteException
MboSet
getUserAndQbeWhere
in interface MboSetRemote
getUserAndQbeWhere
in class MboSet
MXException
java.rmi.RemoteException
protected java.lang.String getNotPromotedSpecialClause() throws MXException
MXException
protected java.lang.String combineAndWhereClauses(java.lang.String[] wheres) throws java.rmi.RemoteException
java.rmi.RemoteException
protected boolean isNullString(java.lang.String str)
protected java.lang.String getFormattedWhereClause(java.lang.String whereClauseToBeFormatted) throws java.rmi.RemoteException
java.rmi.RemoteException
public MboValueData[][] getChildren(java.lang.String object, java.lang.String key, java.lang.String[] attrs, int maxRows) throws MXException, java.rmi.RemoteException
getChildren
in interface HierarchicalMboSetRemote
object
- -
name of the object whose children are being requested.key
- -
unique id of the object whose children are being fetched.attrs
- -
list of attributes whose values are requested, the attribute
data returned in the attribute list correspond to this list.maxRows
- -
maximum number of rows to return.MXException
java.rmi.RemoteException
public MboValueData[] getParent(java.lang.String object, java.lang.String key, java.lang.String[] attrs) throws MXException, java.rmi.RemoteException
getParent
in interface HierarchicalMboSetRemote
object
- -
name of the object whose children are being requested.key
- -
unique id of the object whose children are being fetched.attrs
- -
list of attributes whose values are requested, the attribute
data returned in the attribute list correspond to this list.MXException
java.rmi.RemoteException
public MboValueData[][] getPathToTop(java.lang.String object, java.lang.String key, java.lang.String[] attrs, int maxRows) throws MXException, java.rmi.RemoteException
getPathToTop
in interface HierarchicalMboSetRemote
object
- -
name of the object whose children are being requested.key
- -
unique id of the object whose children are being fetched.attrs
- -
list of attributes whose values are requested, the attribute
data returned in the attribute list correspond to this list.maxRows
- -
maximum number of rows to return.MXException
java.rmi.RemoteException
public MboValueData[][] getSiblings(java.lang.String object, java.lang.String key, java.lang.String[] attrs, int maxRows) throws MXException, java.rmi.RemoteException
getSiblings
in interface HierarchicalMboSetRemote
object
- -
name of the object whose children are being requested.key
- -
unique id of the object whose children are being fetched.attrs
- -
list of attributes whose values are requested, the attribute
data returned in the attribute list correspond to this list.maxRows
- -
maximum number of rows to return.MXException
java.rmi.RemoteException
public MboValueData[][] getTop(java.lang.String[] attrs, int maxRows) throws MXException, java.rmi.RemoteException
getTop
in interface HierarchicalMboSetRemote
attrs
- -
list of attributes whose values are requested, the attribute
data returned in the attribute list correspond to this list.maxRows
- -
maximum number of rows to return.MXException
java.rmi.RemoteException