패키지 | mx.data |
클래스 | public class DataServiceAdapter |
상속 | DataServiceAdapter Object |
하위 클래스 | MessagingDataServiceAdapter, RPCDataServiceAdapter |
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
속성 | 정의 주체 | ||
---|---|---|---|
asyncRequest : AsyncRequest [읽기 전용]
Contains an AsyncRequest object that is used to handle
all DataService operations. | DataServiceAdapter | ||
connected : Boolean [읽기 전용]
Returns true when this service adapter is connected to its source. | DataServiceAdapter | ||
constructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다. | Object | ||
dataStore : DataStore
Contains an object of type mx.data.DataStore. | DataServiceAdapter | ||
serializeAssociations : Boolean [읽기 전용]
If true then Data Management Service wraps the items into a serialization
descriptor which excludes the associations. | DataServiceAdapter | ||
throwUnhandledFaults : Boolean [읽기 전용]
If true then the data manager throw an error
if there is a fault with no listeners on the data manager. | DataServiceAdapter |
메서드 | 정의 주체 | ||
---|---|---|---|
Finds the data manager for a specified destination. | DataServiceAdapter | ||
Looks up an associated data service adapter. | DataServiceAdapter | ||
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | ||
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | ||
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | ||
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | ||
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 프리미티브 값을 반환합니다. | Object |
asyncRequest | 속성 |
asyncRequest:AsyncRequest
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | 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.
구현
public function get asyncRequest():AsyncRequest
connected | 속성 |
dataStore | 속성 |
public var dataStore:DataStore
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | 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 | 속성 |
serializeAssociations:Boolean
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | 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.
구현
public function get serializeAssociations():Boolean
관련 API 요소
throwUnhandledFaults | 속성 |
throwUnhandledFaults:Boolean
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | 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.
구현
public function get throwUnhandledFaults():Boolean
getDataManager | () | 메서드 |
public function getDataManager(destination:String):DataManager
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Finds the data manager for a specified destination.
매개 변수
destination:String — The destination.
|
DataManager — The DataManager object for the destination.
|
getDataServiceAdapter | () | 메서드 |
public function getDataServiceAdapter(destination:String):DataServiceAdapter
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Looks up an associated data service adapter. This implementation chooses the adapter for the destination provided.
매개 변수
destination:String — The destination.
|
DataServiceAdapter — The DataServiceAdapter object for the destination.
|
Tue Jun 12 2018, 03:17 PM Z