public class FldTableDuplicateLookup extends MboValueAdapter
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 |
---|
FldTableDuplicateLookup(MboValue mbv)
Construct and attach to the mbo value.
|
Modifier and Type | Method and Description |
---|---|
protected void |
setValidateErrorMessage(java.lang.String resource,
java.lang.String errorMessage)
Sets the error message to be displayed if the validation fails
|
void |
validate()
Validates the current mboset for duplicates
|
action, getAppLink, getIntegrationService, getList, getLookupName, getMatchingAttr, getMatchingAttr, getMboValue, getMboValue, getTranslator, getType, hasList, init, initValue, setType, setValueFromLookup, smartFill, smartFind, smartFind
public FldTableDuplicateLookup(MboValue mbv) throws MXException, java.rmi.RemoteException
MboValue
- - Instance of MboValueMXException
java.rmi.RemoteException
public void validate() throws MXException, java.rmi.RemoteException
validate
in interface MboValueListener
validate
in class MboValueAdapter
MXException
java.rmi.RemoteException
protected void setValidateErrorMessage(java.lang.String resource, java.lang.String errorMessage) throws MXException, java.rmi.RemoteException
resource
- - The name of the resource file (.txt) where the message is locatederrorMessage
- - The name of the message keyMXException
java.rmi.RemoteException