Packageorg.springextensions.actionscript.cairngorm.commands
SVN browsingAbstractResponderCommand.as
FisheyeAbstractResponderCommand.as
Classpublic class AbstractResponderCommand
Implementscom.adobe.cairngorm.commands.ICommand, IBusinessDelegateAware, mx.rpc.IResponder

Base class for command classes that can act as a responder for their assigned business delegate.



Documentation reference: the command factory


Public Properties
 PropertyDefined by
  businessDelegate : IBusinessDelegate
A IBusinessDelegate used by the current AbstractResponderCommand, the current instance will set itself as the responder to this IBusinessDelegate instance.
AbstractResponderCommand
Public Methods
 MethodDefined by
  
Creates a new AbstractResponderCommand instance.
AbstractResponderCommand
  
execute(event:CairngormEvent):void
Executes the current AbstractResponderCommand, this is where the IBusinessDelegate will need to be invoked.
AbstractResponderCommand
  
fault(info:Object):void
Method used ot handle the IBusinessDelegate fault.
AbstractResponderCommand
  
result(data:Object):void
Method used ot handle the IBusinessDelegate result.
AbstractResponderCommand
Property detail
businessDelegateproperty
businessDelegate:IBusinessDelegate  [read-write]

A IBusinessDelegate used by the current AbstractResponderCommand, the current instance will set itself as the responder to this IBusinessDelegate instance.

Implementation
    public function get businessDelegate():IBusinessDelegate
    public function set businessDelegate(value:IBusinessDelegate):void
Constructor detail
AbstractResponderCommand()constructor
public function AbstractResponderCommand()

Creates a new AbstractResponderCommand instance.

Method detail
execute()method
public function execute(event:CairngormEvent):void

Executes the current AbstractResponderCommand, this is where the IBusinessDelegate will need to be invoked.

Parameters
event:CairngormEvent

See also

fault()method 
public function fault(info:Object):void

Method used ot handle the IBusinessDelegate fault.

Parameters
info:Object

See also

result()method 
public function result(data:Object):void

Method used ot handle the IBusinessDelegate result.

Parameters
data:Object

See also