Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.search
Class QueryTranslatorUtil

java.lang.Object
  extended by com.liferay.portal.kernel.search.QueryTranslatorUtil

public class QueryTranslatorUtil
extends Object


Constructor Summary
QueryTranslatorUtil()
           
 
Method Summary
static QueryTranslator getQueryTranslator()
           
 void setQueryTranslator(QueryTranslator queryTranslator)
           
static Object translate(Query query)
           
static Object translateForSolr(Query query)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryTranslatorUtil

public QueryTranslatorUtil()
Method Detail

getQueryTranslator

public static QueryTranslator getQueryTranslator()

translate

public static Object translate(Query query)
                        throws ParseException
Throws:
ParseException

translateForSolr

public static Object translateForSolr(Query query)
                               throws ParseException
Throws:
ParseException

setQueryTranslator

public void setQueryTranslator(QueryTranslator queryTranslator)

Liferay 6.1.2-ce-ga3