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

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

public class SimpleSearchUtil
extends java.lang.Object

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

Constructor Summary
SimpleSearchUtil()
           
 
Method Summary
static SearchQueryExpression chainExpressions(java.util.Collection expressions, java.lang.String operator)
           
static SearchQueryExpression getSimpleSearchExpression(java.lang.String searchStr, SearchConfig config)
          Return the expression build by a simple search
static SearchQuery getSimpleSearchQuery(java.lang.String searchStr)
          Creates a query using the special search field name '*'
static SearchQuery getSimpleSearchQuery(java.lang.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(java.lang.String searchStr,
                                               SearchConfig config)
Creates an orified query based on the passed config

Parameters:
searchStr -
config -
Returns:

getSimpleSearchQuery

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

Parameters:
searchStr -
Returns:

getSimpleSearchExpression

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


chainExpressions

public static SearchQueryExpression chainExpressions(java.util.Collection expressions,
                                                     java.lang.String operator)


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