|
ValidateThis API Documentation | ||||
| FRAMES | |||||
WEB-INF.cftags.component
ValidateThis.ValidateThis
public class ValidateThis
I accept a BO and use the framework to validate it.
| Constructor Summary | |
|---|---|
init([any ValidateThisConfig='[runtime expression]'])
I build a new ValidateThis |
|
| Method Summary | |
|---|---|
void |
clearValidators()
|
any |
createWrapper(any theObject)
|
any |
determineObjectType()
I try to determine the object type by looking at objectType and theObject arguments |
any |
evaluateExpression(any expression)
I dynamically evaluate an expression and return the result |
any |
getBean([Any BeanName])
I am used to allow the facade to ask the factory for beans |
any |
getClientRuleScripters()
|
any |
getInitializationScript([any JSLib='[runtime expression]'], [Any JSIncludes='[runtime expression]'], [Any locale='[runtime expression]'], [string format='script'])
I generate JS statements required to setup client-side validations for VT |
any |
getSRV(any validator)
|
any |
getServerRuleValidators([any validator=''])
|
any |
getVTFolder()
returns the name of the folder in which VT is installed |
any |
getValidateThisConfig()
|
any |
getValidator([any objectType=''], [any definitionPath=''], [any theObject=''])
|
any |
getValidatorNames()
|
any |
getVersion()
|
any |
loadValidators(any objectList)
|
any |
newResult()
I create a Result object |
Any |
onMissingMethod(any missingMethodName, any missingMethodArguments)
This is used to help communicate with the BOValidator, which is accessed via the ValidationFactory when needed |
boolean |
testCondition(any Condition)
I dynamically evaluate a condition and return true or false |
any |
validate(any theObject, [any objectType=''], [any Context=''], [any Result=''], [array objectList='[runtime expression]'], [string debuggingMode='[runtime expression]'], [boolean ignoreMissingProperties='false'], [string locale='[runtime expression]'])
|
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
public init([any ValidateThisConfig='[runtime expression]'])
ValidateThisConfig| Method Detail |
|---|
public void clearValidators()
public any createWrapper(any theObject)
theObjectpublic any determineObjectType()
Public any evaluateExpression(any expression)
expressionpublic any getBean([Any BeanName])
BeanNamepublic any getClientRuleScripters()
public any getInitializationScript([any JSLib='[runtime expression]'], [Any JSIncludes='[runtime expression]'], [Any locale='[runtime expression]'], [string format='script'])
JSLibJSIncludeslocaleformat - public any getSRV(any validator)
validatorpublic any getServerRuleValidators([any validator=''])
validatorpublic any getVTFolder()
public any getValidateThisConfig()
public any getValidator([any objectType=''], [any definitionPath=''], [any theObject=''])
objectTypedefinitionPaththeObjectpublic any getValidatorNames()
public any getVersion()
public any loadValidators(any objectList)
objectListpublic any newResult()
public Any onMissingMethod(any missingMethodName, any missingMethodArguments)
missingMethodNamemissingMethodArgumentsPublic boolean testCondition(any Condition)
Conditionpublic any validate(any theObject, [any objectType=''], [any Context=''], [any Result=''], [array objectList='[runtime expression]'], [string debuggingMode='[runtime expression]'], [boolean ignoreMissingProperties='false'], [string locale='[runtime expression]'])
theObjectobjectTypeContextResultobjectListdebuggingModeignoreMissingPropertieslocale
|
ValidateThis API Documentation | ||||
| FRAMES | |||||