ValidateThis API Documentation

ValidateThis.util
Class TransientFactory

WEB-INF.cftags.component
        extended by ValidateThis.util.TransientFactory

public class TransientFactory
extends WEB-INF.cftags.component

I create Transient objects.


Constructor Summary
init(any lightWire)
          returns a configured transient factory
 
Method Summary
 any create(string transientName, [struct afterCreateArgs='[runtime expression]'])
          returns a configured, autowired transient
 any newValidation([any theObject=''], [any objectList='[runtime expression]'])
          a concrete method to allow for the ValidateThis facade object to be injected into a validation
 any onMissingMethod(string MissingMethodName, struct MissingMethodArguments)
          provides virtual api [new{transientName}] for any registered transient
 any setValidateThis([any validateThis])
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

init

public init(any lightWire)
returns a configured transient factory

Parameters:
lightWire
Method Detail

create

public any create(string transientName, [struct afterCreateArgs='[runtime expression]'])
returns a configured, autowired transient

Parameters:
transientName
afterCreateArgs

newValidation

public any newValidation([any theObject=''], [any objectList='[runtime expression]'])
a concrete method to allow for the ValidateThis facade object to be injected into a validation

Parameters:
theObject - The object being validated
objectList - A list of objects already validated

onMissingMethod

public any onMissingMethod(string MissingMethodName, struct MissingMethodArguments)
provides virtual api [new{transientName}] for any registered transient.

Parameters:
MissingMethodName
MissingMethodArguments

setValidateThis

public any setValidateThis([any validateThis])

Parameters:
validateThis

ValidateThis API Documentation