Liferay 6.1.2-ce-ga3

com.liferay.portal.search.generic
Class BooleanQueryImpl

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

public class BooleanQueryImpl
extends BaseBooleanQueryImpl

See Also:
Serialized Form

Constructor Summary
BooleanQueryImpl()
           
 
Method Summary
 void add(Query query, BooleanClauseOccur booleanClauseOccur)
           
 void add(Query query, String occur)
           
 void addExactTerm(String field, boolean value)
           
 void addExactTerm(String field, Boolean value)
           
 void addExactTerm(String field, double value)
           
 void addExactTerm(String field, Double value)
           
 void addExactTerm(String field, int value)
           
 void addExactTerm(String field, Integer value)
           
 void addExactTerm(String field, long value)
           
 void addExactTerm(String field, Long value)
           
 void addExactTerm(String field, short value)
           
 void addExactTerm(String field, Short value)
           
 void addExactTerm(String field, String value)
           
 void addNumericRangeTerm(String field, Integer startValue, Integer endValue)
           
 void addNumericRangeTerm(String field, int startValue, int endValue)
           
 void addNumericRangeTerm(String field, long startValue, long endValue)
           
 void addNumericRangeTerm(String field, Long startValue, Long endValue)
           
 void addNumericRangeTerm(String field, short startValue, short endValue)
           
 void addNumericRangeTerm(String field, Short startValue, Short endValue)
           
 void addRangeTerm(String field, Integer startValue, Integer endValue)
           
 void addRangeTerm(String field, int startValue, int endValue)
           
 void addRangeTerm(String field, long startValue, long endValue)
           
 void addRangeTerm(String field, Long startValue, Long endValue)
           
 void addRangeTerm(String field, short startValue, short endValue)
           
 void addRangeTerm(String field, Short startValue, Short endValue)
           
 void addRangeTerm(String field, String startValue, String endValue)
           
 void addRequiredTerm(String field, boolean value)
           
 void addRequiredTerm(String field, Boolean value)
           
 void addRequiredTerm(String field, double value)
           
 void addRequiredTerm(String field, Double value)
           
 void addRequiredTerm(String field, int value)
           
 void addRequiredTerm(String field, Integer value)
           
 void addRequiredTerm(String field, long value)
           
 void addRequiredTerm(String field, Long value)
           
 void addRequiredTerm(String field, short value)
           
 void addRequiredTerm(String field, Short value)
           
 void addRequiredTerm(String field, String value)
           
 void addRequiredTerm(String field, String value, boolean like)
           
 void addRequiredTerm(String field, String value, boolean like, boolean parseKeywords)
           
 void addTerm(String field, long value)
           
 void addTerm(String field, String value)
           
 void addTerm(String field, String value, boolean like)
           
 void addTerm(String field, String value, boolean like, boolean parseKeywords)
           
 void addTerm(String field, String value, boolean like, BooleanClauseOccur booleanClauseOccur)
           
 List<BooleanClause> clauses()
           
 Object getWrappedQuery()
           
 boolean hasClauses()
           
 
Methods inherited from class com.liferay.portal.kernel.search.BaseBooleanQueryImpl
addTerms, addTerms, addTerms, getTermFieldRemainderValues, getTermFieldsValuesMap, parseKeywords
 
Methods inherited from class com.liferay.portal.kernel.search.BaseQueryImpl
getQueryConfig, 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.Query
getQueryConfig, setQueryConfig
 

Constructor Detail

BooleanQueryImpl

public BooleanQueryImpl()
Method Detail

add

public void add(Query query,
                BooleanClauseOccur booleanClauseOccur)

add

public void add(Query query,
                String occur)

addExactTerm

public void addExactTerm(String field,
                         boolean value)

addExactTerm

public void addExactTerm(String field,
                         Boolean value)

addExactTerm

public void addExactTerm(String field,
                         double value)

addExactTerm

public void addExactTerm(String field,
                         Double value)

addExactTerm

public void addExactTerm(String field,
                         int value)

addExactTerm

public void addExactTerm(String field,
                         Integer value)

addExactTerm

public void addExactTerm(String field,
                         long value)

addExactTerm

public void addExactTerm(String field,
                         Long value)

addExactTerm

public void addExactTerm(String field,
                         short value)

addExactTerm

public void addExactTerm(String field,
                         Short value)

addExactTerm

public void addExactTerm(String field,
                         String value)

addNumericRangeTerm

public void addNumericRangeTerm(String field,
                                int startValue,
                                int endValue)

addNumericRangeTerm

public void addNumericRangeTerm(String field,
                                Integer startValue,
                                Integer endValue)

addNumericRangeTerm

public void addNumericRangeTerm(String field,
                                long startValue,
                                long endValue)

addNumericRangeTerm

public void addNumericRangeTerm(String field,
                                Long startValue,
                                Long endValue)

addNumericRangeTerm

public void addNumericRangeTerm(String field,
                                short startValue,
                                short endValue)

addNumericRangeTerm

public void addNumericRangeTerm(String field,
                                Short startValue,
                                Short endValue)

addRangeTerm

public void addRangeTerm(String field,
                         int startValue,
                         int endValue)

addRangeTerm

public void addRangeTerm(String field,
                         Integer startValue,
                         Integer endValue)

addRangeTerm

public void addRangeTerm(String field,
                         long startValue,
                         long endValue)

addRangeTerm

public void addRangeTerm(String field,
                         Long startValue,
                         Long endValue)

addRangeTerm

public void addRangeTerm(String field,
                         short startValue,
                         short endValue)

addRangeTerm

public void addRangeTerm(String field,
                         Short startValue,
                         Short endValue)

addRangeTerm

public void addRangeTerm(String field,
                         String startValue,
                         String endValue)

addRequiredTerm

public void addRequiredTerm(String field,
                            boolean value)

addRequiredTerm

public void addRequiredTerm(String field,
                            Boolean value)

addRequiredTerm

public void addRequiredTerm(String field,
                            double value)

addRequiredTerm

public void addRequiredTerm(String field,
                            Double value)

addRequiredTerm

public void addRequiredTerm(String field,
                            int value)

addRequiredTerm

public void addRequiredTerm(String field,
                            Integer value)

addRequiredTerm

public void addRequiredTerm(String field,
                            long value)

addRequiredTerm

public void addRequiredTerm(String field,
                            Long value)

addRequiredTerm

public void addRequiredTerm(String field,
                            short value)

addRequiredTerm

public void addRequiredTerm(String field,
                            Short value)

addRequiredTerm

public void addRequiredTerm(String field,
                            String value)

addRequiredTerm

public void addRequiredTerm(String field,
                            String value,
                            boolean like)

addRequiredTerm

public void addRequiredTerm(String field,
                            String value,
                            boolean like,
                            boolean parseKeywords)

addTerm

public void addTerm(String field,
                    long value)

addTerm

public void addTerm(String field,
                    String value)

addTerm

public void addTerm(String field,
                    String value,
                    boolean like)

addTerm

public void addTerm(String field,
                    String value,
                    boolean like,
                    boolean parseKeywords)

addTerm

public void addTerm(String field,
                    String value,
                    boolean like,
                    BooleanClauseOccur booleanClauseOccur)

clauses

public List<BooleanClause> clauses()

getWrappedQuery

public Object getWrappedQuery()
Specified by:
getWrappedQuery in interface Query
Specified by:
getWrappedQuery in class BaseQueryImpl

hasClauses

public boolean hasClauses()

Liferay 6.1.2-ce-ga3