| Pacote | com.adobe.icc.editors.managers |
| Classe | public class ContentSearchManager |
| Herança | ContentSearchManager EventDispatcher Object |
| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Asset Composer Building Block 10 |
| Versões de runtime: | AIR (unsupported), Flash Player 10.2 |
ContentSearchManager lets you search for content in the system by name.
ContentSearchManager abstracts the query required to search for data modules
by their name. This can be used for simple and frequent content searches. In case, a more complex
search is required, the search APIs and the associated Query objects must be used instead.
Similar to flex's HTTPService, this class has a lastResult bindable property which
can be conveniently used to display the result of the last search made on the UI.
Elementos da API relacionados
com.adobe.livecycle.assetmanager.client.service.search.cms.ICMSQueryService
| Propriedade | Definido por | ||
|---|---|---|---|
![]() | constructor : Object
Uma referência ao objeto de classe ou à função de construtor de uma determinada ocorrência de objeto. | Object | |
| lastResult : ListCollectionView
The list of ModuleModel objects reflecting the result of the last search query executed. | ContentSearchManager | ||
| lastSearchString : String
The last query string that was used to invoke search on ContentSearchManager. | ContentSearchManager | ||
| 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. | EventDispatcher | |
![]() |
Envia um evento para o fluxo de eventos. | EventDispatcher | |
Re-executes the last search in order to refresh the results. | ContentSearchManager | ||
![]() |
Verifica se o objeto EventDispatcher tem ouvintes registrados para um tipo específico de evento. | EventDispatcher | |
![]() |
Indica se um objeto tem uma propriedade especificada definida. | Object | |
![]() |
Indica se uma ocorrência da classe Object está na cadeia de protótipos do objeto especificado como o parâmetro. | Object | |
![]() |
Indica se a propriedade especificada existe e é enumerável. | Object | |
![]() |
Remove um ouvinte do objeto EventDispatcher. | EventDispatcher | |
Searches the server for asset matching the passed name. | ContentSearchManager | ||
![]() |
Define a disponibilidade de uma propriedade dinâmica para operações de repetição. | Object | |
![]() |
Retorna a representação da string deste objeto, formatado segundo as convenções específicas para a localidade. | Object | |
![]() |
Retorna a representação de string do objeto especificado. | Object | |
![]() |
Retorna o valor primitivo do objeto especificado. | Object | |
![]() |
Verifica se um ouvinte de evento está registrado nesse objeto EventDispatcher ou em qualquer um de seus ancestrais para o tipo de evento especificado. | EventDispatcher | |
| Evento | Resumo | Definido por | ||
|---|---|---|---|---|
![]() | [transmissão de evento] Despachado quando o Flash Player ou o aplicativo do AIR ganha o foco do sistema operacional e está se tornando inativo. | EventDispatcher | ||
| Dispatched when a search invoked on the ContentSearchManager completes successfully. | ContentSearchManager | |||
![]() | [transmissão de evento] Despachado quando o Flash Player ou o aplicativo do AIR perde o foco do sistema operacional e está se tornando inativo. | EventDispatcher | ||
| Dispatched when a search invoked on the ContentSearchManager fails. | ContentSearchManager | |||
lastResult | propriedade |
public var lastResult:ListCollectionView| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Asset Composer Building Block 10 |
| Versões de runtime: | AIR (unsupported), Flash Player 10.2 |
The list of ModuleModel objects reflecting the result of the last search query executed.
The list holds objects of type ModuleModel which is a super class representing
the various modules in the system viz. Texts, Images, Lists and Conditions.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento complete .
lastSearchString | propriedade |
lastSearchString:String| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Asset Composer Building Block 10 |
| Versões de runtime: | AIR (unsupported), Flash Player 10.2 |
The last query string that was used to invoke search on ContentSearchManager.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange .
Implementação
public function get lastSearchString():String public function set lastSearchString(value:String):voidexecuteLastSearch | () | método |
public function executeLastSearch():void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Asset Composer Building Block 10 |
| Versões de runtime: | AIR (unsupported), Flash Player 10.2 |
Re-executes the last search in order to refresh the results.
search | () | método |
public function search(searchString:String):void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Asset Composer Building Block 10 |
| Versões de runtime: | AIR (unsupported), Flash Player 10.2 |
Searches the server for asset matching the passed name. The type of asset searched for includes Texts, Images, Lists and Conditions.
By default, the search mode is "like", wherein all assets with names containing the search string are returned. An "exact" search can however be invoked by including the search param within quotes e.g. "myasset01"
Parâmetros
searchString:String — The name (or part of it) of the asset that needs to be searched.
Could be null or empty which amounts to retrieving everything as search result.
|
complete | Evento |
flash.events.Eventpropriedade Event.type =
flash.events.Event| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Asset Composer Building Block 10 |
| Versões de runtime: | AIR (unsupported), Flash Player 10.2 |
Dispatched when a search invoked on the ContentSearchManager
completes successfully.
This event is dispatched in an asynchronous manner when the server responds
for the search requested via the ContentSearchManager successfully.
fault | Evento |
mx.rpc.events.FaultEventpropriedade FaultEvent.type =
mx.rpc.events.FaultEvent| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Asset Composer Building Block 10 |
| Versões de runtime: | AIR (unsupported), Flash Player 10.2 |
Dispatched when a search invoked on the ContentSearchManager
fails.
This event is dispatched in an asynchronous manner when the server errors out
for the search requested via the ContentSearchManager.
Wed Jun 13 2018, 11:10 AM Z
Ocultar propriedades públicas herdadas
Mostrar propriedades públicas herdadas