包 | com.adobe.livecycle.assetmanager.client.service.search |
类 | public final class QueryServiceFactory |
继承 | QueryServiceFactory Object |
不推荐使用: Deprecated
语言版本: | ActionScript 3.0 |
产品版本: | Asset Manager Building Block 9.5 |
运行时版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
公共方法
方法 | 由以下参数定义 | ||
---|---|---|---|
[静态]
Returns the singleton instance of this class. | QueryServiceFactory | ||
自以下版本起不推荐使用: 1.0: 请使用 Replaced by QueryServiceFactory.getInstance()
Retrieves the IQueryService instance based on the queryType input. | QueryServiceFactory | ||
表示对象是否已经定义了指定的属性。 | Object | ||
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | ||
表示指定的属性是否存在、是否可枚举。 | Object | ||
Registers an implementation of IQueryService for the specified queryType, which can be retrieved by the getQueryService(queryType) function later. | QueryServiceFactory | ||
设置循环操作动态属性的可用性。 | Object | ||
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | ||
返回指定对象的字符串表示形式。 | Object | ||
返回指定对象的原始值。 | Object |
公共常量
常量 | 由以下参数定义 | ||
---|---|---|---|
CMS_QUERY_TYPE : String = "CMSQuery" [静态]
Specifies a constant for the content management system search. | QueryServiceFactory |
方法详细信息
getInstance | () | 方法 |
public static function getInstance():QueryServiceFactory
语言版本: | ActionScript 3.0 |
产品版本: | Asset Manager Building Block 9.5 |
运行时版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Returns the singleton instance of this class.
返回QueryServiceFactory — The instance of QueryServiceFactory.
|
getQueryService | () | 方法 |
public function getQueryService(queryType:String):IQueryService
自以下版本起不推荐使用: 1.0: 请使用 Replaced by QueryServiceFactory.getInstance()
语言版本: | ActionScript 3.0 |
产品版本: | Asset Manager Building Block 9.5 |
运行时版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Retrieves the IQueryService instance based on the queryType input. If queryType is null or an empty string, the CMSQueryService instance is returned by default. queryType constants are declared on QueryServiceFactory itself. For example, CMS_QUERY_TYPE.
参数
queryType:String — The type of query for which an implementation of IQueryService is returned.
|
IQueryService — An interface that provides search capability using backend Data Services destinations.
|
registerQueryService | () | 方法 |
public function registerQueryService(queryType:String, queryServiceImplFactory:IFactory):void
语言版本: | ActionScript 3.0 |
产品版本: | Asset Manager Building Block 9.5 |
运行时版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Registers an implementation of IQueryService for the specified queryType, which can be retrieved by the getQueryService(queryType) function later.
参数
queryType:String — The type of query for which an implementation of IQueryService is registered.
| |
queryServiceImplFactory:IFactory — The implementation of IQueryService to register.
|
常量详细信息
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 a constant for the content management system search.
Tue Jun 12 2018, 11:04 AM Z