Paket | com.adobe.ep.ux.content.managers |
Gränssnitt | public interface ISearchProvider extends IEventDispatcher |
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
Körningsmiljöversioner: | Flash Player 10.2, AIR (unsupported) |
ISearchProvider
interface implements a custom search implementation.
Publika egenskaper
Egenskap | Definieras med | ||
---|---|---|---|
lastQuery : SearchQuery [skrivskyddad]
The searchQuery associated with lastResults. | ISearchProvider | ||
lastResult : ListCollectionView [skrivskyddad]
The results fetched from the last search. | ISearchProvider |
Publika metoder
Metod | Definieras med | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registrerar ett händelseavlyssnarobjekt för ett EventDispatcher-objekt så att avlyssnaren får meddelanden om händelser. | IEventDispatcher | ||
Skickar en händelse till händelseflödet. | IEventDispatcher | ||
Kontrollerar om EventDispatcher-objektet har några avlyssnare registrerade för en viss typ av händelse. | IEventDispatcher | ||
releaseSearchResults(resultsListView:ListCollectionView, assetDescriptor:com.adobe.ep.ux.content.model.asset:AssetTypeDescriptor):void
Releases the search results and performs any cleanup required. | ISearchProvider | ||
Tar bort en avlyssnare från EventDispatcher-objektet. | IEventDispatcher | ||
Searches the Assets based on given searchQuery. | ISearchProvider | ||
Kontrollerar om en händelseavlyssnare är registrerad för det här EventDispatcher-objektet eller något av dess överordnade objekt för den angivna händelsetypen. | IEventDispatcher |
Händelser
Händelse | Sammanfattning | Definieras med | ||
---|---|---|---|---|
The searchComplete event is thrown when a search completes successfully. | ISearchProvider | |||
The searchError event is thrown when an error occurs during a search. | ISearchProvider |
Egenskapsdetaljer
lastQuery | egenskap |
lastQuery:SearchQuery
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
Körningsmiljöversioner: | 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.
Implementering
public function get lastQuery():SearchQuery
lastResult | egenskap |
lastResult:ListCollectionView
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
Körningsmiljöversioner: | Flash Player 10.2, AIR (unsupported) |
The results fetched from the last search.
Implementering
public function get lastResult():ListCollectionView
Metoddetaljer
releaseSearchResults | () | metod |
public function releaseSearchResults(resultsListView:ListCollectionView, assetDescriptor:com.adobe.ep.ux.content.model.asset:AssetTypeDescriptor):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
Körningsmiljöversioner: | 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.
Parametrar
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 | () | metod |
public function search(query:SearchQuery, resultsListView:ListCollectionView = null):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
Körningsmiljöversioner: | Flash Player 10.2, AIR (unsupported) |
Searches the Assets based on given searchQuery.
Parametrar
query:SearchQuery — Specifies the search query to execute.
| |
resultsListView:ListCollectionView (default = null ) — Specifies the result collection for a search.
|
Händelsedetaljer
searchComplete | Händelse |
Typ av händelseobjekt:
com.adobe.ep.ux.content.event.SearchEvent
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
Körningsmiljöversioner: | Flash Player 10.2, AIR (unsupported) |
The searchComplete
event is thrown when a search completes successfully.
searchError | Händelse |
Typ av händelseobjekt:
mx.rpc.events.FaultEvent
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
Körningsmiljöversioner: | Flash Player 10.2, AIR (unsupported) |
The searchError
event is thrown when an error occurs during a search.
Tue Jun 12 2018, 01:40 PM Z