Mura CMS 6.1

mura.bean
Class beanValidator

railo-context.Component
        extended by mura.cfobject
            extended by mura.bean.beanValidator

public class beanValidator
extends cfobject

Method Summary
 boolean getConditionsMeetFlag(any object, string conditions)
 any getPopulatedPropertyValidationContext(any object, string propertyName, [string context=''])
 struct getValidationsByContext(any object, [string context=''])
 any validate(any object, [string context=''])
 boolean validate_dataType(any object, string propertyIdentifier, any constraintValue)
 boolean validate_eq(any object, string propertyIdentifier, string constraintValue)
 boolean validate_format(any object, string propertyIdentifier, any constraintValue)
 boolean validate_gt(any object, string propertyIdentifier, string constraintValue)
 boolean validate_gte(any object, string propertyIdentifier, string constraintValue)
 boolean validate_inList(any object, string propertyIdentifier, string constraintValue)
 boolean validate_lt(any object, string propertyIdentifier, string constraintValue)
 boolean validate_lte(any object, string propertyIdentifier, string constraintValue)
 boolean validate_maxCollection(any object, string propertyIdentifier, numeric constraintValue)
 boolean validate_maxLength(any object, string propertyIdentifier, numeric constraintValue)
 boolean validate_maxList(any object, string propertyIdentifier, numeric constraintValue)
 boolean validate_maxValue(any object, string propertyIdentifier, numeric constraintValue)
 boolean validate_method(any object, string propertyIdentifier, string constraintValue)
 boolean validate_minCollection(any object, string propertyIdentifier, numeric constraintValue)
 boolean validate_minLength(any object, string propertyIdentifier, numeric constraintValue)
 boolean validate_minList(any object, string propertyIdentifier, numeric constraintValue)
 boolean validate_minValue(any object, string propertyIdentifier, numeric constraintValue)
 boolean validate_neq(any object, string propertyIdentifier, string constraintValue)
 boolean validate_regex(any object, string propertyIdentifier, string constraintValue)
 boolean validate_required(any object, string propertyIdentifier, [boolean constraintValue='true'])
 any validateConstraint(any object, string propertyIdentifier, struct constraintDetails, any errorsStruct, string context)
 
Methods inherited from class mura.cfobject
commitTracePoint, deleteMethod, getAsJSON, getAsStruct, getBean, getConfigBean, getCurrentUser, getEventManager, getPlugin, getPluginManager, getServiceFactory, getValue, init, initTracePoint, injectMethod, invokeMethod, removeValue, setValue, valueExists
 
Methods inherited from class railo-context.Component
 

Method Detail

getConditionsMeetFlag

public boolean getConditionsMeetFlag(any object, string conditions)

Parameters:
object
conditions

getPopulatedPropertyValidationContext

public any getPopulatedPropertyValidationContext(any object, string propertyName, [string context=''])

Parameters:
object
propertyName
context

getValidationsByContext

public struct getValidationsByContext(any object, [string context=''])

Parameters:
object
context

validate

public any validate(any object, [string context=''])

Parameters:
object
context

validate_dataType

public boolean validate_dataType(any object, string propertyIdentifier, any constraintValue)

Parameters:
object
propertyIdentifier
constraintValue

validate_eq

public boolean validate_eq(any object, string propertyIdentifier, string constraintValue)

Parameters:
object
propertyIdentifier
constraintValue

validate_format

public boolean validate_format(any object, string propertyIdentifier, any constraintValue)

Parameters:
object
propertyIdentifier
constraintValue

validate_gt

public boolean validate_gt(any object, string propertyIdentifier, string constraintValue)

Parameters:
object
propertyIdentifier
constraintValue

validate_gte

public boolean validate_gte(any object, string propertyIdentifier, string constraintValue)

Parameters:
object
propertyIdentifier
constraintValue

validate_inList

public boolean validate_inList(any object, string propertyIdentifier, string constraintValue)

Parameters:
object
propertyIdentifier
constraintValue

validate_lt

public boolean validate_lt(any object, string propertyIdentifier, string constraintValue)

Parameters:
object
propertyIdentifier
constraintValue

validate_lte

public boolean validate_lte(any object, string propertyIdentifier, string constraintValue)

Parameters:
object
propertyIdentifier
constraintValue

validate_maxCollection

public boolean validate_maxCollection(any object, string propertyIdentifier, numeric constraintValue)

Parameters:
object
propertyIdentifier
constraintValue

validate_maxLength

public boolean validate_maxLength(any object, string propertyIdentifier, numeric constraintValue)

Parameters:
object
propertyIdentifier
constraintValue

validate_maxList

public boolean validate_maxList(any object, string propertyIdentifier, numeric constraintValue)

Parameters:
object
propertyIdentifier
constraintValue

validate_maxValue

public boolean validate_maxValue(any object, string propertyIdentifier, numeric constraintValue)

Parameters:
object
propertyIdentifier
constraintValue

validate_method

public boolean validate_method(any object, string propertyIdentifier, string constraintValue)

Parameters:
object
propertyIdentifier
constraintValue

validate_minCollection

public boolean validate_minCollection(any object, string propertyIdentifier, numeric constraintValue)

Parameters:
object
propertyIdentifier
constraintValue

validate_minLength

public boolean validate_minLength(any object, string propertyIdentifier, numeric constraintValue)

Parameters:
object
propertyIdentifier
constraintValue

validate_minList

public boolean validate_minList(any object, string propertyIdentifier, numeric constraintValue)

Parameters:
object
propertyIdentifier
constraintValue

validate_minValue

public boolean validate_minValue(any object, string propertyIdentifier, numeric constraintValue)

Parameters:
object
propertyIdentifier
constraintValue

validate_neq

public boolean validate_neq(any object, string propertyIdentifier, string constraintValue)

Parameters:
object
propertyIdentifier
constraintValue

validate_regex

public boolean validate_regex(any object, string propertyIdentifier, string constraintValue)

Parameters:
object
propertyIdentifier
constraintValue

validate_required

public boolean validate_required(any object, string propertyIdentifier, [boolean constraintValue='true'])

Parameters:
object
propertyIdentifier
constraintValue

validateConstraint

public any validateConstraint(any object, string propertyIdentifier, struct constraintDetails, any errorsStruct, string context)

Parameters:
object
propertyIdentifier
constraintDetails
errorsStruct
context

Mura CMS 6.1