Pacchetto | com.adobe.ep.ux.content.managers |
Interfaccia | public interface ISearchProvider extends IEventDispatcher |
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Experience Services - Contenuti 10 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
ISearchProvider
interface implements a custom search implementation.
Proprietà pubbliche
Proprietà | Definito da | ||
---|---|---|---|
lastQuery : SearchQuery [sola lettura]
The searchQuery associated with lastResults. | ISearchProvider | ||
lastResult : ListCollectionView [sola lettura]
The results fetched from the last search. | ISearchProvider |
Metodi pubblici
Metodo | Definito da | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra un oggetto listener di eventi con un oggetto EventDispatcher, in modo che il listener riceva la notifica di un evento. | IEventDispatcher | ||
Invia un evento nel flusso di eventi. | IEventDispatcher | ||
Verifica se per l'oggetto EventDispatcher sono presenti listener registrati per un tipo specifico di evento. | IEventDispatcher | ||
releaseSearchResults(resultsListView:ListCollectionView, assetDescriptor:com.adobe.ep.ux.content.model.asset:AssetTypeDescriptor):void
Releases the search results and performs any cleanup required. | ISearchProvider | ||
Rimuove un listener dall'oggetto EventDispatcher. | IEventDispatcher | ||
Searches the Assets based on given searchQuery. | ISearchProvider | ||
Verifica se un listener di eventi è registrato con questo oggetto EventDispatcher o qualsiasi suo antenato per il tipo di evento specificato. | IEventDispatcher |
Eventi
Evento | Riepilogo | Definito da | ||
---|---|---|---|---|
The searchComplete event is thrown when a search completes successfully. | ISearchProvider | |||
The searchError event is thrown when an error occurs during a search. | ISearchProvider |
Descrizione delle proprietà
lastQuery | proprietà |
lastQuery:SearchQuery
[sola lettura] Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Experience Services - Contenuti 10 |
Versioni runtime: | 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.
Implementazione
public function get lastQuery():SearchQuery
lastResult | proprietà |
lastResult:ListCollectionView
[sola lettura] Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Experience Services - Contenuti 10 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
The results fetched from the last search.
Implementazione
public function get lastResult():ListCollectionView
Descrizione dei metodi
releaseSearchResults | () | metodo |
public function releaseSearchResults(resultsListView:ListCollectionView, assetDescriptor:com.adobe.ep.ux.content.model.asset:AssetTypeDescriptor):void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Experience Services - Contenuti 10 |
Versioni runtime: | 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.
Parametri
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 | () | metodo |
public function search(query:SearchQuery, resultsListView:ListCollectionView = null):void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Experience Services - Contenuti 10 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
Searches the Assets based on given searchQuery.
Parametri
query:SearchQuery — Specifies the search query to execute.
| |
resultsListView:ListCollectionView (default = null ) — Specifies the result collection for a search.
|
Descrizione degli eventi
searchComplete | Evento |
Tipo di oggetto evento:
com.adobe.ep.ux.content.event.SearchEvent
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Experience Services - Contenuti 10 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
The searchComplete
event is thrown when a search completes successfully.
searchError | Evento |
Tipo di oggetto evento:
mx.rpc.events.FaultEvent
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Experience Services - Contenuti 10 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
The searchError
event is thrown when an error occurs during a search.
Tue Jun 12 2018, 02:44 PM Z