| Pacote | com.adobe.ep.ux.content.managers |
| Interface | public interface ISearchProvider extends IEventDispatcher |
| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
| Versões de runtime: | Flash Player 10.2, AIR (unsupported) |
ISearchProvider interface implements a custom search implementation.
Propriedades públicas
| Propriedade | Definido por | ||
|---|---|---|---|
| lastQuery : SearchQuery [somente leitura]
The searchQuery associated with lastResults. | ISearchProvider | ||
| lastResult : ListCollectionView [somente leitura]
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 um objeto de ouvinte de evento em um objeto EventDispatcher, de forma que o ouvinte receba a notificação de um evento. | IEventDispatcher | |
![]() |
Envia um evento para o fluxo de eventos. | IEventDispatcher | |
![]() |
Verifica se o objeto EventDispatcher tem ouvintes registrados para um tipo específico 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 | ||
![]() |
Remove um ouvinte do objeto EventDispatcher. | IEventDispatcher | |
Searches the Assets based on given searchQuery. | ISearchProvider | ||
![]() |
Verifica se um ouvinte de evento está registrado nesse objeto EventDispatcher ou em qualquer um de seus ancestrais para o tipo de evento especificado. | IEventDispatcher | |
Eventos
| Evento | Resumo | 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 | |||
Detalhes da propriedade
lastQuery | propriedade |
lastQuery:SearchQuery [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
| Versões de 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.
Implementação
public function get lastQuery():SearchQuerylastResult | propriedade |
lastResult:ListCollectionView [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
| Versões de runtime: | Flash Player 10.2, AIR (unsupported) |
The results fetched from the last search.
Implementação
public function get lastResult():ListCollectionViewDetalhes do método
releaseSearchResults | () | método |
public function releaseSearchResults(resultsListView:ListCollectionView, assetDescriptor:com.adobe.ep.ux.content.model.asset:AssetTypeDescriptor):void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
| Versões de 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.
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| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
| Versões de runtime: | 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.
|
Detalhe do evento
searchComplete | Evento |
Tipo do objeto de evento:
com.adobe.ep.ux.content.event.SearchEvent| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
| Versões de runtime: | Flash Player 10.2, AIR (unsupported) |
The searchComplete event is thrown when a search completes successfully.
searchError | Evento |
Tipo do objeto de evento:
mx.rpc.events.FaultEvent| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
| Versões de runtime: | Flash Player 10.2, AIR (unsupported) |
The searchError event is thrown when an error occurs during a search.
Wed Jun 13 2018, 11:10 AM Z
Ocultar métodos públicos herdados
Mostrar métodos públicos herdados