Language Version: | ActionScript 3.0 |
Product Version: | LiveCycle Data Services 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The DataServiceWrapper class is the super class for generated service wrappers around
DataService
. Such service wrappers are generated for
every entity in a model marked as LiveCycle Data Services backed.
The wrapper provides convenience in using the underlying data services.
The generated wrappers has individual, strongly typed functions
corresponding to each fill (filter in the model) that the
backing LiveCycle Data Services data management destination supports.
channelSet:ChannelSet
Language Version: | ActionScript 3.0 |
Product Version: | LiveCycle Data Services 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The channelSet
property of the wrapped service.
Implementation public function get channelSet():ChannelSet
public function set channelSet(value:ChannelSet):void
See also
destination:String
[read-only]
Language Version: | ActionScript 3.0 |
Product Version: | LiveCycle Data Services 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The destination of the wrapped service.
Implementation public function get destination():String
See also
serviceControl:DataService
[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():DataService
public function DataServiceWrapper(destination:String)
Language Version: | ActionScript 3.0 |
Product Version: | LiveCycle Data Services 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Constructs a wrapper around a DataService for a given destination.
Parameters | destination:String — The name of the desired destination.
|
See also
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.data.events.DataServiceFaultEvent
property DataServiceFaultEvent.type = mx.data.events.DataServiceFaultEvent.FAULT
Language Version: | ActionScript 3.0 |
Product Version: | LiveCycle Data Services 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Fault events of the wrapped data service are propagated by the wrapper.
For details see DataService.fault
.
The
FAULT
constant defines the value of the
type
property
of the event object for a
fault
event.
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 holds the conflict that occurred. |
item | The item that generated the fault. |
identity | The identity of of the item that generated the fault. |
message | The Message associated with this event. |
token | The token that represents the call
to the method. Used in the asynchronous completion token pattern. |
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. |
See also
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 the wrapped data service are propagated by the wrapper.
For details see DataService.result
.
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. |
See also
© 2009 Adobe Systems Incorporated. All rights reserved.
Sat Oct 3 2009, 04:15 AM -07:00