org.exoplatform.services.wcm.utils
Class AbstractQueryBuilder.QueryTermHelper

java.lang.Object
  extended by org.exoplatform.services.wcm.utils.AbstractQueryBuilder.QueryTermHelper
Enclosing class:
AbstractQueryBuilder

public static class AbstractQueryBuilder.QueryTermHelper
extends java.lang.Object

The Class QueryTermHelper.


Constructor Summary
AbstractQueryBuilder.QueryTermHelper()
          Instantiates a new query term helper.
 
Method Summary
 AbstractQueryBuilder.QueryTermHelper allowFuzzySearch()
          Allow fuzzy search.
 AbstractQueryBuilder.QueryTermHelper allowSynonymSearch()
          Allow synonym search.
 java.lang.String buildTerm()
          Builds the term.
 AbstractQueryBuilder.QueryTermHelper contains(java.lang.String s)
          Contains a word or phase
 AbstractQueryBuilder.QueryTermHelper notContains(java.lang.String s)
          Not contains a word or phase
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractQueryBuilder.QueryTermHelper

public AbstractQueryBuilder.QueryTermHelper()
Instantiates a new query term helper.

Method Detail

contains

public AbstractQueryBuilder.QueryTermHelper contains(java.lang.String s)
Contains a word or phase

Parameters:
s - the s
Returns:
the query term helper

notContains

public AbstractQueryBuilder.QueryTermHelper notContains(java.lang.String s)
Not contains a word or phase

Parameters:
s - the s
Returns:
the query term helper

buildTerm

public java.lang.String buildTerm()
Builds the term.

Returns:
the string

allowFuzzySearch

public AbstractQueryBuilder.QueryTermHelper allowFuzzySearch()
Allow fuzzy search.

Returns:
the query term helper

allowSynonymSearch

public AbstractQueryBuilder.QueryTermHelper allowSynonymSearch()
Allow synonym search.

Returns:
the query term helper


Copyright © 2010 eXo Platform SAS. All Rights Reserved.