Language Version: | ActionScript 3.0 |
Product Version: | LiveCycle Data Services 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The AbstractServiceWrapper class is the super class of the hierarchy for generated service
wrappers. As such it declares functions and variables common to all
generated service wrappers. Sub classes include,
HTTPServiceWrapper
,
RemoteObjectServiceWrapper
, and
WebServiceWrapper
.
Service wrappers are generated for correspondingly annotated services declared in
models created by using the Adobe application modeling technology.
They provide convenience in using the underlying services
that they wrap.
channelSet:ChannelSet
Language Version: | ActionScript 3.0 |
Product Version: | LiveCycle Data Services 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Channel set of the wrapped service.
Implementation public function get channelSet():ChannelSet
public function set channelSet(value:ChannelSet):void
See also
destination:String
Language Version: | ActionScript 3.0 |
Product Version: | LiveCycle Data Services 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Destination of the wrapped service.
Implementation public function get destination():String
public function set destination(value:String):void
See also
operations:Object
Language Version: | ActionScript 3.0 |
Product Version: | LiveCycle Data Services 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Operations of the wrapped service.
Implementation public function get operations():Object
public function set operations(value:Object):void
See also
serviceControl:AbstractService
[read-only]
Language Version: | ActionScript 3.0 |
Product Version: | LiveCycle Data Services 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The wrapped service.
The service is implemented by service specific subclasses.
Implementation public function get serviceControl():AbstractService
showBusyCursor:Boolean
Language Version: | ActionScript 3.0 |
Product Version: | LiveCycle Data Services 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The showBusyCursor
property of the wrapped service.
Implementation public function get showBusyCursor():Boolean
public function set showBusyCursor(value:Boolean):void
public function AbstractServiceWrapper(target:IEventDispatcher = null)
Constructor.
Parameters | target:IEventDispatcher (default = null ) — The target object for dispatched events.
|
public function initialized(document:Object, id:String):void
Language Version: | ActionScript 3.0 |
Product Version: | LiveCycle Data Services 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Called after the implementing object has been created and all
component properties specified on the MXML tag have been initialized.
Parameters
| document:Object — The MXML document that created this object.
|
|
| id:String — The identifier used by document to refer
to this object.
If the object is a deep property on document ,
id is null.
|
Event Object Type: mx.rpc.events.FaultEvent
property FaultEvent.type = mx.rpc.events.FaultEvent.FAULT
Language Version: | ActionScript 3.0 |
Product Version: | LiveCycle Data Services 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Fault events of wrapped services are propagated by the wrapper.
The FAULT event type.
The properties of the event object have the following values:
Property | Value |
---|
bubbles | false |
cancelable | true, calling preventDefault()
from the associated token's responder.fault method will prevent
the service or operation from dispatching this event |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
fault | The Fault object that contains the
details of what caused this event. |
message | The Message associated with this event. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
token | The token that represents the call
to the method. Used in the asynchronous completion token pattern. |
Event Object Type: mx.rpc.events.ResultEvent
property ResultEvent.type = mx.rpc.events.ResultEvent.RESULT
Language Version: | ActionScript 3.0 |
Product Version: | LiveCycle Data Services 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Result events of wrapped services are propagated by the wrapper.
The RESULT event type.
The properties of the event object have the following values:
Property | Value |
---|
bubbles | false |
cancelable | true, preventDefault()
from the associated token's responder.result method will prevent
the service or operation from dispatching this event |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
message | The Message associated with this event. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
result | Result that the RPC call returns. |
token | The token that represents the indiviudal call
to the method. Used in the asynchronous completion token pattern. |
© 2009 Adobe Systems Incorporated. All rights reserved.
Sat Oct 3 2009, 04:15 AM -07:00