Пакет | com.adobe.livecycle.assetmanager.client.service.search |
Интерфейс | public interface IQueryService |
Язык версии: | ActionScript 3.0 |
Версия продукта: | Asset Manager Building Block 9.5 |
Версии среды выполнения: | AIR 1.0, Flash Player 9, Flash Player 10 |
Because the implementation of this class has state, you must call IQueryService.reset() before using the same instance for more than one search request.
Метод | Определено | ||
---|---|---|---|
fill(itemCollection:ListCollectionView, searchFilters:IList, dataService:DataService, searchEntityName:String):mx.rpc:AsyncToken
Populates the itemCollection by calling the backend Dataservice.fill() method. | IQueryService | ||
Retrieves the string representation of SearchFilter.JOIN_OPERATOR
for this query service implementation. | IQueryService | ||
Retrieves the string representation of the SearchFilter.Operator
for this query service implementation
| IQueryService | ||
Retrieves the type name of the QueryService. | IQueryService | ||
Prepares the parameters to use as input by DataService.fill(). | IQueryService | ||
Releases any item within the specified collection from management by this service. | IQueryService | ||
Resets the current state of any QueryService object implemented using this interface. | IQueryService |
fill | () | метод |
public function fill(itemCollection:ListCollectionView, searchFilters:IList, dataService:DataService, searchEntityName:String):mx.rpc:AsyncToken
Язык версии: | ActionScript 3.0 |
Версия продукта: | Asset Manager Building Block 9.5 |
Версии среды выполнения: | AIR 1.0, Flash Player 9, Flash Player 10 |
Populates the itemCollection by calling the backend Dataservice.fill() method. The parameters of the fill method are prepared by prepareQueryParams(). The DataService instance should already have authenticated channelSet in case authentication is required at the backend Data Services server.
Параметры
itemCollection:ListCollectionView — The results of the fill() operation.
| |
searchFilters:IList — The search filters to pass to the data service.
| |
dataService:DataService — The LiveCycle instance on which fill is actually called.
| |
searchEntityName:String — The name of the entity on which the search is performed.
|
mx.rpc:AsyncToken — asyncToken The AsyncToken that provides a place to set additional or
token-level data for asynchronous remote procedure call operations. Also allows an IResponder to be attached for an individual call.
|
getJoinOperatorString | () | метод |
public function getJoinOperatorString(operator:int):String
Язык версии: | ActionScript 3.0 |
Версия продукта: | Asset Manager Building Block 9.5 |
Версии среды выполнения: | AIR 1.0, Flash Player 9, Flash Player 10 |
Retrieves the string representation of SearchFilter.JOIN_OPERATOR for this query service implementation.
Параметры
operator:int — An integer that represents the operator.
|
String — A string that represents the operator.
|
getOperatorString | () | метод |
public function getOperatorString(operator:int):String
Язык версии: | ActionScript 3.0 |
Версия продукта: | Asset Manager Building Block 9.5 |
Версии среды выполнения: | AIR 1.0, Flash Player 9, Flash Player 10 |
Retrieves the string representation of the SearchFilter.Operator for this query service implementation
Параметры
operator:int — An integer that represents the operator.
|
String — A string that represents the operator.
|
getQueryTypeName | () | метод |
prepareQueryParams | () | метод |
public function prepareQueryParams(searchFilters:IList, searchEntityName:String):void
Язык версии: | ActionScript 3.0 |
Версия продукта: | Asset Manager Building Block 9.5 |
Версии среды выполнения: | AIR 1.0, Flash Player 9, Flash Player 10 |
Prepares the parameters to use as input by DataService.fill().
Параметры
searchFilters:IList — A collection of searchFilters to perform the search with.
| |
searchEntityName:String — The entity name of the class to perform the search on. Has a corresponding destination
configured on the server.
|
releaseSearchResults | () | метод |
public function releaseSearchResults(resultsListView:ListCollectionView, dataService:DataService):void
Язык версии: | ActionScript 3.0 |
Версия продукта: | Asset Manager Building Block 9.5 |
Версии среды выполнения: | AIR 1.0, Flash Player 9, Flash Player 10 |
Releases any item within the specified collection from management by this service.
Параметры
resultsListView:ListCollectionView — The results to release.
| |
dataService:DataService — The data service instance that releases the results.
|
reset | () | метод |
public function reset():void
Язык версии: | ActionScript 3.0 |
Версия продукта: | Asset Manager Building Block 9.5 |
Версии среды выполнения: | AIR 1.0, Flash Player 9, Flash Player 10 |
Resets the current state of any QueryService object implemented using this interface. The state of the QueryService is defined by the prepareQueryParams() function.
Tue Jun 12 2018, 11:34 AM Z