Package | org.swizframework.controller |
Class | public class AbstractController |
Inheritance | AbstractController ![]() |
Implements | ISwizAware, IDispatcherAware |
Property | Defined By | ||
---|---|---|---|
dispatcher : IEventDispatcher IDispatcherAware implementation | AbstractController | ||
_swiz : ISwiz | AbstractController | ||
swiz : ISwiz [write-only] | AbstractController |
Method | Defined By | ||
---|---|---|---|
AbstractController | |||
createChain(mode:String):CommandChain Constructs a dynamic command | AbstractController |
Method | Defined 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 |
_swiz | property |
public var _swiz:ISwiz
dispatcher | property |
dispatcher:IEventDispatcher
IDispatcherAware implementation
public function get dispatcher():IEventDispatcher
public function set dispatcher(value:IEventDispatcher):void
swiz | property |
AbstractController | () | Constructor |
public function AbstractController()
createChain | () | method |
public function createChain(mode:String):CommandChain
Constructs a dynamic command
Parameters
mode:String (default = NaN )
|
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 )
|
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 )
|