Pacchetto | mx.data |
Classe | public class DataServiceAdapter |
Ereditarietà | DataServiceAdapter Object |
Sottoclassi | MessagingDataServiceAdapter, RPCDataServiceAdapter |
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Data Services per Java EE 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
Proprietà | Definito da | ||
---|---|---|---|
asyncRequest : AsyncRequest [sola lettura]
Contains an AsyncRequest object that is used to handle
all DataService operations. | DataServiceAdapter | ||
connected : Boolean [sola lettura]
Returns true when this service adapter is connected to its source. | DataServiceAdapter | ||
constructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto. | Object | ||
dataStore : DataStore
Contains an object of type mx.data.DataStore. | DataServiceAdapter | ||
serializeAssociations : Boolean [sola lettura]
If true then Data Management Service wraps the items into a serialization
descriptor which excludes the associations. | DataServiceAdapter | ||
throwUnhandledFaults : Boolean [sola lettura]
If true then the data manager throw an error
if there is a fault with no listeners on the data manager. | DataServiceAdapter |
Metodo | Definito da | ||
---|---|---|---|
Finds the data manager for a specified destination. | DataServiceAdapter | ||
Looks up an associated data service adapter. | DataServiceAdapter | ||
Indica se per un oggetto è definita una proprietà specifica. | Object | ||
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro. | Object | ||
Indica se la proprietà specificata esiste ed è enumerabile. | Object | ||
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche. | Object | ||
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate. | Object | ||
Restituisce la rappresentazione in formato stringa dell'oggetto specificato. | Object | ||
Restituisce il valore di base dell'oggetto specificato. | Object |
asyncRequest | proprietà |
asyncRequest:AsyncRequest
[sola lettura] Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Data Services per Java EE 3 |
Versioni runtime: | 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.
Implementazione
public function get asyncRequest():AsyncRequest
connected | proprietà |
connected:Boolean
[sola lettura] Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Data Services per Java EE 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
Returns true when this service adapter is connected to its source. Should be overridden by subclasses.
Implementazione
public function get connected():Boolean
dataStore | proprietà |
public var dataStore:DataStore
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Data Services per Java EE 3 |
Versioni runtime: | 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 | proprietà |
serializeAssociations:Boolean
[sola lettura] Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Data Services per Java EE 3 |
Versioni runtime: | 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.
Implementazione
public function get serializeAssociations():Boolean
Elementi API correlati
throwUnhandledFaults | proprietà |
throwUnhandledFaults:Boolean
[sola lettura] Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Data Services per Java EE 3 |
Versioni runtime: | 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.
Implementazione
public function get throwUnhandledFaults():Boolean
getDataManager | () | metodo |
public function getDataManager(destination:String):DataManager
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Data Services per Java EE 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
Finds the data manager for a specified destination.
Parametri
destination:String — The destination.
|
DataManager — The DataManager object for the destination.
|
getDataServiceAdapter | () | metodo |
public function getDataServiceAdapter(destination:String):DataServiceAdapter
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Data Services per Java EE 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
Looks up an associated data service adapter. This implementation chooses the adapter for the destination provided.
Parametri
destination:String — The destination.
|
DataServiceAdapter — The DataServiceAdapter object for the destination.
|
Tue Jun 12 2018, 02:44 PM Z