套件 | com.adobe.livecycle.assetmanager.client.managers |
類別 | public class SearchManager |
繼承 | SearchManager EventDispatcher Object |
實作 | IResponder, ISearchProvider |
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
屬性 | 定義自 | ||
---|---|---|---|
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | 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" [靜態]
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 |
方法 | 定義自 | ||
---|---|---|---|
Constructor. | SearchManager | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | EventDispatcher | ||
會將事件傳送到事件流程。 | EventDispatcher | ||
This method is called by a service when an error has been received. | SearchManager | ||
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | EventDispatcher | ||
指出物件是否有已定義的指定屬性。 | Object | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | 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 | ||
會從 EventDispatcher 物件移除偵聽程式。 | 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 | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object | ||
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | EventDispatcher |
事件 | 摘要 | 定義自 | ||
---|---|---|---|---|
[廣播事件] 當 Flash Player 或 AIR 應用程式取得作業系統焦點並成為作用中時傳送。 | EventDispatcher | |||
[廣播事件] 當 Flash Player 或 AIR 應用程式失去作業系統焦點並成為非作用中時傳送。 | EventDispatcher | |||
Thrown when SearchManager has completed searching. | SearchManager | |||
Thrown when SearchManager encounters an error during search. | SearchManager |
常數 | 定義自 | ||
---|---|---|---|
CMS_QUERY_TYPE : String = "CMSQuery" [靜態]
Specifies the query type to use when IQueryService is called. | SearchManager |
lastQuery | 屬性 |
lastQuery:SearchQuery
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | 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.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get lastQuery():SearchQuery
public function set lastQuery(value:SearchQuery):void
lastResult | 屬性 |
lastResult:ListCollectionView
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Returns the result of the last search.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get lastResult():ListCollectionView
public function set lastResult(value:ListCollectionView):void
queryType | 屬性 |
public static var queryType:String = "HQLQuery"
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies the query type to use when IQueryService is called.
showBusyCursor | 屬性 |
showBusyCursor:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies whether to display a busy cursor while a search is in progress.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get showBusyCursor():Boolean
public function set showBusyCursor(value:Boolean):void
SearchManager | () | 建構函式 |
public function SearchManager()
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Constructor.
fault | () | 方法 |
public function fault(info:Object):void
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | 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.
參數
info:Object |
releaseSearchResults | () | 方法 |
public function releaseSearchResults(resultsListView:ListCollectionView, assetDescriptor:com.adobe.livecycle.assetmanager.client.model:AssetTypeDescriptor):void
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | 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.
參數
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 | () | 方法 |
public function result(data:Object):void
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | 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.
參數
data:Object |
search | () | 方法 |
public function search(query:SearchQuery, resultsListView:ListCollectionView = null):void
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Searches assets based on the specified search query.
參數
query:SearchQuery — A SearchQuery object.
| |
resultsListView:ListCollectionView (default = null ) — The results collection to populate.
|
searchComplete | 事件 |
com.adobe.livecycle.assetmanager.client.event.SearchEvent
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Thrown when SearchManager has completed searching.
searchError | 事件 |
mx.rpc.events.FaultEvent
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Thrown when SearchManager encounters an error during search.
CMS_QUERY_TYPE | 常數 |
public static const CMS_QUERY_TYPE:String = "CMSQuery"
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies the query type to use when IQueryService is called.
Tue Jun 12 2018, 03:47 PM Z