|
ValidateThis API Documentation | ||||
| FRAMES | |||||
WEB-INF.cftags.component
ValidateThis.core.ValidationFactory
public class ValidationFactory
I am _the_ factory object for ValidateThis, I also create BO Validators for the framework.
| Constructor Summary | |
|---|---|
init(struct ValidateThisConfig)
I build a new ValidationFactory |
|
| Method Summary | |
|---|---|
void |
clearValidators()
|
void |
createBOVsFromCFCs()
I create BOVs from annotated CFCs |
private any |
createValidator(any objectType, any definitionPath, any theObject, any componentPath)
|
any |
createWrapper(any theObject)
|
any |
evaluateExpression(any expression)
I dynamically evaluate an expression and return the result |
any |
getBean([Any BeanName])
I return a singleton |
any |
getClientRuleScripters(any JSLib)
|
any |
getServerRuleValidators([any validator=''])
|
any |
getValidator(any objectType, [any definitionPath=''], [any theObject=''], [any componentPath=''])
|
any |
getValidatorNames()
|
any |
loadValidators(any objectList)
|
any |
newResult()
I create a Result object |
boolean |
testCondition(any Condition)
FOR MIXIN USE - I am here to dynamically evaluate a condition and return true or false |
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
public init(struct ValidateThisConfig)
ValidateThisConfig| Method Detail |
|---|
public void clearValidators()
public void createBOVsFromCFCs()
private any createValidator(any objectType, any definitionPath, any theObject, any componentPath)
objectTypedefinitionPaththeObject - The object from which to read annotations, a blank means no object was passedcomponentPath - The component path to the object - used to read annotations using getComponentMetadatapublic any createWrapper(any theObject)
theObjectPublic any evaluateExpression(any expression)
expressionpublic any getBean([Any BeanName])
BeanNamepublic any getClientRuleScripters(any JSLib)
JSLibpublic any getServerRuleValidators([any validator=''])
validatorpublic any getValidator(any objectType, [any definitionPath=''], [any theObject=''], [any componentPath=''])
objectTypedefinitionPaththeObject - The object from which to read annotationscomponentPath - The component path to the object - used to read annotations using getComponentMetadatapublic any getValidatorNames()
public any loadValidators(any objectList)
objectListpublic any newResult()
Public boolean testCondition(any Condition)
Condition
|
ValidateThis API Documentation | ||||
| FRAMES | |||||