public class FldAssetParent extends FldAssetnum
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 |
|---|
FldAssetParent(MboValue mbv)
Construct and attach to the mbo value
|
FldAssetParent(MboValue mbv,
java.lang.String relationship)
Construct and attach to the mbo value
|
| Modifier and Type | Method and Description |
|---|---|
void |
action()
sets location as asset parent's location.
|
MboSetRemote |
getList()
Show only the assets in the logged in site
|
void |
setRelationship(java.lang.String relationship)
sets the relationship to use to get the Asset
MBO that represents the parent to the object whose
parent attribute is being validated
|
void |
validate()
validate parent,cannot add parent if the parent or the child is a
rotating asset in the inventory location.
|
addConditionalListWhere, addToLookupMapCache, chooseActualDomainValues, clearConditionalListWhere, evalConditionalWhere, 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 FldAssetParent(MboValue mbv) throws MXException
mbv - MXExceptionpublic FldAssetParent(MboValue mbv, java.lang.String relationship) throws MXException
mbv - MXExceptionpublic void action()
throws MXException,
java.rmi.RemoteException
action in interface MboValueListeneraction in class MAXTableDomainMXExceptionjava.rmi.RemoteExceptionpublic void setRelationship(java.lang.String relationship)
public void validate()
throws MXException,
java.rmi.RemoteException
validate in interface MboValueListenervalidate in class FldAssetnumMXException - With "asset", "cantBelongToInvLoc".java.rmi.RemoteExceptionpublic MboSetRemote getList() throws MXException, java.rmi.RemoteException
getList in interface MboValueListenergetList in class MAXTableDomainMXExceptionjava.rmi.RemoteException