info.magnolia.cms.gui.controlx.search
Class SimpleSearchUtil

java.lang.Object
  extended by info.magnolia.cms.gui.controlx.search.SimpleSearchUtil

public class SimpleSearchUtil
extends Object

Version:
$Revision$ ($Author$)
Author:
Philipp Bracher

Constructor Summary
SimpleSearchUtil()
           
 
Method Summary
static SearchQueryExpression chainExpressions(Collection expressions, String operator)
           
static SearchQueryExpression getSimpleSearchExpression(String searchStr, SearchConfig config)
          Return the expression build by a simple search
static SearchQuery getSimpleSearchQuery(String searchStr)
          Creates a query using the special search field name '*'
static SearchQuery getSimpleSearchQuery(String searchStr, SearchConfig config)
          Creates an orified query based on the passed config
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleSearchUtil

public SimpleSearchUtil()
Method Detail

getSimpleSearchQuery

public static SearchQuery getSimpleSearchQuery(String searchStr,
                                               SearchConfig config)
Creates an orified query based on the passed config

Parameters:
searchStr -
config -
Returns:

getSimpleSearchQuery

public static SearchQuery getSimpleSearchQuery(String searchStr)
Creates a query using the special search field name '*'

Parameters:
searchStr -
Returns:

getSimpleSearchExpression

public static SearchQueryExpression getSimpleSearchExpression(String searchStr,
                                                              SearchConfig config)
Return the expression build by a simple search


chainExpressions

public static SearchQueryExpression chainExpressions(Collection expressions,
                                                     String operator)


Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.