public class FldAssetParent extends FldAssetnum
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 |
---|
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, 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, getType, init, initValue, setType
public FldAssetParent(MboValue mbv) throws MXException
mbv
- MXException
public FldAssetParent(MboValue mbv, java.lang.String relationship) throws MXException
mbv
- MXException
public void action() throws MXException, java.rmi.RemoteException
action
in interface MboValueListener
action
in class MAXTableDomain
MXException
java.rmi.RemoteException
public void setRelationship(java.lang.String relationship)
public void validate() throws MXException, java.rmi.RemoteException
validate
in interface MboValueListener
validate
in class FldAssetnum
MXException
- With "asset", "cantBelongToInvLoc".java.rmi.RemoteException
public MboSetRemote getList() throws MXException, java.rmi.RemoteException
getList
in interface MboValueListener
getList
in class MAXTableDomain
MXException
java.rmi.RemoteException