Paquete | com.adobe.ep.ux.content.managers |
Interfaz | public interface ISearchProvider extends IEventDispatcher |
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
Versiones de motor de ejecución: | Flash Player 10.2, AIR (unsupported) |
ISearchProvider
interface implements a custom search implementation.
Propiedades públicas
Propiedad | Definido por | ||
---|---|---|---|
lastQuery : SearchQuery [solo lectura]
The searchQuery associated with lastResults. | ISearchProvider | ||
lastResult : ListCollectionView [solo lectura]
The results fetched from the last search. | ISearchProvider |
Métodos públicos
Método | Definido por | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra un objeto de detector de eventos con un objeto EventDispatcher, de modo que el detector reciba la notificación de un evento. | IEventDispatcher | ||
Distribuye un evento en el flujo del evento. | IEventDispatcher | ||
Comprueba si el objeto EventDispatcher tiene detectores registrados para un tipo concreto de 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 | ||
Elimina un detector del objeto EventDispatcher. | IEventDispatcher | ||
Searches the Assets based on given searchQuery. | ISearchProvider | ||
Comprueba si hay registrado un detector de eventos con este objeto EventDispatcher o con cualquiera de sus ascendientes para el tipo de evento concreto. | IEventDispatcher |
Eventos
Evento | Resumen | Definido por | ||
---|---|---|---|---|
The searchComplete event is thrown when a search completes successfully. | ISearchProvider | |||
The searchError event is thrown when an error occurs during a search. | ISearchProvider |
Información sobre propiedades
lastQuery | propiedad |
lastQuery:SearchQuery
[solo lectura] Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
Versiones de motor de ejecución: | 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.
Implementación
public function get lastQuery():SearchQuery
lastResult | propiedad |
lastResult:ListCollectionView
[solo lectura] Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
Versiones de motor de ejecución: | Flash Player 10.2, AIR (unsupported) |
The results fetched from the last search.
Implementación
public function get lastResult():ListCollectionView
Información sobre métodos
releaseSearchResults | () | método |
public function releaseSearchResults(resultsListView:ListCollectionView, assetDescriptor:com.adobe.ep.ux.content.model.asset:AssetTypeDescriptor):void
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
Versiones de motor de ejecución: | 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.
Parámetros
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 | () | método |
public function search(query:SearchQuery, resultsListView:ListCollectionView = null):void
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
Versiones de motor de ejecución: | Flash Player 10.2, AIR (unsupported) |
Searches the Assets based on given searchQuery.
Parámetros
query:SearchQuery — Specifies the search query to execute.
| |
resultsListView:ListCollectionView (default = null ) — Specifies the result collection for a search.
|
Información sobre eventos
searchComplete | Evento |
Tipo de objeto de evento:
com.adobe.ep.ux.content.event.SearchEvent
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
Versiones de motor de ejecución: | Flash Player 10.2, AIR (unsupported) |
The searchComplete
event is thrown when a search completes successfully.
searchError | Evento |
Tipo de objeto de evento:
mx.rpc.events.FaultEvent
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
Versiones de motor de ejecución: | Flash Player 10.2, AIR (unsupported) |
The searchError
event is thrown when an error occurs during a search.
Tue Jun 12 2018, 02:12 PM Z