ValidateThis API Documentation

ValidateThis.extras.coldbox
Class ColdBoxValidateThisInterceptor

WEB-INF.cftags.component
        extended by coldbox.system.FrameworkSupertype
            extended by coldbox.system.interceptor
                extended by ValidateThis.extras.coldbox.ColdBoxValidateThisInterceptor

public class ColdBoxValidateThisInterceptor
extends coldbox.system.interceptor

I load and configure ValidateThis


Method Summary
 void Configure()
          This is the configuration method for your interceptor
 void afterAspectsLoad(any event, struct interceptData)
          Load ValidateThis after configuration has loaded
private any getValidateThis()
private any getValidationResultInRequest(any event)
 void loadValidators(any event, struct interceptData)
          Prepare Validators For Given Objects, Types
private void logMessage([string message], [string extrainfo])
 void postValidate(any event, struct interceptData)
          Perform validation via ValidateThis Facade
 void preValidate(any event, struct interceptData)
          Perform validation via ValidateThis Facade
 void prepareValidationRequest(any event, struct interceptData)
          Prepare Event Collection for Validate Facade
private void setValidateThis(any ValidateThis)
private void setValidationResultInRequest(any event, any result)
 void validate(any event, struct interceptData)
          Perform validation via ValidateThis Facade
 
Methods inherited from class coldbox.system.interceptor
appendToBuffer, clearBuffer, getBufferObject, getBufferString, getInterceptorService, getProperty, getproperties, init, propertyExists, setProperty, setproperties, unregister
 
Methods inherited from class coldbox.system.FrameworkSupertype
$abort, $dump, $htmlhead, $include, $rethrow, $throw, addAsset, announceInterception, getColdboxOCM, getController, getDatasource, getDebugMode, getHash, getInterceptor, getMailSettings, getMemento, getModel, getModuleSettings, getMyPlugin, getPlugin, getResource, getSetting, getSettingStructure, getSettingsBean, getfwLocale, includeUDF, locateDirectoryPath, locateFilePath, persistVariables, populateModel, relocate, renderExternalView, renderLayout, renderView, runEvent, setDebugMode, setNextEvent, setNextRoute, setSetting, setfwLocale, settingExists
 
Methods inherited from class WEB-INF.cftags.component
 

Method Detail

Configure

public void Configure()
This is the configuration method for your interceptor

Overrides:
Configure in class coldbox.system.interceptor

afterAspectsLoad

public void afterAspectsLoad(any event, struct interceptData)
Load ValidateThis after configuration has loaded

Parameters:
event - The event object.
interceptData - interceptData of intercepted info.

getValidateThis

private any getValidateThis()


getValidationResultInRequest

private any getValidationResultInRequest(any event)

Parameters:
event

loadValidators

public void loadValidators(any event, struct interceptData)
Prepare Validators For Given Objects, Types

Parameters:
event - The event object.
interceptData - interceptData of intercepted info.

logMessage

private void logMessage([string message], [string extrainfo])

Parameters:
message
extrainfo

postValidate

public void postValidate(any event, struct interceptData)
Perform validation via ValidateThis Facade

Parameters:
event - The event object.
interceptData - resultObject returned from validate.

preValidate

public void preValidate(any event, struct interceptData)
Perform validation via ValidateThis Facade

Parameters:
event - The event object.
interceptData - validation request for validate.

prepareValidationRequest

public void prepareValidationRequest(any event, struct interceptData)
Prepare Event Collection for Validate Facade

Parameters:
event - The event object.
interceptData - interceptData of intercepted info.

setValidateThis

private void setValidateThis(any ValidateThis)

Parameters:
ValidateThis

setValidationResultInRequest

private void setValidationResultInRequest(any event, any result)

Parameters:
event
result

validate

public void validate(any event, struct interceptData)
Perform validation via ValidateThis Facade

Parameters:
event - The event object.
interceptData - interceptData of intercepted info.

ValidateThis API Documentation