適用於 Adobe® Flash® Platform 的 ActionScript® 3.0 參考
首頁  |  隱藏套件和類別清單 |  套件  |  類別  |  新增內容  |  索引  |  附錄  |  為什麼顯示英文?
篩選: 從伺服器擷取資料...
從伺服器擷取資料...
com.adobe.ep.ux.content.managers 

ISearchProvider  - AS3 ADEP Content

套件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)

The 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
公用方法
 方法定義自
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。
IEventDispatcher
 Inherited
會將事件傳送到事件流程。
IEventDispatcher
 Inherited
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。
IEventDispatcher
  
Releases the search results and performs any cleanup required.
ISearchProvider
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
會從 EventDispatcher 物件移除偵聽程式。
IEventDispatcher
  
search(query:SearchQuery, resultsListView:ListCollectionView = null):void
Searches the Assets based on given searchQuery.
ISearchProvider
 Inherited
檢查此 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.





[ X ]為什麼顯示英文?
「ActionScript 3.0 參考」的內容是以英文顯示

並非所有「ActionScript 3.0 參考」的內容都翻譯為所有語言。當語言元素未翻譯時,就會以英文顯示。例如,ga.controls.HelpBox 類別並沒有翻譯為任何語言。因此在參考的繁體中文版本中,ga.controls.HelpBox 類別就會以英文顯示。