Packagecom.asfusion.mate.actionLists
Classpublic class ServiceScope
InheritanceServiceScope Inheritance Scope

ServiceScope is an object created by the IActionList.

It represents the running scope of a IActionList. The IActionList and its actions share this object to transfer data between them.

ServiceScope contains service-specific properties such as the result and fault returned by service calls.



Public Properties
 PropertyDefined by
 InheritedcurrentEvent : Event
Current Event, different from the original event when a sub-action-list is running.
Scope
 InheritedcurrentTarget : Object
The current target that is using this scope.
Scope
 Inheriteddata : Object
Data Object (holder for custom data)
Scope
 Inheriteddispatcher : IEventDispatcher
Instance of the IEventDispatcher that will be used to dispatch events or to register to events.
Scope
 Inheritedevent : Event
Original Event that triggered the IActionList.
Scope
 InheritedeventMap : IEventMap
Instance of the EventMap where this scope lives.
Scope
  fault : Object
Fault Object returned from the service
ServiceScope
 InheritedlastReturn : *
return from the last IAction run
Scope
 Inheritedowner : IActionList
The IActionList that created this scope.
Scope
  result : Object
Result Object returned from the service
ServiceScope
 Inheritedrunning : Boolean = true
Flag that indicates whether IActionList is running or not.
Scope
Public Methods
 MethodDefined by
  
ServiceScope(event:Event, active:Boolean, inheritScope:IScope = null)
Constructor
ServiceScope
 Inherited
errorString():String
Retuns the default error string to be used by the debugger.
Scope
 Inherited
Returns the current target that is using this scope.
Scope
 Inherited
getDocument():Object
A reference to the document object associated with this ILoggerProvider.
Scope
 Inherited
Returns an IMateLogger used to log errors.
Scope
 Inherited
Returns an instance of IMateManager used to get the logger and dispatcher.
Scope
 Inherited
isRunning():Boolean
Returns a boolean indicating if the IActionList is running or not.
Scope
 Inherited
stopRunning():void
Stops the IActionList flow.
Scope
Property detail
faultproperty
public var fault:Object

Fault Object returned from the service

resultproperty 
public var result:Object

Result Object returned from the service

Constructor detail
ServiceScope()constructor
public function ServiceScope(event:Event, active:Boolean, inheritScope:IScope = null)

Constructor

Parameters
event:Event
 
active:Boolean
 
inheritScope:IScope (default = null)