public class ClassSpecUseWith extends Mbo implements ClassSpecUseWithRemote
See Assetcatalog Package description.
This is a system level object.
The key attributes for this object are: classspecid,objectname
The attributes in this object are as follows:
Attribute Name | Description |
---|---|
ClassStructureid | Foreign key identifier to a ClassStructure object |
ClassSpecId | Foreign key identifier to a ClassSpec object One of the two key attributes for this object. |
ObjectName | The MAXVALUE of the domain "CLASSUSEWITH" One of the two key attributes for this object. |
ObjectValue | The Value of the domain "CLASSUSEWITH" |
assetattrid | The attribute of the related CLASSSPEC record |
section | The section of the related CLASSSPEC record |
orgid | The orgid of the related CLASSSPEC record |
siteid | The site of the related CLASSSPEC record |
mandatory | If the value is mandatory when the classification is applied. |
mandatory | If the value is mandatory when the classification is applied. |
useinspec | If the related CLASSSPEC is to be included when the classification is applied. |
useindesc | If the related CLASSSPEC is to be included in the description generation when the classification is applied. |
sequence | The sequence to be copied into displaysequence when the classification is applied. |
defaultalnvalue | Default alphanumeric value. This value can be added or modified on this object before it is saved. This value is copied to the AlnValue of the Specifications when the classification is applied. DefaultALNValue is read-only and null if DataType is NUMERIC OR TABLE. |
defaultnumvalue | Defaultnumeric value. This value can be added or modified on this object before it is saved. This value is copied to the NumValue of the Specifications when the classification is applied. DefaultNUMValue is read-only and null if DataType is ALN OR TABLE. |
defaulttablelue | Defaultnumeric value. This value can be added or modified on this object before it is saved. This value is copied to the NumValue of the Specifications when the classification is applied. DefaultTableValue is read-only and null if DataType is ALN OR NUMERIC. |
ClassUseWith
,
ClassStructure
,
ClassSpec
Modifier and Type | Field and Description |
---|---|
java.lang.String |
numValueBeforeFormat
08-22576: remember the defaultnumvalue as string before MAXTYPE
|
boolean |
parentClassSpecUseWithFound
IV44918/97775: this CLASSSPECUSEWITH records for the newClassSpec have been created due to apply down hierarchy.
|
MULTILANGCOPY, phantomList, phantomQueue
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
Constructor and Description |
---|
ClassSpecUseWith(MboSet ms)
Constructs the ClassUseWith object
|
Modifier and Type | Method and Description |
---|---|
void |
add()
Creates an ClassUseWith object.
|
void |
appValidate()
Check before save()
|
void |
canDelete()
Determines if the object can be deleted.
|
void |
copyValuesFromApplyDownHierUseWith(MboSetRemote originalSpecUseWithSet)
08-18363
|
void |
copyValuesToChildClassSpecUseWith(MboSetRemote childSpecUseWithSet)
11-14583: when the value is changed on the existing ClassSpecUseWith that has applyDown hierarchy
copy the values of the parent(current) classspecusewith to the child classSpecUseWith records if the parent classspec is applydownhier
|
void |
delete(long access)
Also deletes children's objectname setup
|
java.lang.String |
getNumValueBeforeFormat()
08-22576
|
void |
init()
Called by the framework when the Mbo has been constructed and the
MboValues have been initialized.
|
boolean |
IsParentClassSpecUseWithFound()
IV90786: method to access the boolean parentClassSpecUseWithFound by ClassSpec
|
void |
setAlnNumTableReadOnly(MboRemote classSpec)
07-20719: only one value of the defaultalnvalue,defaultnumvalue,defaulttable value
should be editable per one classspecusewith record
|
void |
setParentClassSpecUseWithFound(boolean toSet)
IV90786
|
void |
setValue(java.lang.String attributeName,
java.lang.String val,
long accessModifier)
08-22576: if the attributename is NUMVALUE, then get the val
|
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, getESId, getExistingMboSet, getFetchIndex, getFieldExceptions, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertOrgForSite, getInsertSite, getInstanciatedMboSet, getInstanciatedMboValue, getInt, getIntegrationService, getKeyValue, getLanguageRecordRowStamp, getLinesRelationship, getList, getLockedByDisplayName, getLockedByUserID, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboCtx, getMboData, getMboDataSet, getMboForAttribute, getMboForAttributeStatic, getMboInitialValue, getMboList, getMboLogger, getMboRecordData, getMboServer, getMboSet, getMboSet, getMboSet, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getResourceName, getRowRestrictionFlag, getRowStamp, getRowStampObject, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUniqueLanguageIDRecord, getUserInfo, getUserName, getValidateOrder, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, initFieldFlagsOnMbo, initRelationship, isApiBatchError, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNoSql, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, modify, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, propagateKeyValue, removeCtx, removeRelatedSet, resolveNoSqlWhere, rollbackToCheckpoint, select, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDefaultValue, setDefaultValues, setDeleted, setEAuditFieldModified, setESId, setESigFieldModified, setFetchIndex, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setHierarchyLink, setIgnoreRecordLockCheck, setLangCodeDefault, setMboCtx, setMLValue, setModified, setModifiedForIntegrationOnly, setNewMbo, setNoSql, setPropagateKeyFlag, setPropagateKeyFlag, setProxy, setReadonlyWhenParentIsReadonly, setReferencedMbo, setReferencedMbo, setResolveNoSqlWhere, setResourceName, 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, valueChanged
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addMboSetForRequiredCheck, 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, getMboValueDataForDownload, 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, validateAttributes
public java.lang.String numValueBeforeFormat
public boolean parentClassSpecUseWithFound
public ClassSpecUseWith(MboSet ms) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void add() throws MXException, java.rmi.RemoteException
add
in interface MboRemote
add
in class Mbo
MXException
java.rmi.RemoteException
public void canDelete() throws MXException, java.rmi.RemoteException
canDelete
in class Mbo
MXApplicationException
- assetattributenodelete
GROUP | KEY | REASON | |
---|---|---|---|
assetcatalog | assetattributenodelete | if the asset exists on a ClassSpec, AssetSpec, ItemSpec or LocationSpec |
MXException
java.rmi.RemoteException
public void delete(long access) throws MXException, java.rmi.RemoteException
delete
in interface MboRemote
delete
in class Mbo
access
- the accessMXException
java.rmi.RemoteException
Mbo.delete(long)
public void init() throws MXException
Mbo
init
in class Mbo
MXException
public void appValidate() throws MXException, java.rmi.RemoteException
appValidate
in class Mbo
MXException
java.rmi.RemoteException
public void setAlnNumTableReadOnly(MboRemote classSpec) throws MXException, java.rmi.RemoteException
classSpec
- MXException
java.rmi.RemoteException
public void copyValuesFromApplyDownHierUseWith(MboSetRemote originalSpecUseWithSet) throws MXException, java.rmi.RemoteException
originalSpecUseWithSet
- MXException
java.rmi.RemoteException
public void setValue(java.lang.String attributeName, java.lang.String val, long accessModifier) throws MXException, java.rmi.RemoteException
setValue
in interface MboRemote
setValue
in class Mbo
attributeName
- 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.RemoteException
Mbo.setValue(String,String,long)
public java.lang.String getNumValueBeforeFormat() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void copyValuesToChildClassSpecUseWith(MboSetRemote childSpecUseWithSet) throws MXException, java.rmi.RemoteException
classSpecUseSet
- classSpec
- MXException
java.rmi.RemoteException
public boolean IsParentClassSpecUseWithFound() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setParentClassSpecUseWithFound(boolean toSet) throws MXException, java.rmi.RemoteException
toSet
- MXException
java.rmi.RemoteException