套件 | 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():SearchQuery
lastResult | 屬性 |
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, 03:47 PM Z