org.kuali.ole.serviceimpl
Class OleCQLQueryParserServiceImpl

java.lang.Object
  extended by org.kuali.ole.serviceimpl.OleCQLQueryParserServiceImpl
All Implemented Interfaces:
OleCQLQueryParserService

public class OleCQLQueryParserServiceImpl
extends Object
implements OleCQLQueryParserService

Created with IntelliJ IDEA. User: ? Date: 7/9/12 Time: 6:26 PM To change this template use File | Settings | File Templates.


Constructor Summary
OleCQLQueryParserServiceImpl()
           
 
Method Summary
 CQLResponseBO getCQLResponseObject(String cqlParseXml)
          this method is used to call the oleCQLResponseHandler which converts an xml to an object
 String getSolrQueryFromCQLBO(CQLResponseBO cqlResponseBO)
          this will generate the proper query
 String getSolrQueryFromCQLBO(CQLResponseBO cqlResponseBO, boolean flag)
          this method will generate a proper query as like solr, from the CQLResponseBO object
 String parseCQLQuery(String query)
          this method is use to parse the query to get the response for the query as an xml cql or proper cql query
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OleCQLQueryParserServiceImpl

public OleCQLQueryParserServiceImpl()
Method Detail

parseCQLQuery

public String parseCQLQuery(String query)
this method is use to parse the query to get the response for the query as an xml cql or proper cql query

Specified by:
parseCQLQuery in interface OleCQLQueryParserService
Parameters:
query -
Returns:
xml as a string

getCQLResponseObject

public CQLResponseBO getCQLResponseObject(String cqlParseXml)
this method is used to call the oleCQLResponseHandler which converts an xml to an object

Specified by:
getCQLResponseObject in interface OleCQLQueryParserService
Parameters:
cqlParseXml -
Returns:
cQLResponseBO object

getSolrQueryFromCQLBO

public String getSolrQueryFromCQLBO(CQLResponseBO cqlResponseBO)
this will generate the proper query

Specified by:
getSolrQueryFromCQLBO in interface OleCQLQueryParserService
Parameters:
cqlResponseBO -
Returns:
query as a string

getSolrQueryFromCQLBO

public String getSolrQueryFromCQLBO(CQLResponseBO cqlResponseBO,
                                    boolean flag)
                             throws Exception
this method will generate a proper query as like solr, from the CQLResponseBO object

Parameters:
cqlResponseBO - object
flag -
Returns:
proper query as a string
Throws:
Exception


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.