套件 | 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, 03:47 PM Z