public class FldTenantDbUserId 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 |
---|
FldTenantDbUserId(MboValue mbv)
Construct and attach to the specified MboValue.
|
Modifier and Type | Method and Description |
---|---|
boolean |
tenantDatabaseUserIdValidator(java.lang.String databaseUserId,
java.lang.String posZeroRegex,
java.lang.String regex)
Validates the tenant database user id using regular expression pattern matching.
|
void |
validate()
Once the value has been set, it cannot be cleared by the user.
|
action, getAppLink, getIntegrationService, getList, getLookupName, getMatchingAttr, getMatchingAttr, getMboValue, getMboValue, getType, hasList, init, initValue, setType, setValueFromLookup, smartFill, smartFind, smartFind
public FldTenantDbUserId(MboValue mbv)
public void validate() throws MXException, java.rmi.RemoteException
validate
in interface MboValueListener
validate
in class MboValueAdapter
MXException
java.rmi.RemoteException
public boolean tenantDatabaseUserIdValidator(java.lang.String databaseUserId, java.lang.String posZeroRegex, java.lang.String regex)
databaseUserId
- posZeroRegex
- Regex pattern to enforce the first characterregex
- Regex pattern to enforce the rest of the characters