public class ClassStructureSet extends HierarchicalMboSet implements ClassStructureSetRemote
fetchStopLimitEnabled, LOOKUPMAXROW, maxSorterSize, mboCountCleanuplist, perfStats, strNoBaseLangValueEntered
ANCESTORS, ASSET, ASSETSPEC, CLASSSPEC, CLASSSTRUCTLINK, ITEM, ITEMSPEC, LOCATION, LOCATIONSPEC, SOLUTION, TICKET, WORKORDER
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 |
---|
ClassStructureSet(MboServerInterface ms)
Constructs the set.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
concatAll(java.lang.String[] sa)
Returns a string of concatinated strings.
|
boolean |
getAnyLevel()
Returns the level.
|
java.lang.String |
getbjectNameForUseWith()
06-15448: returns objectNameForUseWith
|
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.
|
java.lang.String |
getMaxAppsWhere()
Override getMaxAppsWhere - the ClassStructureSet should not have appName associated with
it if it is not in Classifications app.
|
MboValueData[][] |
getMboValueDataForNoTreeNodes(java.lang.String[] attribute,
java.lang.String reason)
Try to find a classstructure mbo from a different set as this set is empty.
|
java.lang.String |
getoriginatingOrgId()
08-11691: return the originatingOrgId
|
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.
|
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 |
getUseWithSql()
06-20672returns the use with sql by querying CLASSUSEWITH
|
boolean |
hasAFakeTreeNode()
07-23768: indicates this set currently contains a fake mbo
|
boolean |
isLookup()
Whether this MBO set is used in a drill down type of lookup UI.
|
java.lang.String |
originatingSiteId()
08-11691: return the originatingSiteId
|
void |
reSetForNewUniqueId(java.lang.String key)
reset the set if key classstructureuid is changed from the tree
|
void |
setAnyLevel(boolean anyLevelValue)
Sets the level to the level value.
|
void |
setCheckIfClassUsedByObject(boolean toSet)
08-22804: Search Classification: some objects may want to display the classifications
which are defined as used with object but also have been used by the objects
|
void |
setIsLookup(boolean is)
This method is used to inform the MBO set that the objects are used in a classification drill
down UI.
|
void |
setOriginatingObject(MboRemote origObject)
IV47870: I overloaded this method - this is called by several bean classes in the initialize method.
|
void |
setOriginatingObject(MboRemote origObject,
boolean inClassify)
This ClassStructureSet is instantiated from an object, used in the hierarchy
|
void |
setOriginatingObject(java.lang.String actualObjectForUseWith)
set objectNameForUseWith to be the value passed
|
void |
setOriginatingObjectAndAttribute(java.lang.String origObjectName,
java.lang.String origAttribute,
MboRemote origMbo)
sets objectNameForUseWith by getting the sameasobject from maxattribute after
querying the objectname and attributename passed
|
getAllHierarchies, getHierarchy, getUniqueIDValue, setHierarchy
abortSql, add, add, addAtEnd, addAtEnd, addAtIndex, addAtIndex, addFakeAtEnd, addSubQbe, addSubQbe, addSubQbe, addSubQbe, addToEndOfSelectStatement, addWarning, addWarnings, appendToWhere, applyRowSecurity, canAdd, cancelAndClose, checkMethodAccess, checkMethodAccess, cleanup, clear, clearESigTransIDForAdmin, clearIgnoredAutokeyAttrs, clearLongOpPipe, clearToBeSaved, clearTransactionReference, clearWarnings, close, commit, commitTransaction, copy, copy, copy, copyForDM, count, count, deleteAll, deleteAll, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemoveAll, deleteAndRemoveAll, determineRequiredFieldsFromERM, dump, earliestDate, enableMethod, fetchNext, findAllNullRequiredFields, findByIntegrationKey, findKey, fireEventsAfterDB, fireEventsAfterDBCommit, fireEventsBeforeDB, 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, getMaxMessage, getMbo, getMbo, getMboForUniqueId, getMboLogger, getMboSetData, getMboSetData, getMboSetInfo, getMboSetRetainMboPositionData, getMboSetRetainMboPositionInfo, getMboSetValueData, getMboSetValueData, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMLFromClause, getMultiSiteWhere, getMXTransaction, getName, getOrderBy, getOwner, getParentApp, getProfile, getProxy, getQbe, getQbe, getQbe, getQbeSiteAuthorization, getQbeWhere, getQualifiedWhere, getQueryTimeout, getRelationName, getRelationship, getRowRestrictions, getSecurityLogger, getSelection, getSelectionWhere, getSetOrderByForUI, getSharedMboSet, getSize, getSkipFirstNRows, getSqlLogger, getSQLOptions, getString, getTxnPropertyMap, getUserAndQbeWhere, getUserInfo, getUserName, getUserPrefWhere, getUserWhere, getUserWhere, getWarnings, getWhere, getZombie, handleMLMbo, handleMLMbo, hasMLQbe, hasQbe, hasWarnings, ignoreAutokeyAttr, ignoreAutokeyAttr, ignoreQbeExactMatchSet, incrementDeletedCount, init, init, initDataDictionary, isBasedOn, isClosed, isDeltaStorage, isDMDeploySet, isDMSkipFieldValidation, isEAuditFieldModified, isEmpty, isESigFieldModified, isESigNeeded, isFlagSet, isIgnoreQbeExactMatchSet, isNull, isQbeCaseSensitive, isQbeExactMatch, isRetainMboPosition, isTableDomainLookup, latestDate, locateMbo, logESigVerification, logRowUpdatedException, max, min, moveFirst, moveLast, moveNext, movePrev, moveTo, moveToKey, notExist, positionState, processML, remove, remove, remove, reset, resetForRefreshOnSave, resetQbe, resetWithSelection, rollback, rollbackToCheckpoint, rollbackToCheckpoint, rollbackTransaction, save, save, save, save, saveMbos, saveTransaction, select, select, select, selectAll, setAllowQualifiedRestriction, setApp, setAppAlwaysFieldFlag, setAppWhere, setAutoKeyFlag, setDBFetchMaxRows, setDefaultOrderBy, setDefaultValue, setDefaultValue, setDefaultValues, setDefaultValues, setDMDeploySet, setDMSkipFieldValidation, setEAuditFieldModified, setERMEntity, setESigFieldModified, setExcludeMeFromPropagation, setFlag, setFlag, setFlags, setInsertCompanySet, setInsertItemSet, setInsertOrg, setInsertSite, setLastESigTransId, setLogLargFetchResultDisabled, setMboSetInfo, setMXTransaction, setNoNeedtoFetchFromDB, setOrderBy, setOwner, setPreserveOrderByCase, setProxy, setQbe, 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, useStoredQuery, validate, validateTransaction, verifyESig
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAllHierarchies, getHierarchy, getUniqueIDValue, setHierarchy
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, getQbe, getQbeWhere, getQueryTimeout, getRelationName, getRelationship, getSelection, getSelectionWhere, getSetOrderByForUI, getSize, getSQLOptions, getTxnPropertyMap, getUserAndQbeWhere, getUserInfo, getUserName, getUserWhere, getWarnings, getWhere, getZombie, hasMLQbe, hasQbe, hasWarnings, ignoreQbeExactMatchSet, incrementDeletedCount, init, isBasedOn, isDMDeploySet, isDMSkipFieldValidation, isEmpty, isESigNeeded, isFlagSet, isQbeCaseSensitive, isQbeExactMatch, isRetainMboPosition, latestDate, locateMbo, logESigVerification, max, min, moveFirst, moveLast, moveNext, movePrev, moveTo, notExist, positionState, processML, remove, remove, remove, reset, resetQbe, resetWithSelection, rollback, rollbackToCheckpoint, rollbackToCheckpoint, save, save, select, select, select, selectAll, setAllowQualifiedRestriction, setApp, setAppAlwaysFieldFlag, setAppWhere, setAutoKeyFlag, setDBFetchMaxRows, setDefaultOrderBy, setDefaultValue, setDefaultValue, setDefaultValues, setDMDeploySet, setDMSkipFieldValidation, setERMEntity, setESigFieldModified, setExcludeMeFromPropagation, setFlag, setFlag, setFlags, setInsertCompanySet, setInsertItemSet, setInsertOrg, setInsertSite, setLastESigTransId, setLogLargFetchResultDisabled, setMboSetInfo, setMXTransaction, setNoNeedtoFetchFromDB, setOrderBy, setOwner, setQbe, 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
public ClassStructureSet(MboServerInterface ms) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String concatAll(java.lang.String[] sa)
concatAll
- array of strings to concatinatepublic void setAnyLevel(boolean anyLevelValue) throws MXException, java.rmi.RemoteException
setAnyLevel
in interface ClassStructureSetRemote
anyLevelValue
- boolean valueMXException
java.rmi.RemoteException
setAnyLevel(boolean)
public boolean getAnyLevel() throws MXException, java.rmi.RemoteException
getAnyLevel
in interface ClassStructureSetRemote
MXException
java.rmi.RemoteException
getAnyLevel()
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[][] 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
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 void reSetForNewUniqueId(java.lang.String key) throws MXException, java.rmi.RemoteException
reSetForNewUniqueId
in interface ClassStructureSetRemote
MXException
java.rmi.RemoteException
psdi.app.assetcatalog.ClassStructureSet#reSetForNewUniqueId()
public void setOriginatingObjectAndAttribute(java.lang.String origObjectName, java.lang.String origAttribute, MboRemote origMbo) throws MXException, java.rmi.RemoteException
setOriginatingObjectAndAttribute
in interface ClassStructureSetRemote
origObjectName
- name of the originating object where classification search is launchedorigAttribute
- name of the attribute where classification search is launched.MXException
java.rmi.RemoteException
psdi.app.assetcatalog.ClassStructureSet#setOriginatingObjectAndAttribute()
public void setOriginatingObject(MboRemote origObject, boolean inClassify) throws MXException, java.rmi.RemoteException
origObject
- the object where the tree is launchedMXException
java.rmi.RemoteException
public void setOriginatingObject(java.lang.String actualObjectForUseWith) throws MXException, java.rmi.RemoteException
setOriginatingObject
in interface ClassStructureSetRemote
actualObjectForUseWith
- - the object to use for getTop to display correct information
mostly for CI projectMXException
java.rmi.RemoteException
psdi.app.assetcatalog.ClassStructureSet#setOriginatingObject()
public MboValueData[][] getMboValueDataForNoTreeNodes(java.lang.String[] attribute, java.lang.String reason) throws MXException, java.rmi.RemoteException
getMboValueDataForNoTreeNodes
in interface ClassStructureSetRemote
attribute
- reason
- MXException
java.rmi.RemoteException
public java.lang.String getUseWithSql() throws MXException, java.rmi.RemoteException
getUseWithSql
in interface ClassStructureSetRemote
MXException
java.rmi.RemoteException
public boolean hasAFakeTreeNode() throws MXException, java.rmi.RemoteException
hasAFakeTreeNode
in interface ClassStructureSetRemote
MXException
java.rmi.RemoteException
hasAFakeTreeNode()
public void setIsLookup(boolean is) throws java.rmi.RemoteException
setIsLookup
in interface ClassStructureSetRemote
java.rmi.RemoteException
public boolean isLookup() throws MXException, java.rmi.RemoteException
isLookup
in interface ClassStructureSetRemote
isLookup
in class MboSet
MXException
java.rmi.RemoteException
public java.lang.String getbjectNameForUseWith() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getoriginatingOrgId() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String originatingSiteId() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setCheckIfClassUsedByObject(boolean toSet) throws MXException, java.rmi.RemoteException
setCheckIfClassUsedByObject
in interface ClassStructureSetRemote
toSet
- MXException
java.rmi.RemoteException
public java.lang.String getMaxAppsWhere() throws MXException, java.rmi.RemoteException
getMaxAppsWhere
in class MboSet
MXException
java.rmi.RemoteException
Calls this method.
public void setOriginatingObject(MboRemote origObject) throws MXException, java.rmi.RemoteException
setOriginatingObject
in interface ClassStructureSetRemote
MXException
java.rmi.RemoteException
psdi.app.assetcatalog.ClassStructureSet#setOriginatingObject()