包 | com.adobe.livecycle.assetmanager.client |
接口 | public interface ISearchProvider extends IEventDispatcher |
实现器 | SearchManager |
不推荐使用: Deprecated
语言版本: | ActionScript 3.0 |
产品版本: | Asset Manager Building Block 9.5 |
运行时版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
公共属性
属性 | 由以下参数定义 | ||
---|---|---|---|
lastQuery : SearchQuery [只读]
Returns the search query associated with the result of the last search. | ISearchProvider | ||
lastResult : ListCollectionView [只读]
Returns the result of 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.livecycle.assetmanager.client.model:AssetTypeDescriptor):void
Releases the search results and does any clean up tasks that are required. | ISearchProvider | ||
从 EventDispatcher 对象中删除侦听器。 | IEventDispatcher | ||
Searches assets based on the specified search query. | ISearchProvider | ||
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。 | IEventDispatcher |
事件
事件 | 摘要 | 由以下参数定义 | ||
---|---|---|---|---|
Thrown when SearchManager has completed searching. | ISearchProvider | |||
Thrown when SearchManager encounters an error during search. | ISearchProvider |
属性详细信息
lastQuery | 属性 |
lastQuery:SearchQuery
[只读] 语言版本: | ActionScript 3.0 |
产品版本: | Asset Manager Building Block 9.5 |
运行时版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Returns the search query associated with the result of the last search. This function is updated when the lastResults function is updated.
实现
public function get lastQuery():SearchQuery
lastResult | 属性 |
lastResult:ListCollectionView
[只读] 语言版本: | ActionScript 3.0 |
产品版本: | Asset Manager Building Block 9.5 |
运行时版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Returns the result of the last search.
实现
public function get lastResult():ListCollectionView
方法详细信息
releaseSearchResults | () | 方法 |
public function releaseSearchResults(resultsListView:ListCollectionView, assetDescriptor:com.adobe.livecycle.assetmanager.client.model:AssetTypeDescriptor):void
语言版本: | ActionScript 3.0 |
产品版本: | Asset Manager Building Block 9.5 |
运行时版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Releases the search results and does any clean up tasks that are required. For example, disabling automatic synchronization provided by the Data Management Service.
参数
resultsListView:ListCollectionView — Search results to release.
| |
assetDescriptor:com.adobe.livecycle.assetmanager.client.model:AssetTypeDescriptor — AssetTypeDescriptor of the current asset, listed in the results grid.
|
search | () | 方法 |
public function search(query:SearchQuery, resultsListView:ListCollectionView = null):void
语言版本: | ActionScript 3.0 |
产品版本: | Asset Manager Building Block 9.5 |
运行时版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Searches assets based on the specified search query.
参数
query:SearchQuery — A SearchQuery object.
| |
resultsListView:ListCollectionView (default = null ) — The results collection to populate.
|
事件详细信息
searchComplete | 事件 |
事件对象类型:
com.adobe.livecycle.assetmanager.client.event.SearchEvent
语言版本: | ActionScript 3.0 |
产品版本: | Asset Manager Building Block 9.5 |
运行时版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Thrown when SearchManager has completed searching.
searchError | 事件 |
事件对象类型:
mx.rpc.events.FaultEvent
语言版本: | ActionScript 3.0 |
产品版本: | Asset Manager Building Block 9.5 |
运行时版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Thrown when SearchManager encounters an error during search.
Tue Jun 12 2018, 11:04 AM Z