public class FldPromoteDefaultClassstructureID extends FldClassStructureId
ISNOTNULL, ISNULLlastSignaturemboValueTYPE_DOMAIN, TYPE_FIELDCLASS, TYPE_KEY, TYPE_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 |
|---|
FldPromoteDefaultClassstructureID(MboValue mbv)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getITRootHierarchyPath()
Returns the value for ITASSET maxvar and validates that it still exists in the classification structure.
|
java.lang.String |
getObjectName()
This method can be overrided when the classstructureid beed be validated
against the objectname other than the mbo's objectname, for example, in SLA,
it should validate against the apply to objectname.
|
protected java.lang.String |
getRootClassstructureID(java.lang.String maxvar)
Get the value of classstructureid recorded in the maxvar ITASSET.
|
protected boolean |
isITClassstructureid(java.lang.String classstructureid)
Returns true if classstructureid falls under root IT asset classification.
|
void |
validate()
Validates that classification falls under root IT asset classification.
|
action, addConditionalListWhere, addToLookupMapCache, chooseActualDomainValues, clearConditionalListWhere, evalConditionalWhere, getList, getListCriteria, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMboSet, getMboSet, getMboSet, hasList, setAllAttrsNullable, setErrorMessage, setKeyMap, setListCriteria, setListOrderBy, setLookupKeyMapInOrder, setLookupKeyMapInOrder, setMultiKeyWhereForLookup, setNotAllowNullAttrs, setRelationship, setValueFromLookup, setValueFromLookup, smartFill, smartFillWithoutReset, smartFind, smartFind, smartFindWithoutResetgetConditionalValWhere, getConditionResult, getDomainId, getDomainInfo, resetConditionValueFilter, resetDomainValues, setConditionalValWhere, setDomainIdgetAppLink, getIntegrationService, getLookupName, getMboValue, getMboValue, getTranslator, getType, init, initValue, setTypepublic FldPromoteDefaultClassstructureID(MboValue mbv) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getObjectName()
throws MXException,
java.rmi.RemoteException
FldClassStructureIdgetObjectName in class FldClassStructureIdMXExceptionjava.rmi.RemoteExceptionprotected java.lang.String getRootClassstructureID(java.lang.String maxvar)
throws java.rmi.RemoteException,
MXException
rootMaxvarMissing - if classstructureid is null or maxvar not found.java.rmi.RemoteExceptionMXExceptionCommonDataSet.readMaxVar(java.lang.String, boolean)protected boolean isITClassstructureid(java.lang.String classstructureid)
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic void validate()
throws MXException,
java.rmi.RemoteException
validate in interface MboValueListenervalidate in class FldClassStructureIdMXExceptionjava.rmi.RemoteExceptionprotected java.lang.String getITRootHierarchyPath()
throws java.rmi.RemoteException,
MXException
rootClassNotFound - if the maxvar is missing or the classification is not found.java.rmi.RemoteExceptionMXException