Paquete | mx.data |
Clase | public class DataServiceAdapter |
Herencia | DataServiceAdapter Object |
Subclases | MessagingDataServiceAdapter, RPCDataServiceAdapter |
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 | ||
---|---|---|---|
asyncRequest : AsyncRequest [solo lectura]
Contains an AsyncRequest object that is used to handle
all DataService operations. | DataServiceAdapter | ||
connected : Boolean [solo lectura]
Returns true when this service adapter is connected to its source. | DataServiceAdapter | ||
constructor : Object
Una referencia a la clase de objeto o función constructora para una instancia de objeto determinada. | Object | ||
dataStore : DataStore
Contains an object of type mx.data.DataStore. | DataServiceAdapter | ||
serializeAssociations : Boolean [solo lectura]
If true then Data Management Service wraps the items into a serialization
descriptor which excludes the associations. | DataServiceAdapter | ||
throwUnhandledFaults : Boolean [solo lectura]
If true then the data manager throw an error
if there is a fault with no listeners on the data manager. | DataServiceAdapter |
Método | Definido por | ||
---|---|---|---|
Finds the data manager for a specified destination. | DataServiceAdapter | ||
Looks up an associated data service adapter. | DataServiceAdapter | ||
Indica si un objeto tiene definida una propiedad especificada. | Object | ||
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 | ||
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 |
asyncRequest | propiedad |
asyncRequest:AsyncRequest
[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 |
Contains an AsyncRequest object that is used to handle
all DataService operations.
By overriding the AsyncRequest.invoke()
method,
you can intercept managed requests. The AsyncRequest class also exposes
the various methods for determining if the service is connected or disconnected.
Implementación
public function get asyncRequest():AsyncRequest
connected | propiedad |
connected:Boolean
[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 |
Returns true when this service adapter is connected to its source. Should be overridden by subclasses.
Implementación
public function get connected():Boolean
dataStore | propiedad |
public var dataStore:DataStore
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 |
Contains an object of type mx.data.DataStore. The DataStore manages the set of incoming and outgoing changes for one or more DataServices, which may have references between them. When you commit on a DataStore, all of the pending changes of each DataService using that DataStore are committed.
By default, a DataService shares the same DataStore with other DataServices if they have managed association properties and share the same set of channels. If you are sharing DataStores, a commit call on one DataService commits changes for all DataServices using that data store. This preserves the order of operations in case there are dependencies between the changes in your uncommitted batches.
serializeAssociations | propiedad |
serializeAssociations:Boolean
[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 |
If true
then Data Management Service wraps the items into a serialization
descriptor which excludes the associations.
The MessagingDataServiceAdapter uses this approach for sending associations.
The RPCDataServiceAdapter does not.
Implementación
public function get serializeAssociations():Boolean
Elementos de API relacionados
throwUnhandledFaults | propiedad |
throwUnhandledFaults:Boolean
[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 |
If true
then the data manager throw an error
if there is a fault with no listeners on the data manager.
For RPC services, those errors are proxied to listeners on
the service and so throwing the error is not appropriate.
Implementación
public function get throwUnhandledFaults():Boolean
getDataManager | () | método |
public function getDataManager(destination:String):DataManager
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 |
Finds the data manager for a specified destination.
Parámetros
destination:String — The destination.
|
DataManager — The DataManager object for the destination.
|
getDataServiceAdapter | () | método |
public function getDataServiceAdapter(destination:String):DataServiceAdapter
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 |
Looks up an associated data service adapter. This implementation chooses the adapter for the destination provided.
Parámetros
destination:String — The destination.
|
DataServiceAdapter — The DataServiceAdapter object for the destination.
|
Tue Jun 12 2018, 02:12 PM Z