Packageorg.swizframework.controller
Classpublic class AbstractController
InheritanceAbstractController Inheritance Object
Implements ISwizAware, IDispatcherAware



Public Properties
 PropertyDefined By
  dispatcher : IEventDispatcher
IDispatcherAware implementation
AbstractController
  _swiz : ISwiz
AbstractController
  swiz : ISwiz
[write-only]
AbstractController
Public Methods
 MethodDefined By
  
AbstractController
  
Constructs a dynamic command
AbstractController
Protected Methods
 MethodDefined By
  
createCommand(delayedCall:Function, args:Array, resultHandler:Function, faultHandler:Function = null, resultHandlerArgs:Array = null):AsyncCommandChainStep
Delegates create command to Swiz
AbstractController
  
executeServiceCall(call:AsyncToken, resultHandler:Function, faultHandler:Function = null, eventArgs:Array = null):void
Delegates execute service call to Swiz
AbstractController
  
executeURLRequest(request:URLRequest, resultHandler:Function, faultHandler:Function = null, progressHandler:Function = null, httpStatusHandler:Function = null, eventArgs:Array = null):void
Delegates execute url request call to Swiz
AbstractController
Property Detail
_swizproperty
public var _swiz:ISwiz

dispatcherproperty 
dispatcher:IEventDispatcher

IDispatcherAware implementation


Implementation
    public function get dispatcher():IEventDispatcher
    public function set dispatcher(value:IEventDispatcher):void
swizproperty 
swiz:ISwiz  [write-only]


Implementation
    public function set swiz(value:ISwiz):void
Constructor Detail
AbstractController()Constructor
public function AbstractController()



Method Detail
createChain()method
public function createChain(mode:String):CommandChain

Constructs a dynamic command

Parameters

mode:String (default = NaN)

Returns
CommandChain
createCommand()method 
protected function createCommand(delayedCall:Function, args:Array, resultHandler:Function, faultHandler:Function = null, resultHandlerArgs:Array = null):AsyncCommandChainStep

Delegates create command to Swiz

Parameters

delayedCall:Function
 
args:Array
 
resultHandler:Function
 
faultHandler:Function (default = null)
 
resultHandlerArgs:Array (default = null)

Returns
AsyncCommandChainStep
executeServiceCall()method 
protected function executeServiceCall(call:AsyncToken, resultHandler:Function, faultHandler:Function = null, eventArgs:Array = null):void

Delegates execute service call to Swiz

Parameters

call:AsyncToken
 
resultHandler:Function
 
faultHandler:Function (default = null)
 
eventArgs:Array (default = null)

executeURLRequest()method 
protected function executeURLRequest(request:URLRequest, resultHandler:Function, faultHandler:Function = null, progressHandler:Function = null, httpStatusHandler:Function = null, eventArgs:Array = null):void

Delegates execute url request call to Swiz

Parameters

request:URLRequest
 
resultHandler:Function
 
faultHandler:Function (default = null)
 
progressHandler:Function (default = null)
 
httpStatusHandler:Function (default = null)
 
eventArgs:Array (default = null)