包 | 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:04 AM Z