Paket | com.adobe.ep.ux.content.managers |
Schnittstelle | public interface ISearchProvider extends IEventDispatcher |
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
Laufzeitversionen: | Flash Player 10.2, AIR (unsupported) |
ISearchProvider
interface implements a custom search implementation.
Öffentliche Eigenschaften
Eigenschaft | Definiert von | ||
---|---|---|---|
lastQuery : SearchQuery [schreibgeschützt]
The searchQuery associated with lastResults. | ISearchProvider | ||
lastResult : ListCollectionView [schreibgeschützt]
The results fetched from the last search. | ISearchProvider |
Öffentliche Methoden
Methode | Definiert von | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registriert ein Ereignis-Listener-Objekt bei einem EventDispatcher-Objekt, sodass der Listener über ein Ereignis benachrichtigt wird. | IEventDispatcher | ||
Sendet ein Ereignis in den Ereignisablauf. | IEventDispatcher | ||
Überprüft, ob das EventDispatcher-Objekt Listener für einen bestimmten Ereignistyp registriert hat. | IEventDispatcher | ||
releaseSearchResults(resultsListView:ListCollectionView, assetDescriptor:com.adobe.ep.ux.content.model.asset:AssetTypeDescriptor):void
Releases the search results and performs any cleanup required. | ISearchProvider | ||
Entfernt einen Listener aus dem EventDispatcher-Objekt. | IEventDispatcher | ||
Searches the Assets based on given searchQuery. | ISearchProvider | ||
Überprüft, ob bei diesem EventDispatcher-Objekt oder bei einem seiner Vorgänger ein Ereignis-Listener für einen bestimmten Ereignistyp registriert ist. | IEventDispatcher |
Ereignisse
Ereignis | Übersicht | Definiert von | ||
---|---|---|---|---|
The searchComplete event is thrown when a search completes successfully. | ISearchProvider | |||
The searchError event is thrown when an error occurs during a search. | ISearchProvider |
Eigenschaftendetails
lastQuery | Eigenschaft |
lastQuery:SearchQuery
[schreibgeschützt] Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
Laufzeitversionen: | 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.
Implementierung
public function get lastQuery():SearchQuery
lastResult | Eigenschaft |
lastResult:ListCollectionView
[schreibgeschützt] Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
Laufzeitversionen: | Flash Player 10.2, AIR (unsupported) |
The results fetched from the last search.
Implementierung
public function get lastResult():ListCollectionView
Methodendetails
releaseSearchResults | () | Methode |
public function releaseSearchResults(resultsListView:ListCollectionView, assetDescriptor:com.adobe.ep.ux.content.model.asset:AssetTypeDescriptor):void
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
Laufzeitversionen: | 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.
Parameter
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 | () | Methode |
public function search(query:SearchQuery, resultsListView:ListCollectionView = null):void
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
Laufzeitversionen: | Flash Player 10.2, AIR (unsupported) |
Searches the Assets based on given searchQuery.
Parameter
query:SearchQuery — Specifies the search query to execute.
| |
resultsListView:ListCollectionView (default = null ) — Specifies the result collection for a search.
|
Ereignisdetails
searchComplete | Ereignis |
Ereignisobjekttyp:
com.adobe.ep.ux.content.event.SearchEvent
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
Laufzeitversionen: | Flash Player 10.2, AIR (unsupported) |
The searchComplete
event is thrown when a search completes successfully.
searchError | Ereignis |
Ereignisobjekttyp:
mx.rpc.events.FaultEvent
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
Laufzeitversionen: | Flash Player 10.2, AIR (unsupported) |
The searchError
event is thrown when an error occurs during a search.
Tue Jun 12 2018, 10:04 AM Z