public class MaxSysIndexes extends Mbo implements MaxSysIndexesRemote, UpgConstants
See Configure Package description.
This is a system level object.
The key attribute for this object is Name.
The attributes in this object are as follows:
| Attribute Name | Description |
|---|---|
| Changed | Used in the configuration process. Usually equals No.
The values of Changed can be as follows (they are set via
the business object, not directly via the UI).
|
| ClusterRule | Identifies whether this is a clustered index: True for clustered and False for non-clustered. Not relevant for Oracle (will always be False). |
| Name | Index Name. Unique identifier for this object. |
| Required | When equal to Yes, this index cannot be changed or deleted by the user. This would be the case, for example, for the primary unique index on a table. This flag is set by IBM Corp. and cannot be changed via the Config application. |
| StoragePartition | Where the index is stored, if not in the main tablespace.
From valuelist DBSTORAGEPARTITION.
|
| TbName | Table Name for this index. Foreign key to MaxTable.
|
| TextSearch | Indicates whether this index is needed for text search functionality. This is set internally by Maximo and cannot be directly changed by the user. |
| Unique | Non-persistent attribute; boolean (YORN) form for "UniqueRule". True indicates a unique index, False a duplicate index. Also see persistent attribute "UniqueRule". |
| UniqueIDIndex | Non-persistent attribute; identifies whether this index is for the Unique ID attribute. |
| UniqueRule | "U" (unique) if this is a unique index, else "D" (duplicate). Also see non-persistent attribute "Unique". |
| ViewChanged | Non-persistent attribute. Will equal "Add", "Change", "Delete", or null, depending on the value of Changed. For display in the UI. |
MULTILANGCOPY, phantomList, phantomQueueDB2, doNotUpdateACTION, doNotUpdateALNDOMAIN, doNotUpdateAPPLICATIONAUTH, doNotUpdateAUTOKEY, doNotUpdateCONDITION, doNotUpdateCONTRACTPROPERTY, doNotUpdateCONTRACTTYPE, doNotUpdateCROSSOVERDOMAIN, doNotUpdateDOCTYPES, doNotUpdateLANGUAGE, doNotUpdateMAXAPPS, doNotUpdateMAXCONDDETAIL, doNotUpdateMAXCONTROLVALUE, doNotUpdateMAXDOMAIN, doNotUpdateMAXLOGAPPENDER, doNotUpdateMAXLOGGER, doNotUpdateMAXMENU, doNotUpdateMAXMESSAGES, doNotUpdateMAXMODULES, doNotUpdateMAXPROP, doNotUpdateMAXPROPVALUE, doNotUpdateMAXROLE, doNotUpdateMAXSEQUENCE, doNotUpdateMAXSERSECURITY, doNotUpdateMAXSERVICE, doNotUpdateMAXTABLEDOMAIN, doNotUpdateMAXVARS, doNotUpdateMAXVARTYPE, doNotUpdateMXCOLLAB, doNotUpdateMXCOLLABREF, doNotUpdateNUMERICDOMAIN, doNotUpdateNUMRANGEDOMAIN, doNotUpdatePORTLET, doNotUpdatePRICALC, doNotUpdateSECURITYRESTRICT, doNotUpdateSIGOPTION, doNotUpdateSYNONYMDOMAIN, doNotUpdateTAXTYPE, doNotUpdateWORKPRIORITY, doNotUpdateWORKTYPE, doNotUpdateWPEDITSETTING, messageCache, NEWONLY, OLDANDNEW, OLDONLY, ORACLE, SQLINET, SQLMICROSOFT, SQLSERVER, SYSDATATABLES, SYSTEMTABLES, UNKNOWNALLROWS, 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| Constructor and Description |
|---|
MaxSysIndexes(MboSet ms)
Construct the MaxSysIndexes object
|
| Modifier and Type | Method and Description |
|---|---|
void |
add()
Add a mbo, defaulting the attributes shown below.
|
void |
appValidate()
Application validation routine.
|
void |
canDelete()
Index must be not already marked for deletion.
|
void |
canUndelete()
To undelete, index must be marked for deletion via the "changed" attribute.
|
void |
checkForDups()
Called from appValidate.
|
void |
delete(long accessModifier)
Set the value of "changed" on maxsysindexes and maxsyskeys
to indicate deletion.
|
MboValue |
getMboValue(java.lang.String nameInput)
Delay retrieval of maxsyskeys (used for attribute ("uniqueidindex").
|
boolean |
indexMetaExistsForOtherTable(java.lang.String name)
Indicates whether index metadata (maxsysindexes) exists for this index name for a different table.
|
void |
init()
Inititialize fields to readonly or not.
|
boolean |
nativeIndexExists()
Indicates whether the index exists on the native database for the value of "name".
|
boolean |
nativeIndexExists(java.lang.String name)
Indicates whether the index exists on the native database for the given index name.
|
boolean |
nativeIndexExists(java.lang.String name,
java.lang.String tbname)
Indicates whether the index exists on the native database for the given index name and tablename.
|
void |
undelete()
Set the value of "changed" to indicate undeletion for maxsysindexes and maxsyskeys.
|
addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, blindCopy, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkSiteOrgAccessForSave, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, determineRequiredFieldsFromERM, duplicate, enableMethod, evaluateCondition, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, evaluateRestriction, excludeObjectForPropagate, findAllNullRequiredFields, fireEvent, generateAutoKey, generateContentUID, getAlwaysFlags, getAttrRestrictionFlag, getAttrRestrictions, getBoolean, getByte, getBytes, getCheckpoint, getClientLocale, getClientTimeZone, getCommLogOwnerNameAndUniqueId, getCondition, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainFilterWhere, getDomainIDs, getDouble, getExistingMboSet, getFetchIndex, getFieldExceptions, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInstanciatedMboSet, getInstanciatedMboValue, getInt, getIntegrationService, getKeyValue, getLanguageRecordRowStamp, getLinesRelationship, getList, getLockedByDisplayName, getLockedByUserID, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboForAttribute, getMboForAttributeStatic, getMboInitialValue, getMboList, getMboLogger, getMboRecordData, getMboServer, getMboSet, getMboSet, getMboSet, getMboSetInfo, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getRowRestrictionFlag, getRowStamp, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, getValidateOrder, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, initFieldFlagsOnMbo, initRelationship, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, modify, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, propagateKeyValue, removeRelatedSet, rollbackToCheckpoint, select, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDefaultValue, setDefaultValues, setDeleted, setEAuditFieldModified, setESigFieldModified, setFetchIndex, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setHierarchyLink, setIgnoreRecordLockCheck, setLangCodeDefault, setMLValue, setModified, setNewMbo, setPropagateKeyFlag, setPropagateKeyFlag, setProxy, setReadonlyWhenParentIsReadonly, setReferencedMbo, setReferencedMbo, setUniqueIDValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueFromSequence, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChangedequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, duplicate, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, excludeObjectForPropagate, generateAutoKey, getBoolean, getByte, getBytes, getCommLogOwnerNameAndUniqueId, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainIDs, getDouble, getExistingMboSet, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInt, getKeyValue, getLinesRelationship, getList, getLockedByDisplayName, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboInitialValue, getMboList, getMboSet, getMboSet, getMboSet, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getPropagateKeyFlag, getRecordIdentifer, getSiteOrg, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getThisMboSet, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, hasHierarchyLink, hasLockSaveRights, isAutoKeyed, isBasedOn, isFlagSet, isForDM, isLocked, isLocked, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isZombie, lock, propagateKeyValue, rollbackToCheckpoint, select, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDeleted, setESigFieldModified, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setIgnoreRecordLockCheck, setMLValue, setModified, setNewMbo, setPropagateKeyFlag, setPropagateKeyFlag, setReferencedMbo, setReferencedMbo, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, unlock, unselect, validate, validateAttributespublic MaxSysIndexes(MboSet ms) throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void init()
throws MXException
util to the set's value.init in class MboMXExceptionpublic void add()
throws MXException,
java.rmi.RemoteException
| Attribute Name | Attribute Value |
|---|---|
| Changed | Y |
| ClusterRule | False |
| Required | False |
| StoragePartition | Value of the table's storage partition |
| TbName | The table name of the table |
| TextSearch | False |
| Unique | False (duplicates allowed) |
| UniqueRule | D (duplicates allowed) |
| ViewChanged | value of MaxSysIndexesSet
ADD
|
add in interface MboRemoteadd in class MboMXExceptionjava.rmi.RemoteExceptionpublic void canDelete()
throws MXException,
java.rmi.RemoteException
delete.canDelete in class MboMXExceptionjava.rmi.RemoteExceptionpublic void delete(long accessModifier)
throws MXException,
java.rmi.RemoteException
However, if the accessModifier equals DBCONFIG then super is called. The DBCONFIG flag is used only internally from MaxObjectCfg, never from the UI framework.
delete in interface MboRemotedelete in class MboaccessModifier - See Mbo delete.MXExceptionjava.rmi.RemoteExceptionMbo.delete(long)public void canUndelete()
throws MXException,
java.rmi.RemoteException
undelete.MXExceptionjava.rmi.RemoteExceptionpublic void undelete()
throws MXException,
java.rmi.RemoteException
undelete in interface MboRemoteundelete in class MboMXExceptionjava.rmi.RemoteExceptionnativeIndexExists()public void appValidate()
throws MXException,
java.rmi.RemoteException
appValidate in class MboMXExceptionjava.rmi.RemoteExceptioncheckForDups()public boolean nativeIndexExists()
throws MXException,
java.rmi.RemoteException
nativeIndexExists with index name =
value of "name" attribute and tbname = value of "tbname" attribute.nativeIndexExists in interface MaxSysIndexesRemoteMXExceptionjava.rmi.RemoteExceptionnativeIndexExists(String, String)public boolean nativeIndexExists(java.lang.String name)
throws MXException,
java.rmi.RemoteException
nativeIndexExists with tbname param = this tbname.nativeIndexExists in interface MaxSysIndexesRemotename - The name to check for.MXExceptionjava.rmi.RemoteExceptionnativeIndexExists(String, String)public boolean nativeIndexExists(java.lang.String name,
java.lang.String tbname)
throws MXException,
java.rmi.RemoteException
nativeIndexExists in interface MaxSysIndexesRemotename - The index name to check for.tbname - The table name to be checked against. If null, this check will be against any tablename.MXExceptionjava.rmi.RemoteExceptionUtil.nativeIndexExists(java.lang.String, java.lang.String)public boolean indexMetaExistsForOtherTable(java.lang.String name)
throws MXException,
java.rmi.RemoteException
indexMetaExistsForOtherTable in interface MaxSysIndexesRemotename - Index name.MXExceptionjava.rmi.RemoteExceptionindexMetaExistsForOtherTable(java.lang.String)public void checkForDups()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptiongetKeyNames(psdi.mbo.MboSetRemote),
Util.nativeIndexExistsForColumns(java.lang.String, java.lang.Object[])public MboValue getMboValue(java.lang.String nameInput) throws MXException
getMboValue in class MboMXExceptionMbo.getMboValue(String)