ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.ep.ux.content.services.search.lccontent 

LCCQueryServiceFactory  - AS3 ADEP Content

Packagecom.adobe.ep.ux.content.services.search.lccontent
Classpublic final class LCCQueryServiceFactory
InheritanceLCCQueryServiceFactory Inheritance Object

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Content 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Factory class to get IQueryService instance based on the type of Assembler used by the Data Services destinations.



Public Properties
 PropertyDefined By
  appContext : String
The Aplication Context to be used for this application instance.
LCCQueryServiceFactory
 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.
LCCQueryServiceFactory
  
Retrieves the IQueryService instance based on the queryType input.
LCCQueryServiceFactory
 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 a IQueryService implementation object for the provided queryType parameter.
LCCQueryServiceFactory
  
Sets the Application Context for this application instance.
LCCQueryServiceFactory
 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
  APP_CONTEXT_PREFIX : String = "app_root:"
[static] A special value that defines the Application Context prefix to add before the actual value of the Application Context.
LCCQueryServiceFactory
  APPCONTEXT_REMOTING_SERVICE : String = "com.adobe.livecycle.content.appcontext.service"
[static] A special value that defines the Application Context Remoting Service exposed by Adobe Digital Enterprise Platform Experience Services - Content Repository to register the Application Context.
LCCQueryServiceFactory
  LC_QUERY_TYPE : String = "LCQuery"
[static] A special value that defines type of query will be the normal query formed using SearchQuery interface.
LCCQueryServiceFactory
  SQL_QUERY_TYPE : String = "SQLQuery"
[static] A special value that defines the type of query will be SQL2.
LCCQueryServiceFactory
Property Detail

appContext

property
appContext:String

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Content 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

The Aplication Context to be used for this application instance.



Implementation
    public function get appContext():String
    public function set appContext(value:String):void
Method Detail

getInstance

()method
public static function getInstance():LCCQueryServiceFactory

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Content 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Returns the singleton instance of this class.

Returns
LCCQueryServiceFactory — The instance of the query service factory to get query service implementations based on query type.

getQueryService

()method 
public function getQueryService(queryType:String):IQueryService

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Content 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Retrieves the IQueryService instance based on the queryType input. If queryType is null or empty string then the LCCQueryService instance is returned as default. queryType constants are declared on QueryServiceFactory itself. For exampple, LC_QUERY_TYPE.

Parameters

queryType:String — Specifies the type of query service to be returned.

Returns
IQueryService — An instance of IQueryService which can be used to perform the search.

registerQueryService

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

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Content 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Registers a IQueryService implementation object for the provided queryType parameter. The queryType parameter could letter be retrieved by getQueryService(queryType) function.

Parameters

queryType:String — Specifies the type of query service to be registered.
 
queryServiceImplFactory:IFactory — Specifies the search factory to be registered against queryType parameter.

setAppContextService

()method 
public function setAppContextService(appContextVal:String):mx.rpc:AsyncToken

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Content 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Sets the Application Context for this application instance.

Parameters

appContextVal:String — Specifies the App context value to be set.

Returns
mx.rpc:AsyncToken — The AsyncToken to which can be used to determine the success.
Constant Detail

APP_CONTEXT_PREFIX

Constant
public static const APP_CONTEXT_PREFIX:String = "app_root:"

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Content 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

A special value that defines the Application Context prefix to add before the actual value of the Application Context.

APPCONTEXT_REMOTING_SERVICE

Constant 
public static const APPCONTEXT_REMOTING_SERVICE:String = "com.adobe.livecycle.content.appcontext.service"

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Content 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

A special value that defines the Application Context Remoting Service exposed by Adobe Digital Enterprise Platform Experience Services - Content Repository to register the Application Context.

LC_QUERY_TYPE

Constant 
public static const LC_QUERY_TYPE:String = "LCQuery"

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Content 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

A special value that defines type of query will be the normal query formed using SearchQuery interface.

SQL_QUERY_TYPE

Constant 
public static const SQL_QUERY_TYPE:String = "SQLQuery"

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Content 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

A special value that defines the type of query will be SQL2.