|
ValidateThis API Documentation | ||||
| FRAMES | |||||
WEB-INF.cftags.component
ValidateThis.server.ServerValidator
public class ServerValidator
I orchestrate server side validations.
| Constructor Summary | |
|---|---|
init(any childObjectFactory, any TransientFactory, any ObjectChecker, any EqualsHelper, any messageHelper, string ExtraRuleValidatorComponentPaths, string injectResultIntoBO, string defaultFailureMessagePrefix, string vtFolder, string defaultLocale)
I build a new ServerValidator |
|
| Method Summary | |
|---|---|
private any |
determineFailureMessage(struct v, any theVal)
|
any |
getRuleValidator(any RuleType)
|
any |
getRuleValidators()
|
any |
getVTResult()
I get the VT Result object |
private void |
setRuleValidators()
I create rule validator objects from a list of component paths |
void |
setVTResult(any result)
I set the VT Result object |
void |
validate(any BOValidator, any theObject, any Context, any Result, [array objectList='[runtime expression]'], [string debuggingMode='[runtime expression]'], [boolean ignoreMissingProperties='false'], [string locale='[runtime expression]'])
I perform the validation returning info in the result object |
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
Public init(any childObjectFactory, any TransientFactory, any ObjectChecker, any EqualsHelper, any messageHelper, string ExtraRuleValidatorComponentPaths, string injectResultIntoBO, string defaultFailureMessagePrefix, string vtFolder, string defaultLocale)
childObjectFactoryTransientFactoryObjectCheckerEqualsHelpermessageHelperExtraRuleValidatorComponentPathsinjectResultIntoBOdefaultFailureMessagePrefixvtFolderdefaultLocale| Method Detail |
|---|
private any determineFailureMessage(struct v, any theVal)
v - The validation struct stored in the BOValidatortheVal - The validation object being used to perform the validationpublic any getRuleValidator(any RuleType)
RuleTypepublic any getRuleValidators()
Public any getVTResult()
private void setRuleValidators()
Public void setVTResult(any result)
resultpublic void validate(any BOValidator, any theObject, any Context, any Result, [array objectList='[runtime expression]'], [string debuggingMode='[runtime expression]'], [boolean ignoreMissingProperties='false'], [string locale='[runtime expression]'])
BOValidatortheObjectContextResultobjectListdebuggingModeignoreMissingPropertieslocale
|
ValidateThis API Documentation | ||||
| FRAMES | |||||