Paket | com.adobe.livecycle.assetmanager.client.managers |
Klass | public class SearchManager |
Arv | SearchManager EventDispatcher Object |
Implementerar | IResponder, ISearchProvider |
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Manager Building Block 9.5 |
Körningsmiljöversioner: | AIR 1.0, Flash Player 9, Flash Player 10 |
Egenskap | Definieras med | ||
---|---|---|---|
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
lastQuery : SearchQuery
Returns the search query associated with the result of the last search. | SearchManager | ||
lastResult : ListCollectionView
Returns the result of the last search. | SearchManager | ||
queryType : String = "HQLQuery" [statisk]
Specifies the query type to use when IQueryService is called. | SearchManager | ||
showBusyCursor : Boolean
Specifies whether to display a busy cursor while a search is in progress. | SearchManager |
Metod | Definieras med | ||
---|---|---|---|
Constructor. | SearchManager | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registrerar ett händelseavlyssnarobjekt för ett EventDispatcher-objekt så att avlyssnaren får meddelanden om händelser. | EventDispatcher | ||
Skickar en händelse till händelseflödet. | EventDispatcher | ||
This method is called by a service when an error has been received. | SearchManager | ||
Kontrollerar om EventDispatcher-objektet har några avlyssnare registrerade för en viss typ av händelse. | EventDispatcher | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
releaseSearchResults(resultsListView:ListCollectionView, assetDescriptor:com.adobe.livecycle.assetmanager.client.model:AssetTypeDescriptor):void
Releases the search results and does any clean up tasks that are required. | SearchManager | ||
Tar bort en avlyssnare från EventDispatcher-objektet. | EventDispatcher | ||
This method is called by a service when the return value
has been received. | SearchManager | ||
Searches assets based on the specified search query. | SearchManager | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar det angivna objektets strängbeteckning. | Object | ||
Returnerar det angivna objektets primitiva värde. | Object | ||
Kontrollerar om en händelseavlyssnare är registrerad för det här EventDispatcher-objektet eller något av dess överordnade objekt för den angivna händelsetypen. | EventDispatcher |
Händelse | Sammanfattning | Definieras med | ||
---|---|---|---|---|
[utsändningshändelse] Skickas när Flash Player eller AIR får operativsystemfokus och blir aktivt. | EventDispatcher | |||
[utsändningshändelse] Skickas när Flash Player eller AIR förlorar operativsystemfokus och blir inaktivt. | EventDispatcher | |||
Thrown when SearchManager has completed searching. | SearchManager | |||
Thrown when SearchManager encounters an error during search. | SearchManager |
Konstant | Definieras med | ||
---|---|---|---|
CMS_QUERY_TYPE : String = "CMSQuery" [statisk]
Specifies the query type to use when IQueryService is called. | SearchManager |
lastQuery | egenskap |
lastQuery:SearchQuery
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Manager Building Block 9.5 |
Körningsmiljöversioner: | AIR 1.0, Flash Player 9, Flash Player 10 |
Returns the search query associated with the result of the last search. This function is updated when the lastResults function is updated.
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get lastQuery():SearchQuery
public function set lastQuery(value:SearchQuery):void
lastResult | egenskap |
lastResult:ListCollectionView
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Manager Building Block 9.5 |
Körningsmiljöversioner: | AIR 1.0, Flash Player 9, Flash Player 10 |
Returns the result of the last search.
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get lastResult():ListCollectionView
public function set lastResult(value:ListCollectionView):void
queryType | egenskap |
public static var queryType:String = "HQLQuery"
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Manager Building Block 9.5 |
Körningsmiljöversioner: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies the query type to use when IQueryService is called.
showBusyCursor | egenskap |
showBusyCursor:Boolean
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Manager Building Block 9.5 |
Körningsmiljöversioner: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies whether to display a busy cursor while a search is in progress.
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get showBusyCursor():Boolean
public function set showBusyCursor(value:Boolean):void
SearchManager | () | Konstruktor |
public function SearchManager()
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Manager Building Block 9.5 |
Körningsmiljöversioner: | AIR 1.0, Flash Player 9, Flash Player 10 |
Constructor.
fault | () | metod |
public function fault(info:Object):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Manager Building Block 9.5 |
Körningsmiljöversioner: | AIR 1.0, Flash Player 9, Flash Player 10 |
This method is called by a service when an error has been received.
While info
is typed as Object it is often
(but not always) an mx.rpc.events.FaultEvent.
Parametrar
info:Object |
releaseSearchResults | () | metod |
public function releaseSearchResults(resultsListView:ListCollectionView, assetDescriptor:com.adobe.livecycle.assetmanager.client.model:AssetTypeDescriptor):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Manager Building Block 9.5 |
Körningsmiljöversioner: | AIR 1.0, Flash Player 9, Flash Player 10 |
Releases the search results and does any clean up tasks that are required. For example, disabling automatic synchronization provided by the Data Management Service.
Parametrar
resultsListView:ListCollectionView — Search results to release.
| |
assetDescriptor:com.adobe.livecycle.assetmanager.client.model:AssetTypeDescriptor — AssetTypeDescriptor of the current asset, listed in the results grid.
|
result | () | metod |
public function result(data:Object):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Manager Building Block 9.5 |
Körningsmiljöversioner: | AIR 1.0, Flash Player 9, Flash Player 10 |
This method is called by a service when the return value
has been received.
While data
is typed as Object, it is often
(but not always) an mx.rpc.events.ResultEvent.
Parametrar
data:Object |
search | () | metod |
public function search(query:SearchQuery, resultsListView:ListCollectionView = null):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Manager Building Block 9.5 |
Körningsmiljöversioner: | AIR 1.0, Flash Player 9, Flash Player 10 |
Searches assets based on the specified search query.
Parametrar
query:SearchQuery — A SearchQuery object.
| |
resultsListView:ListCollectionView (default = null ) — The results collection to populate.
|
searchComplete | Händelse |
com.adobe.livecycle.assetmanager.client.event.SearchEvent
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Manager Building Block 9.5 |
Körningsmiljöversioner: | AIR 1.0, Flash Player 9, Flash Player 10 |
Thrown when SearchManager has completed searching.
searchError | Händelse |
mx.rpc.events.FaultEvent
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Manager Building Block 9.5 |
Körningsmiljöversioner: | AIR 1.0, Flash Player 9, Flash Player 10 |
Thrown when SearchManager encounters an error during search.
CMS_QUERY_TYPE | Konstant |
public static const CMS_QUERY_TYPE:String = "CMSQuery"
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Manager Building Block 9.5 |
Körningsmiljöversioner: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies the query type to use when IQueryService is called.
Tue Jun 12 2018, 01:40 PM Z