ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.ep.ux.content.services.query 

IAssetQueryService  - AS3 ADEP Content

Packagecom.adobe.ep.ux.content.services.query
Interfacepublic interface IAssetQueryService

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Content 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

The IAssetQueryService class is a simple delegate to QueryService which attach success or fault listeners to QueryService response.



Public Methods
 MethodDefined By
  
releaseSearchResults(resultsListView:ListCollectionView, lcdsDestination:String, assetQueryType:String):void
Releases the Managed Search Results Collection.
IAssetQueryService
  
searchAssets(collection:ListCollectionView, searchFilterList:IList, searchParameters:SearchParameters, lcdsDestination:String, path:String, assetQueryType:String, assetDescList:IList, sortFields:IList = null):mx.rpc:AsyncToken
Initiates the search based on given search filter list on the given destination.
IAssetQueryService
Method Detail

releaseSearchResults

()method
public function releaseSearchResults(resultsListView:ListCollectionView, lcdsDestination:String, assetQueryType:String):void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Content 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Releases the Managed Search Results Collection.

Parameters

resultsListView:ListCollectionView — Specifies results list view.
 
lcdsDestination:String — Specifies the Data Server destination.
 
assetQueryType:String — Specifies the type of query to execute.

searchAssets

()method 
public function searchAssets(collection:ListCollectionView, searchFilterList:IList, searchParameters:SearchParameters, lcdsDestination:String, path:String, assetQueryType:String, assetDescList:IList, sortFields:IList = null):mx.rpc:AsyncToken

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Content 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Initiates the search based on given search filter list on the given destination. results of search are populated in the given collection.

Parameters

collection:ListCollectionView — Specifies the collection in which search results are populated.
 
searchFilterList:IList — Specifies the list of search filter based on which search query is executed.
 
searchParameters:SearchParameters — Specifies the various parameters on which search is performed (includes cutpoints).
 
lcdsDestination:String — Specifies the Data Services destination on the server-side to use for searching.
 
path:String — Specifies the unqualified name of the class for which search is fired.
 
assetQueryType:String — Specifies the search type.
 
assetDescList:IList — Asset Descriptors list which contains the list of assets on which search is performed.
 
sortFields:IList (default = null) — Specifies a list of SortField objects on which sorting is to be done in the search result.

Returns
mx.rpc:AsyncToken — The AsycToken which can be used to get the search results.

Related API Elements

com.adobe.ep.ux.content.service.query.AssetQueryService
com.adobe.ep.ux.content.service.search.lccontent.LCCQueryService
com.adobe.ep.ux.content.managers.LCSearchManager