Pakket | mx.data |
Klasse | public class DataServiceAdapter |
Overerving | DataServiceAdapter Object |
Subklassen | MessagingDataServiceAdapter, RPCDataServiceAdapter |
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Eigenschap | Gedefinieerd door | ||
---|---|---|---|
asyncRequest : AsyncRequest [alleen-lezen]
Contains an AsyncRequest object that is used to handle
all DataService operations. | DataServiceAdapter | ||
connected : Boolean [alleen-lezen]
Returns true when this service adapter is connected to its source. | DataServiceAdapter | ||
constructor : Object
Verwijzing naar het klasseobject of de constructorfunctie van een bepaalde objectinstantie. | Object | ||
dataStore : DataStore
Contains an object of type mx.data.DataStore. | DataServiceAdapter | ||
serializeAssociations : Boolean [alleen-lezen]
If true then Data Management Service wraps the items into a serialization
descriptor which excludes the associations. | DataServiceAdapter | ||
throwUnhandledFaults : Boolean [alleen-lezen]
If true then the data manager throw an error
if there is a fault with no listeners on the data manager. | DataServiceAdapter |
Methode | Gedefinieerd door | ||
---|---|---|---|
Finds the data manager for a specified destination. | DataServiceAdapter | ||
Looks up an associated data service adapter. | DataServiceAdapter | ||
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | ||
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | ||
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | ||
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | ||
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | ||
Retourneert een tekenreeksrepresentatie van het opgegeven object. | Object | ||
Retourneert de primitieve waarde van het opgegeven object. | Object |
asyncRequest | eigenschap |
asyncRequest:AsyncRequest
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | 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.
Implementatie
public function get asyncRequest():AsyncRequest
connected | eigenschap |
connected:Boolean
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Returns true when this service adapter is connected to its source. Should be overridden by subclasses.
Implementatie
public function get connected():Boolean
dataStore | eigenschap |
public var dataStore:DataStore
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | 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 | eigenschap |
serializeAssociations:Boolean
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | 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.
Implementatie
public function get serializeAssociations():Boolean
Verwante API-elementen
throwUnhandledFaults | eigenschap |
throwUnhandledFaults:Boolean
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | 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.
Implementatie
public function get throwUnhandledFaults():Boolean
getDataManager | () | methode |
public function getDataManager(destination:String):DataManager
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Finds the data manager for a specified destination.
Parameters
destination:String — The destination.
|
DataManager — The DataManager object for the destination.
|
getDataServiceAdapter | () | methode |
public function getDataServiceAdapter(destination:String):DataServiceAdapter
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Looks up an associated data service adapter. This implementation chooses the adapter for the destination provided.
Parameters
destination:String — The destination.
|
DataServiceAdapter — The DataServiceAdapter object for the destination.
|
Wed Jun 13 2018, 11:42 AM Z