Referência do ActionScript® 3.0 para Adobe® Flash® Platform
Início  |  Ocultar listas de Pacotes e Classes |  Pacotes  |  Classes  |  Novidades  |  Índice  |  Apêndices  |  Por que inglês?
Filtros: Recuperando dados do servidor...
Recuperando dados do servidor...
com.adobe.ep.ux.content.managers 

ISearchProvider  - AS3 ADEP Content

Pacotecom.adobe.ep.ux.content.managers
Interfacepublic 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)

The ISearchProvider interface implements a custom search implementation.



Propriedades públicas
 PropriedadeDefinido 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étodoDefinido por
 Inherited
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
 Inherited
Envia um evento para o fluxo de eventos.
IEventDispatcher
 Inherited
Verifica se o objeto EventDispatcher tem ouvintes registrados para um tipo específico de evento.
IEventDispatcher
  
Releases the search results and performs any cleanup required.
ISearchProvider
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Remove um ouvinte do objeto EventDispatcher.
IEventDispatcher
  
search(query:SearchQuery, resultsListView:ListCollectionView = null):void
Searches the Assets based on given searchQuery.
ISearchProvider
 Inherited
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():SearchQuery

lastResult

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():ListCollectionView
Detalhes 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.





[ X ]Por que inglês?
O conteúdo na Referência do ActionScript 3.0 aparece em inglês

Nem todas as partes da Referência do ActionScript 3.0 estão traduzidas em todos os idiomas. Quando um elemento de um idioma não está traduzido, ele é exibido em inglês. Por exemplo, a classe ga.controls.HelpBox não está traduzida em nenhum idioma. Por isso, na versão da referência em português do Brasil, a classe ga.controls.HelpBox é exibida em inglês.