Adobe® Flash® Platform için ActionScript® 3.0 Başvurusu
Ana Sayfa  |  Paket ve Sınıf Listesini Gizle |  Paketler  |  Sınıflar  |  Yenilikler  |  Dizin  |  Ekler  |  Niçin İngilizce?
Filtreler: Sunucudan Veri Alınıyor...
Sunucudan Veri Alınıyor...
mx.data 

ManagedQuery  - AS3 ADEP Data Services

Paketmx.data
Sınıfpublic class ManagedQuery
Miras AlmaManagedQuery Inheritance ManagedOperation Inheritance Object

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Adobe Digital Enterprise Platform Data Services for Java EE 3
Çalışma Zamanı Sürümleri: Flash Player 9, AIR 1.1

Use an instance of this class to define a query that is managed by the Data Management Service. A managed query places the items returned under data management.



Genel Özellikler
 ÖzellikTanımlayan:
  addItemToCollectionOperation : String
These addItemToCollectionOperation() and removeItemFromCollectionOperation() methods are optional operations which let you define a function to be invoked as an item is added to or removed from a collection.
ManagedQuery
 Inheritedconstructor : Object
Belirli bir nesne örneği için sınıf nesnesine veya yapıcı işlevine bir başvuru.
Object
 InheritedconvertResults : Boolean = true
Turns on/off conversion of result element types.
ManagedOperation
  countOperation : String
Name of an operation on the service taking the same parameters as this operation which returns the number of items in the query.
ManagedQuery
 InheriteddataManager : RPCDataManager
Each ManagedOperation should be a child of an RPCDataManager tag.
ManagedOperation
 Inheritedignore : Boolean = false
It may be useful in some cases to ignore a particular managed operation.
ManagedOperation
 Inheritedname : String
Name of the operation in the service which this is managing.
ManagedOperation
 Inheritedoperation : AbstractOperation
Stores the service's operation which we are using for this managed operation.
ManagedOperation
  pageSize : int
Page size for this query when paging is enabled.
ManagedQuery
  pagingEnabled : Boolean
Set this to true to enable paging.
ManagedQuery
 Inheritedparameters : String
A usually optional metadata value which stores the comma separated list of parameter names for this operation.
ManagedOperation
  positionalPagingParameters : Boolean = false
When paging is enabled, your operation on the server must take a start and count parameters to define the subset of the items to return.
ManagedQuery
  propertySpecifier : String
A string of the form "a,b,c" which lists the property names of the managed item returned by this query.
ManagedQuery
  removeItemFromCollectionOperation : String
The addItemToCollectionOperation() and removeItemFromCollectionOperation() methods are optional operations which let you define a function to be invoked as an item is added to or removed from a collection.
ManagedQuery
 InheritedresultElementType : Class
For operations which return a multi-valued response, this specifies the type of the elements of the Array or ArrayCollection.
ManagedOperation
 InheritedresultType : Class
The class of the return type for this operation.
ManagedOperation
  synchronizeOperation : String
Name of an operation on the service taking the same parameters as this query which computes the changed items of the query since the time of the last query.
ManagedQuery
 Inheritedtype : String
Represents the type of the managed operation.
ManagedOperation
Genel Yöntemler
 YöntemTanımlayan:
  
ManagedQuery(nameParam:String = null, typeParam:String = "query")
Builds a ManagedQuery.
ManagedQuery
 Inherited
Disables data management for this operation.
ManagedOperation
 Inherited
Enables data management for this operation if it has been disabled previously.
ManagedOperation
 Inherited
Bir nesnenin belirli bir özelliğinin tanımlı olup olmadığını gösterir.
Object
  
[geçersiz kıl] Initializes the managed operation throwing errors for any configuration problems that are encountered along the way.
ManagedQuery
 Inherited
Invokes the operation on the real service without any management.
ManagedOperation
 Inherited
Object sınıfının bir örneğinin parametre olarak belirtilen nesnenin prototip zincirinde olup olmadığını gösterir.
Object
 Inherited
Belirtilen özelliğin bulunup bulunmadığını ve numaralandırılabilir olup olmadığını gösterir.
Object
 Inherited
Dinamik bir özelliğin döngü işlemlerinde kullanılabilirliğini ayarlar.
Object
 Inherited
Bu nesnenin, yerel ayara özel kurallara göre biçimlendirilmiş dize temsilini döndürür.
Object
 Inherited
Belirtilen nesnenin dize olarak temsil edilen halini döndürür.
Object
 Inherited
Belirtilen nesnenin temel değerini döndürür.
Object
Özellik Ayrıntısı

addItemToCollectionOperation

özellik
public var addItemToCollectionOperation:String

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Adobe Digital Enterprise Platform Data Services for Java EE 3
Çalışma Zamanı Sürümleri: Flash Player 9, AIR 1.1

These addItemToCollectionOperation() and removeItemFromCollectionOperation() methods are optional operations which let you define a function to be invoked as an item is added to or removed from a collection. In many cases, the membership of items in the query is determined implicitly - i.e. by the property values so the server does not need to handle these operations. In those cases, they are ignored. Use these methods in case you are explicitly managing an association table which relates the item to a particular collection.

countOperation

özellik 
public var countOperation:String

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Adobe Digital Enterprise Platform Data Services for Java EE 3
Çalışma Zamanı Sürümleri: Flash Player 9, AIR 1.1

Name of an operation on the service taking the same parameters as this operation which returns the number of items in the query. Use this if you enable paging to get the accurate collection size. If you don't define a count operation, the system uses a dynamic sizing mode which fetches the items in the collection one page at a time leaving an empty slot at the end. If you do not access that empty slot, the next page is not fetched. When you do access that slot, the next page is fetched and the collection size is increased until there are no more remaining items in the query.

pageSize

özellik 
pageSize:int

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Adobe Digital Enterprise Platform Data Services for Java EE 3
Çalışma Zamanı Sürümleri: Flash Player 9, AIR 1.1

Page size for this query when paging is enabled.



Uygulama
    public function get pageSize():int
    public function set pageSize(value:int):void

pagingEnabled

özellik 
public var pagingEnabled:Boolean

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Adobe Digital Enterprise Platform Data Services for Java EE 3
Çalışma Zamanı Sürümleri: Flash Player 9, AIR 1.1

Set this to true to enable paging. When paging is enabled, your operation on the server must take a start and count parameters to define the subset of the items to return. You do not provide these to the service when you call the operation - they are added automatically as the system will fetch pages from your server on-demand - i.e. in response to getItemAt() calls. Those calls take an optional prefetch parameter which lets you control the number of items fetched on a given call.

positionalPagingParameters

özellik 
public var positionalPagingParameters:Boolean = false

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Adobe Digital Enterprise Platform Data Services for Java EE 3
Çalışma Zamanı Sürümleri: Flash Player 9, AIR 1.1

When paging is enabled, your operation on the server must take a start and count parameters to define the subset of the items to return. You do not provide these to the service when you call the operation - they are added automatically as the system will fetch pages from your server on-demand - i.e. in response to getItemAt() calls. Those calls take an optional prefetch parameter which lets you control the number of items fetched on a given call. By default the start and count parameters must be called "startIndex" and "numItems" and may appear anywhere in the signature of your operation. Setting this flag to true will lift the naming restriction on these two parameters, but will require that they appear as the last two parameters to the operation - the second to last parameter will be interpreted as the start parameter and the last as the count parameter.

propertySpecifier

özellik 
propertySpecifier:String

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Adobe Digital Enterprise Platform Data Services for Java EE 3
Çalışma Zamanı Sürümleri: Flash Player 9, AIR 1.1

A string of the form "a,b,c" which lists the property names of the managed item returned by this query. If unset, the query should return all properties of the object.



Uygulama
    public function get propertySpecifier():String
    public function set propertySpecifier(value:String):void

removeItemFromCollectionOperation

özellik 
public var removeItemFromCollectionOperation:String

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Adobe Digital Enterprise Platform Data Services for Java EE 3
Çalışma Zamanı Sürümleri: Flash Player 9, AIR 1.1

The addItemToCollectionOperation() and removeItemFromCollectionOperation() methods are optional operations which let you define a function to be invoked as an item is added to or removed from a collection. In many cases, the membership of items in the query is determined implicitly - i.e. by the property values so the server does not need to handle these operations. In those cases, they are ignored. Use these methods in case you are explicitly managing an association table which relates the item to a particular collection.

When an item is removed from a collection, if you want to delete that item, you do not need to use this operation. Instead, set the property deleteItemOnRemoveFromFill and the server's deleteItem operation is called automatically when the item is removed from the collection.

synchronizeOperation

özellik 
public var synchronizeOperation:String

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Adobe Digital Enterprise Platform Data Services for Java EE 3.1
Çalışma Zamanı Sürümleri: Flash Player 9, AIR 1.5

Name of an operation on the service taking the same parameters as this query which computes the changed items of the query since the time of the last query. I.e. performs a synchronizeFill() for an associated fill().

Yapıcı Ayrıntı

ManagedQuery

()Yapıcı
public function ManagedQuery(nameParam:String = null, typeParam:String = "query")

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Adobe Digital Enterprise Platform Data Services for Java EE 3
Çalışma Zamanı Sürümleri: Flash Player 9, AIR 1.1

Builds a ManagedQuery. The nameParameter specifies the name of the service's operation that this ManagedQuery is based on. It is a required parameter but is made optional here so this class can be used in MXML.

Parametreler
nameParam:String (default = null) — Name of the operation in the service which this is managing.
 
typeParam:String (default = "query") — The type of the managed query operation. Values are: 'query', or 'findItem'.
Yöntem Ayrıntısı

initialize

()yöntem
override public function initialize():void

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Adobe Digital Enterprise Platform Data Services for Java EE 3
Çalışma Zamanı Sürümleri: Flash Player 9, AIR 1.1

Initializes the managed operation throwing errors for any configuration problems that are encountered along the way.





[ X ]Niçin İngilizce?
ActionScript 3.0 Başvurusu'ndaki içerik İngilizce görünür

ActionScript 3.0 Başvurusu'nun tüm bölümleri tüm dillere çevrilmemiştir. Bir dil öğesi çevrilmediğinde İngilizce görünür. Örneğin, ga.controls.HelpBox sınıfı hiçbir dile çevrilmez. Bu nedenle, başvurunun Türkçe versiyonunda ga.controls.HelpBox sınıfı İngilizce görünür.