Packageat.validators
Classpublic class CallValidator



Public Properties
 PropertyDefined by
  debugMode : Boolean = false
[static] Outputs useful information for debugging this component for developers when true.
CallValidator
Public Methods
 MethodDefined by
  
CallValidator
  
handleCallValidationError(message:String, dispatchValidationResultEvent:Boolean = false):ValidationResult
[static]
CallValidator
  
isValidCall(callXML:XML = null, indicationSlides:XMLList = null, optimized__returnsFirstErrorOnly:Boolean = true, dispatchValidationResultEvent:Boolean = false):Array
[static] Checks the specified call's ordering/slide-existance to ensure that no business rules have been violated.
CallValidator
Property detail
debugModeproperty
public static var debugMode:Boolean = false

Outputs useful information for debugging this component for developers when true.

The output is typically in the form of trace statements and Alerts.

The default value is false.

Constructor detail
CallValidator()constructor
public function CallValidator()
Method detail
handleCallValidationError()method
public static function handleCallValidationError(message:String, dispatchValidationResultEvent:Boolean = false):ValidationResultParameters
message:String
 
dispatchValidationResultEvent:Boolean (default = false)

Returns
ValidationResult
isValidCall()method 
public static function isValidCall(callXML:XML = null, indicationSlides:XMLList = null, optimized__returnsFirstErrorOnly:Boolean = true, dispatchValidationResultEvent:Boolean = false):Array

Checks the specified call's ordering/slide-existance to ensure that no business rules have been violated.

Parameters
callXML:XML (default = null)
 
indicationSlides:XMLList (default = null)
 
optimized__returnsFirstErrorOnly:Boolean (default = true)
 
dispatchValidationResultEvent:Boolean (default = false)

Returns
Array