Liferay 6.2-ce-ga5

com.liferay.portal.kernel.search
Class BaseBooleanQueryImpl

java.lang.Object
  extended by com.liferay.portal.kernel.search.BaseQueryImpl
      extended by com.liferay.portal.kernel.search.BaseBooleanQueryImpl
All Implemented Interfaces:
BooleanQuery, Query, Serializable

public abstract class BaseBooleanQueryImpl
extends BaseQueryImpl
implements BooleanQuery

See Also:
Serialized Form

Constructor Summary
BaseBooleanQueryImpl()
           
 
Method Summary
protected  void addTerms(String[] fields, Map<String,List<String>> termFieldsValuesMap)
           
 void addTerms(String[] fields, String values)
           
 void addTerms(String[] fields, String value, boolean like)
           
protected  String getTermFieldRemainderValues(String field, String values, List<String> valuesList, String pattern, String replacement)
           
protected  Map<String,List<String>> getTermFieldsValuesMap(String[] fields, String values)
           
protected  String[] parseKeywords(String values)
           
 
Methods inherited from class com.liferay.portal.kernel.search.BaseQueryImpl
getQueryConfig, getWrappedQuery, setQueryConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.kernel.search.BooleanQuery
add, add, addExactTerm, addExactTerm, addExactTerm, addExactTerm, addExactTerm, addExactTerm, addExactTerm, addExactTerm, addExactTerm, addExactTerm, addExactTerm, addNumericRangeTerm, addNumericRangeTerm, addNumericRangeTerm, addNumericRangeTerm, addNumericRangeTerm, addNumericRangeTerm, addRangeTerm, addRangeTerm, addRangeTerm, addRangeTerm, addRangeTerm, addRangeTerm, addRangeTerm, addRequiredTerm, addRequiredTerm, addRequiredTerm, addRequiredTerm, addRequiredTerm, addRequiredTerm, addRequiredTerm, addRequiredTerm, addRequiredTerm, addRequiredTerm, addRequiredTerm, addRequiredTerm, addTerm, addTerm, addTerm, addTerm, clauses, hasClauses
 
Methods inherited from interface com.liferay.portal.kernel.search.Query
getQueryConfig, getWrappedQuery, setQueryConfig
 

Constructor Detail

BaseBooleanQueryImpl

public BaseBooleanQueryImpl()
Method Detail

addTerms

public void addTerms(String[] fields,
                     String values)
              throws ParseException
Specified by:
addTerms in interface BooleanQuery
Throws:
ParseException

addTerms

public void addTerms(String[] fields,
                     String value,
                     boolean like)
              throws ParseException
Specified by:
addTerms in interface BooleanQuery
Throws:
ParseException

addTerms

protected void addTerms(String[] fields,
                        Map<String,List<String>> termFieldsValuesMap)
                 throws ParseException
Throws:
ParseException

getTermFieldRemainderValues

protected String getTermFieldRemainderValues(String field,
                                             String values,
                                             List<String> valuesList,
                                             String pattern,
                                             String replacement)

getTermFieldsValuesMap

protected Map<String,List<String>> getTermFieldsValuesMap(String[] fields,
                                                          String values)

parseKeywords

protected String[] parseKeywords(String values)

Liferay 6.2-ce-ga5