Paket | com.adobe.fiber.services.wrapper |
Klass | public class DataServiceWrapper |
Arv | DataServiceWrapper EventDispatcher Object |
Implementerar | IMXMLObject |
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Egenskap | Definieras med | ||
---|---|---|---|
channelSet : ChannelSet
The channelSet property of the wrapped service. | DataServiceWrapper | ||
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
destination : String [skrivskyddad]
The destination of the wrapped service. | DataServiceWrapper | ||
serviceControl : DataService [skrivskyddad]
The wrapped service. | DataServiceWrapper |
Metod | Definieras med | ||
---|---|---|---|
DataServiceWrapper(destination:String)
Constructs a wrapper around a DataService for a given destination. | DataServiceWrapper | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registrerar ett händelseavlyssnarobjekt för ett EventDispatcher-objekt så att avlyssnaren får meddelanden om händelser. | EventDispatcher | ||
Skickar en händelse till händelseflödet. | EventDispatcher | ||
Kontrollerar om EventDispatcher-objektet har några avlyssnare registrerade för en viss typ av händelse. | EventDispatcher | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Called after the implementing object has been created and all
component properties specified on the MXML tag have been initialized. | DataServiceWrapper | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Tar bort en avlyssnare från EventDispatcher-objektet. | EventDispatcher | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar det angivna objektets strängbeteckning. | Object | ||
Returnerar det angivna objektets primitiva värde. | Object | ||
Kontrollerar om en händelseavlyssnare är registrerad för det här EventDispatcher-objektet eller något av dess överordnade objekt för den angivna händelsetypen. | EventDispatcher |
Händelse | Sammanfattning | Definieras med | ||
---|---|---|---|---|
[utsändningshändelse] Skickas när Flash Player eller AIR får operativsystemfokus och blir aktivt. | EventDispatcher | |||
[utsändningshändelse] Skickas när Flash Player eller AIR förlorar operativsystemfokus och blir inaktivt. | EventDispatcher | |||
Fault events of the wrapped data service are propagated by the wrapper. | DataServiceWrapper | |||
Result events of the wrapped data service are propagated by the wrapper. | DataServiceWrapper |
channelSet | egenskap |
channelSet:ChannelSet
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The channelSet
property of the wrapped service.
Implementering
public function get channelSet():ChannelSet
public function set channelSet(value:ChannelSet):void
Relaterade API-element
destination | egenskap |
destination:String
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The destination of the wrapped service.
Implementering
public function get destination():String
Relaterade API-element
serviceControl | egenskap |
serviceControl:DataService
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The wrapped service. The service is implemented by service specific subclasses.
Implementering
public function get serviceControl():DataService
DataServiceWrapper | () | Konstruktor |
public function DataServiceWrapper(destination:String)
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Constructs a wrapper around a DataService for a given destination.
Parametrardestination:String — The name of the desired destination.
|
Relaterade API-element
initialized | () | metod |
public function initialized(document:Object, id:String):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | 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.
Parametrar
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.
|
fault | Händelse |
mx.data.events.DataServiceFaultEvent
egenskap DataServiceFaultEvent.type =
mx.data.events.DataServiceFaultEvent.FAULT
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Fault events of the wrapped data service are propagated by the wrapper.
For details see DataService.fault
.
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. |
Relaterade API-element
result | Händelse |
mx.rpc.events.ResultEvent
egenskap ResultEvent.type =
mx.rpc.events.ResultEvent.RESULT
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Result events of the wrapped data service are propagated by the wrapper.
For details see DataService.result
.
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. |
Relaterade API-element
Tue Jun 12 2018, 01:40 PM Z