Paquete | com.adobe.fiber.services.wrapper |
Clase | public class DataServiceWrapper |
Herencia | DataServiceWrapper EventDispatcher Object |
Implementa | IMXMLObject |
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Propiedad | Definido por | ||
---|---|---|---|
channelSet : ChannelSet
The channelSet property of the wrapped service. | DataServiceWrapper | ||
constructor : Object
Una referencia a la clase de objeto o función constructora para una instancia de objeto determinada. | Object | ||
destination : String [solo lectura]
The destination of the wrapped service. | DataServiceWrapper | ||
serviceControl : DataService [solo lectura]
The wrapped service. | DataServiceWrapper |
Método | Definido por | ||
---|---|---|---|
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
Registra un objeto de detector de eventos con un objeto EventDispatcher, de modo que el detector reciba la notificación de un evento. | EventDispatcher | ||
Distribuye un evento en el flujo del evento. | EventDispatcher | ||
Comprueba si el objeto EventDispatcher tiene detectores registrados para un tipo concreto de evento. | EventDispatcher | ||
Indica si un objeto tiene definida una propiedad especificada. | Object | ||
Called after the implementing object has been created and all
component properties specified on the MXML tag have been initialized. | DataServiceWrapper | ||
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro. | Object | ||
Indica si existe la propiedad especificada y si es enumerable. | Object | ||
Elimina un detector del objeto EventDispatcher. | EventDispatcher | ||
Establece la disponibilidad de una propiedad dinámica para operaciones de bucle. | Object | ||
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional. | Object | ||
Devuelve la representación de cadena del objeto especificado. | Object | ||
Devuelve el valor simple del objeto especificado. | Object | ||
Comprueba si hay registrado un detector de eventos con este objeto EventDispatcher o con cualquiera de sus ascendientes para el tipo de evento concreto. | EventDispatcher |
Evento | Resumen | Definido por | ||
---|---|---|---|---|
[evento broadcast] Se distribuye cuando Flash Player o AIR pasan a estar activos. | EventDispatcher | |||
[evento broadcast] Se distribuye cuando Flash Player o de AIR pasan a estar inactivos. | 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 | propiedad |
channelSet:ChannelSet
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The channelSet
property of the wrapped service.
Implementación
public function get channelSet():ChannelSet
public function set channelSet(value:ChannelSet):void
Elementos de API relacionados
destination | propiedad |
destination:String
[solo lectura] Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The destination of the wrapped service.
Implementación
public function get destination():String
Elementos de API relacionados
serviceControl | propiedad |
serviceControl:DataService
[solo lectura] Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The wrapped service. The service is implemented by service specific subclasses.
Implementación
public function get serviceControl():DataService
DataServiceWrapper | () | Información sobre |
public function DataServiceWrapper(destination:String)
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Constructs a wrapper around a DataService for a given destination.
Parámetrosdestination:String — The name of the desired destination.
|
Elementos de API relacionados
initialized | () | método |
public function initialized(document:Object, id:String):void
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | 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.
Parámetros
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 | Evento |
mx.data.events.DataServiceFaultEvent
propiedad DataServiceFaultEvent.type =
mx.data.events.DataServiceFaultEvent.FAULT
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | 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. |
Elementos de API relacionados
result | Evento |
mx.rpc.events.ResultEvent
propiedad ResultEvent.type =
mx.rpc.events.ResultEvent.RESULT
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | 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. |
Elementos de API relacionados
Tue Jun 12 2018, 02:12 PM Z