ActionScript® 3.0 — dokumentacja dla platformy Adobe® Flash®
Strona główna  |  Ukryj listę pakietów i klas |  Pakiety  |  Klasy  |  Nowości  |  Indeks  |  Dodatki  |  Dlaczego język angielski?
Filtry: Pobieranie danych z serwera...
Pobieranie danych z serwera...
com.adobe.fiber.services.wrapper 

DataServiceWrapper  - AS3 ADEP Data Services

Pakietcom.adobe.fiber.services.wrapper
Klasapublic class DataServiceWrapper
DziedziczenieDataServiceWrapper Inheritance EventDispatcher Inheritance Object
Implementuje IMXMLObject

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Data Services for Java EE 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

The DataServiceWrapper class is the superclass for generated service wrappers around DataService instances. Such service wrappers are generated for every entity in a model marked as LiveCycle Data Services backed. The wrapper provides convenience in using the underlying DataService class. The generated wrappers has individual, strongly typed functions corresponding to each fill (filter in the model) that the backing LiveCycle Data Services Data Management Service destination supports.



Właściwości publiczne
 WłaściwośćZdefiniowane przez
  channelSet : ChannelSet
The channelSet property of the wrapped service.
DataServiceWrapper
 Inheritedconstructor : Object
Odwołanie do obiektu klasy lub funkcji konstruktora, dotyczące danej instancji obiektu.
Object
  destination : String
[tylko do odczytu] The destination of the wrapped service.
DataServiceWrapper
  serviceControl : DataService
[tylko do odczytu] The wrapped service.
DataServiceWrapper
Metody publiczne
 MetodaZdefiniowane przez
  
Constructs a wrapper around a DataService for a given destination.
DataServiceWrapper
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Rejestruje obiekt detektora zdarzeń w obiekcie EventDispatcher, dzięki czemu detektor będzie otrzymywał powiadomienia o zdarzeniu.
EventDispatcher
 Inherited
Wywołuje zdarzenie, tj. kieruje je do przepływu zdarzeń.
EventDispatcher
 Inherited
Sprawdza, czy obiekt EventDispatcher zawiera jakiekolwiek detektory zarejestrowane dla konkretnego typu zdarzeń.
EventDispatcher
 Inherited
Wskazuje, czy dla obiektu zdefiniowano określoną właściwość.
Object
  
Called after the implementing object has been created and all component properties specified on the MXML tag have been initialized.
DataServiceWrapper
 Inherited
Wskazuje, czy instancja klasy Object należy do łańcucha prototypów obiektu określonego jako parametr.
Object
 Inherited
Wskazuje, czy określona właściwość istnieje i jest przeliczalna.
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Usuwa detektor z obiektu EventDispatcher.
EventDispatcher
 Inherited
Ustawia dostępność właściwości dynamicznej używanej w pętlach.
Object
 Inherited
Zwraca ciąg reprezentujący obiekt — sformatowany zgodnie z konwencjami właściwymi dla ustawień regionalnych.
Object
 Inherited
Zwraca ciąg reprezentujący określony obiekt.
Object
 Inherited
Zwraca pierwotną wartość dla określonego obiektu.
Object
 Inherited
Sprawdza, czy detektor zdarzeń określonego typu jest zarejestrowany w tym obiekcie EventDispatcher lub jego elementach macierzystych.
EventDispatcher
Zdarzenia
 Zdarzenie Podsumowanie Zdefiniowane przez
 Inherited[zdarzenie broadcast] Wywoływane, gdy program Flash Player lub aplikacja środowiska wykonawczego AIR uzyskuje fokus w systemie operacyjnym i przechodzi w stan aktywny.EventDispatcher
 Inherited[zdarzenie broadcast] Wywoływane, gdy program Flash Player lub aplikacja AIR traci fokus w systemie operacyjnym i przechodzi w stan nieaktywny.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
Szczegół właściwości

channelSet

właściwość
channelSet:ChannelSet

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Data Services for Java EE 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

The channelSet property of the wrapped service.



Implementacja
    public function get channelSet():ChannelSet
    public function set channelSet(value:ChannelSet):void

Powiązane elementy interfejsu API

destination

właściwość 
destination:String  [tylko do odczytu]

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Data Services for Java EE 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

The destination of the wrapped service.



Implementacja
    public function get destination():String

Powiązane elementy interfejsu API

serviceControl

właściwość 
serviceControl:DataService  [tylko do odczytu]

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Data Services for Java EE 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

The wrapped service. The service is implemented by service specific subclasses.



Implementacja
    public function get serviceControl():DataService
Konstruktor Szczegół

DataServiceWrapper

()Konstruktor
public function DataServiceWrapper(destination:String)

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Data Services for Java EE 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

Constructs a wrapper around a DataService for a given destination.

Parametry
destination:String — The name of the desired destination.

Powiązane elementy interfejsu API

Szczegół metody

initialized

()metoda
public function initialized(document:Object, id:String):void

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Data Services for Java EE 3
Wersje środowiska wykonawczego: 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.

Parametry

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.

Szczegół zdarzenia

fault

Zdarzenie
Typ obiektu zdarzenia: mx.data.events.DataServiceFaultEvent
właściwość DataServiceFaultEvent.type = mx.data.events.DataServiceFaultEvent.FAULT

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Data Services for Java EE 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

Fault events of the wrapped data service are propagated by the wrapper. For details see DataService.fault.

The 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:

PropertyValue
bubblesfalse
cancelabletrue, calling preventDefault() from the associated token's responder.fault method will prevent the service or operation from dispatching this event
currentTargetThe 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.
targetThe 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.

Powiązane elementy interfejsu API

result

Zdarzenie  
Typ obiektu zdarzenia: mx.rpc.events.ResultEvent
właściwość ResultEvent.type = mx.rpc.events.ResultEvent.RESULT

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Data Services for Java EE 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

Result events of the wrapped data service are propagated by the wrapper. For details see DataService.result.

The RESULT event type.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelabletrue, preventDefault() from the associated token's responder.result method will prevent the service or operation from dispatching this event
currentTargetThe 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.
targetThe 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.
resultResult that the RPC call returns.
tokenThe token that represents the indiviudal call to the method. Used in the asynchronous completion token pattern.

Powiązane elementy interfejsu API





[ X ]Dlaczego język angielski?
Treść dokumentacji języka ActionScript 3.0 wyświetlana w języku angielskim

Niektóre części dokumentacji języka ActionScript 3.0 nie są przetłumaczone na poszczególne języki. Gdy element nie jest przetłumaczony na dany język, jest wyświetlany tekst angielski. Na przykład opis klasy ga.controls.HelpBox nie jest przetłumaczony na żaden dodatkowy język. Z tego powodu polska wersja dokumentacji zawiera opis klasy ga.controls.HelpBox w języku angielskim.