public class FldPromoteDefaultClassstructureID extends FldClassStructureId
ISNOTNULL, ISNULL
lastSignature
mboValue
TYPE_DOMAIN, TYPE_FIELDCLASS, TYPE_KEY, TYPE_UNKNOWN
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 |
---|
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, smartFindWithoutReset
getConditionalValWhere, getConditionResult, getDomainId, getDomainInfo, resetConditionValueFilter, resetDomainValues, setConditionalValWhere, setDomainId
getAppLink, getIntegrationService, getLookupName, getMboValue, getMboValue, getTranslator, getType, init, initValue, setType
public FldPromoteDefaultClassstructureID(MboValue mbv) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getObjectName() throws MXException, java.rmi.RemoteException
FldClassStructureId
getObjectName
in class FldClassStructureId
MXException
java.rmi.RemoteException
protected java.lang.String getRootClassstructureID(java.lang.String maxvar) throws java.rmi.RemoteException, MXException
rootMaxvarMissing
- if classstructureid is null or maxvar not found.java.rmi.RemoteException
MXException
CommonDataSet.readMaxVar(java.lang.String, boolean)
protected boolean isITClassstructureid(java.lang.String classstructureid) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void validate() throws MXException, java.rmi.RemoteException
validate
in interface MboValueListener
validate
in class FldClassStructureId
MXException
java.rmi.RemoteException
protected java.lang.String getITRootHierarchyPath() throws java.rmi.RemoteException, MXException
rootClassNotFound
- if the maxvar is missing or the classification is not found.java.rmi.RemoteException
MXException