public class MaxProp extends Mbo implements MaxPropRemote
MaxPropValue.
This is a system level object.
The key attribute for this object is PropName.
The attributes in this object are as follows:
| Attribute Name | Description |
|---|---|
| CachedValue | Non-persistent attribute showing the current cached value to the Properties application. This will be populated only for the servername the user is currently connected to. If the cached value is from a file (and thus overrides the database value), this can differ from the value on the database. |
| ChangeBy | The UserID who last changed this row. |
| ChangeDate | The timestamp of the last change applied to this row. |
| Description | Description for the property. |
| DomainID | If there is a domain for validating the property values, the DomainID will be specified here. When a synonym domain is used for validation, the external value will be saved on the database. |
| Encrypted | Indicates whether the value of the property should be encrypted when stored in the MaxPropValue table. Some properties will have this defaulted to true. |
| FileOverride | Non-persistent attribute identifying whether the cached value was loaded from a file (as opposed to the database). This is used in the Properties application and in the cache reload process. |
| GlobalOnly | Indicates whether this property must exist only at a system-wide level. If true, the value must be system-wide and cannot have an override at the instance level. If false, it is allowed to be overidden at the instance. |
| InstanceOnly | Indicates whether this property must be defined at the instance level. If true, an instance-specific value must be defined for each servername and there will be no global value. If false, it will be defined globally, and may also be defined at the instance level depending on the GlobalOnly flag. |
| LiveRefresh | Indicates whether live refresh of cache is supported for this particular property. As many properties as possible will support live refresh. |
| MaximoDefault | The default value used in a new Maximo installation. May be null. This supports refreshing all properties with the system defaults. The defaults will be defined in MaxProp and carried over to the global values in MaxPropValue. |
| MaxType | Maximo datatype for this property value. Must equal ALN, INTEGER, or YORN. |
| NullsAllowed | Indicates whether a null value is permitted on MaxPropValue for this property. |
| OnlineChanges | Indicates whether the user is allowed to override the value via the Property Maintence application. As many properties as possible will support online changes. A property such as mxe.db.user would not allow online changes. |
| PropName | Property name. |
| Secure | Indicates whether this property can be retrieved before establishing an authenticated connection to Maximo. For most properties, this flag will be True, and an authenticated connection must have been established. However, some webclient properties (such as the webclient login page) may be needed before authentication can occur. For these properties, this flag will be False. |
| UserDefined | For all out-of-the-box properties, this will be False. For properties added via the Properties application, this will be True. |
MaxPropValue| Type | Property and Description |
|---|---|
boolean |
isFile
Determines if this is a file property
|
boolean |
isSystemLandlord |
boolean |
isSystem |
MULTILANGCOPY, phantomList, phantomQueueCOMMONALLROWS, 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 |
|---|
MaxProp(MboSet ms)
Constructor for the MaxProp object
|
| Modifier and Type | Method and Description |
|---|---|
void |
add()
Add a mbo, defaulting the attributes shown below.
|
void |
appValidate()
Validate before saving - Add a global value if new or handle encryption if modified
|
void |
checkDataTypeValid(java.lang.String val)
Checks if the value is a valid Maximo Data type
|
void |
checkDomainValid(java.lang.String val)
Validates the value against the Domain if there is domain specified.
|
void |
delete(long accessModifier)
Deletes the Property and all related Instances
|
void |
init()
Set readonly flags for various attributes.
|
boolean |
isEncrypted()
Determines if this property should be encrypted
|
boolean |
isFileProperty()
Determines if this is a file property
|
boolean |
isGlobalOnly()
Determines if this property is global only
|
boolean |
isInstanceOnly()
Determines if the property is instance only
|
boolean |
isMasked()
Returns the Masked flag
|
boolean |
isNullAllowed()
Determines if this property allows nulls or not
|
boolean |
isOnlineAllowed()
Determines if online changes are allowed for this property
|
boolean |
isSystemLandlordProperty() |
boolean |
isSystemProperty() |
boolean |
isUserDefined()
Determines if this is a userdefined property
|
void |
modify()
Prepare to modify a mbo, defaulting the attributes shown below.
|
void |
setMasked(boolean flag)
Set the Masked flag, which indicates simulating inputmode=password on UI.
|
void |
setValue(java.lang.String attributeName,
java.lang.String val,
long accessModifier)
Set value for the specified attribute.
|
addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, blindCopy, canDelete, 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, getMboValue, 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, 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, setValueFromSequence, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, 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, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, validate, validateAttributesMXExceptionMXExceptionisFileProperty in interface MaxPropRemotejava.rmi.RemoteExceptionMXExceptionpublic MaxProp(MboSet ms) throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic boolean isSystemProperty()
throws MXException
MXExceptionpublic boolean isSystemLandlordProperty()
throws MXException
MXExceptionpublic void init()
throws MXException
init in class MboMXExceptionpublic void add()
throws MXException,
java.rmi.RemoteException
| Attribute Name | Attribute Value |
|---|---|
| MaxType | ALN |
| SecureLevel | SECURE |
| UserDefined | True |
add in interface MboRemoteadd in class MboMXExceptionjava.rmi.RemoteExceptionpublic void delete(long accessModifier)
throws MXException,
java.rmi.RemoteException
delete in interface MboRemotedelete in class MboaccessModifier - The bitwise flag specified to determine
if certain normal security checks are to be
bypassed for this delete request.
For example:
if the accessModifer is NOACCESSCHECK, then the
check for the object's NODELETE flag and the
call to the object's canDelete() method
will not be performed.
If the accessModifer is NONE, then all the
access checks are performed before this object
is marked delete.MXExceptionjava.rmi.RemoteExceptionMbo.delete(long)public void modify()
throws MXException,
java.rmi.RemoteException
| Attribute Name | Attribute Value |
|---|---|
| ChangeBy | Current user |
| ChangeDate | Current date |
modify in class MboMXExceptionjava.rmi.RemoteExceptionpublic void appValidate()
throws MXException,
java.rmi.RemoteException
appValidate in class MboMXExceptionjava.rmi.RemoteExceptionpublic boolean isNullAllowed()
throws java.rmi.RemoteException,
MXException
isNullAllowed in interface MaxPropRemotejava.rmi.RemoteExceptionMXExceptionpublic boolean isInstanceOnly()
throws java.rmi.RemoteException,
MXException
isInstanceOnly in interface MaxPropRemotejava.rmi.RemoteExceptionMXExceptionpublic boolean isEncrypted()
throws java.rmi.RemoteException,
MXException
isEncrypted in interface MaxPropRemotejava.rmi.RemoteExceptionMXExceptionpublic boolean isOnlineAllowed()
throws java.rmi.RemoteException,
MXException
isOnlineAllowed in interface MaxPropRemotejava.rmi.RemoteExceptionMXExceptionpublic boolean isGlobalOnly()
throws java.rmi.RemoteException,
MXException
isGlobalOnly in interface MaxPropRemotejava.rmi.RemoteExceptionMXExceptionpublic boolean isFileProperty()
throws java.rmi.RemoteException,
MXException
isFileProperty in interface MaxPropRemotejava.rmi.RemoteExceptionMXExceptionpublic boolean isUserDefined()
throws java.rmi.RemoteException,
MXException
isUserDefined in interface MaxPropRemotejava.rmi.RemoteExceptionMXExceptionpublic void checkDataTypeValid(java.lang.String val)
throws java.rmi.RemoteException,
MXException
checkDataTypeValid in interface MaxPropRemotejava.rmi.RemoteExceptionMXExceptionpublic void checkDomainValid(java.lang.String val)
throws java.rmi.RemoteException,
MXException
checkDomainValid in interface MaxPropRemoteval - Value to checkjava.rmi.RemoteExceptionMXExceptionpublic void setMasked(boolean flag)
flag - Value for maskedpublic boolean isMasked()
public void setValue(java.lang.String attributeName,
java.lang.String val,
long accessModifier)
throws MXException,
java.rmi.RemoteException
setValue in interface MboRemotesetValue in class MboattributeName - The attribute name within the current object.val - The string value to set to the attribute.accessModifier - The bitwise flags such as NOACCESSCHECK,
NOVALIDATION_AND_NOACTION, and DELAYVALIDATION.MXException - "Attribute {0} does not exist" exception will
be thrown if the attribute does not exist
in the object.
"Field is read only" exception will be thrown
if the attribute is READONLY and the
accessModifier does not specify NOACCESSCHECK.
"Invalid Data Type" exception will be thrown
for datatype mismatch. For example,
setting a string value of characters to an
attribute which has datatype of YORN.java.rmi.RemoteExceptionMbo.setValue(String, String, long)