public class FldMboKeyAsMAXTableDomain extends MAXTableDomain
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 |
|---|
FldMboKeyAsMAXTableDomain(MboValue mv)
Construct and attach to the MboValue
|
| Modifier and Type | Method and Description |
|---|---|
void |
action()
When an existing record is made a child of another record,
the action makes the entered Mbo child the same as the existing Mbo.
|
boolean |
findRecord(java.lang.String tbName,
MboRemote enteredMbo,
java.util.ArrayList keyArray) |
MboSetRemote |
getMboSetForKey()
Get the mboset used to validate that the value(s) entered are
unique.
|
void |
setKeyAttributes(java.lang.String[] keys,
java.lang.String relationship)
Set the names of the key fields
|
void |
validate()
Validation routine which will check for uniqueness
In the case of hierarchical Mbos, this method will set the
child's HierarchyLink flag.
|
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 FldMboKeyAsMAXTableDomain(MboValue mv)
public void setKeyAttributes(java.lang.String[] keys,
java.lang.String relationship)
public void validate()
throws MXException,
java.rmi.RemoteException
validate in interface MboValueListenervalidate in class MAXTableDomainMXExceptionjava.rmi.RemoteExceptionThis is a sub-class.public boolean findRecord(java.lang.String tbName,
MboRemote enteredMbo,
java.util.ArrayList keyArray)
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic MboSetRemote getMboSetForKey() throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void action()
throws MXException,
java.rmi.RemoteException
action in interface MboValueListeneraction in class MAXTableDomainMXExceptionjava.rmi.RemoteException