| 包 | com.adobe.ep.ux.content.managers |
| 接口 | public interface ISearchProvider extends IEventDispatcher |
| 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
| 运行时版本: | Flash Player 10.2, AIR (unsupported) |
ISearchProvider interface implements a custom search implementation.
公共属性
| 属性 | 由以下参数定义 | ||
|---|---|---|---|
| lastQuery : SearchQuery [只读]
The searchQuery associated with lastResults. | ISearchProvider | ||
| lastResult : ListCollectionView [只读]
The results fetched from the last search. | ISearchProvider | ||
公共方法
| 方法 | 由以下参数定义 | ||
|---|---|---|---|
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。 | IEventDispatcher | |
![]() |
将事件调度到事件流中。 | IEventDispatcher | |
![]() |
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 | IEventDispatcher | |
releaseSearchResults(resultsListView:ListCollectionView, assetDescriptor:com.adobe.ep.ux.content.model.asset:AssetTypeDescriptor):void
Releases the search results and performs any cleanup required. | ISearchProvider | ||
![]() |
从 EventDispatcher 对象中删除侦听器。 | IEventDispatcher | |
Searches the Assets based on given searchQuery. | ISearchProvider | ||
![]() |
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。 | IEventDispatcher | |
事件
| 事件 | 摘要 | 由以下参数定义 | ||
|---|---|---|---|---|
| The searchComplete event is thrown when a search completes successfully. | ISearchProvider | |||
| The searchError event is thrown when an error occurs during a search. | ISearchProvider | |||
属性详细信息
lastQuery | 属性 |
lastQuery:SearchQuery [只读] | 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
| 运行时版本: | Flash Player 10.2, AIR (unsupported) |
The searchQuery associated with lastResults. This value is updated at the same time when the lastResults property is updated.
实现
public function get lastQuery():SearchQuerylastResult | 属性 |
lastResult:ListCollectionView [只读] | 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
| 运行时版本: | Flash Player 10.2, AIR (unsupported) |
The results fetched from the last search.
实现
public function get lastResult():ListCollectionView方法详细信息
releaseSearchResults | () | 方法 |
public function releaseSearchResults(resultsListView:ListCollectionView, assetDescriptor:com.adobe.ep.ux.content.model.asset:AssetTypeDescriptor):void| 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
| 运行时版本: | Flash Player 10.2, AIR (unsupported) |
Releases the search results and performs any cleanup required. For example, unmanage the results from Data Management Services auto synchronization.
参数
resultsListView:ListCollectionView — Specifies the results collection handle to be released.
| |
assetDescriptor:com.adobe.ep.ux.content.model.asset:AssetTypeDescriptor — Specifies the asset for which results are to be released.
|
search | () | 方法 |
public function search(query:SearchQuery, resultsListView:ListCollectionView = null):void| 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
| 运行时版本: | Flash Player 10.2, AIR (unsupported) |
Searches the Assets based on given searchQuery.
参数
query:SearchQuery — Specifies the search query to execute.
| |
resultsListView:ListCollectionView (default = null) — Specifies the result collection for a search.
|
事件详细信息
searchComplete | 事件 |
事件对象类型:
com.adobe.ep.ux.content.event.SearchEvent| 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
| 运行时版本: | Flash Player 10.2, AIR (unsupported) |
The searchComplete event is thrown when a search completes successfully.
searchError | 事件 |
事件对象类型:
mx.rpc.events.FaultEvent| 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
| 运行时版本: | Flash Player 10.2, AIR (unsupported) |
The searchError event is thrown when an error occurs during a search.
Tue Jun 12 2018, 11:04 AM Z
隐藏继承的公共方法
显示继承的公共方法