ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.livecycle.assetmanager.client.service.search 

QueryServiceFactory  - AS3 Asset Manager

Packagecom.adobe.livecycle.assetmanager.client.service.search
Classpublic final class QueryServiceFactory
InheritanceQueryServiceFactory Inheritance Object
Deprecated: Deprecated

Language Version: ActionScript 3.0
Product Version: Asset Manager Building Block 9.5
Runtime Versions: AIR 1.0, Flash Player 9, Flash Player 10

A factory class that retrieves an IQueryService instance based on the type of assembler that is used by backend Data Services destinations.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
Public Methods
 MethodDefined By
  
[static] Returns the singleton instance of this class.
QueryServiceFactory
  
Deprecated since 1.0: Please Use Replaced by QueryServiceFactory.getInstance()
Retrieves the IQueryService instance based on the queryType input.
QueryServiceFactory
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
  
registerQueryService(queryType:String, queryServiceImplFactory:IFactory):void
Registers an implementation of IQueryService for the specified queryType, which can be retrieved by the getQueryService(queryType) function later.
QueryServiceFactory
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Public Constants
 ConstantDefined By
  CMS_QUERY_TYPE : String = "CMSQuery"
[static] Specifies a constant for the content management system search.
QueryServiceFactory
Method Detail

getInstance

()method
public static function getInstance():QueryServiceFactory

Language Version: ActionScript 3.0
Product Version: Asset Manager Building Block 9.5
Runtime Versions: AIR 1.0, Flash Player 9, Flash Player 10

Returns the singleton instance of this class.

Returns
QueryServiceFactory — The instance of QueryServiceFactory.

getQueryService

()method 
public function getQueryService(queryType:String):IQueryService
Deprecated since 1.0: Please Use Replaced by QueryServiceFactory.getInstance()

Language Version: ActionScript 3.0
Product Version: Asset Manager Building Block 9.5
Runtime Versions: 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.

Parameters

queryType:String — The type of query for which an implementation of IQueryService is returned.

Returns
IQueryService — An interface that provides search capability using backend Data Services destinations.

registerQueryService

()method 
public function registerQueryService(queryType:String, queryServiceImplFactory:IFactory):void

Language Version: ActionScript 3.0
Product Version: Asset Manager Building Block 9.5
Runtime Versions: 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.

Parameters

queryType:String — The type of query for which an implementation of IQueryService is registered.
 
queryServiceImplFactory:IFactory — The implementation of IQueryService to register.
Constant Detail

CMS_QUERY_TYPE

Constant
public static const CMS_QUERY_TYPE:String = "CMSQuery"

Language Version: ActionScript 3.0
Product Version: Asset Manager Building Block 9.5
Runtime Versions: AIR 1.0, Flash Player 9, Flash Player 10

Specifies a constant for the content management system search.