net.sourceforge.openutils.mgnlcriteria.advanced.impl
Class QueryExecutorHelper

java.lang.Object
  extended by net.sourceforge.openutils.mgnlcriteria.advanced.impl.QueryExecutorHelper

public final class QueryExecutorHelper
extends Object

Warning, provisional class, users should not use this directly.

Version:
$Id: QueryExecutorHelper.java 2923 2010-08-29 08:58:29Z fgiust $
Author:
fgiust

Method Summary
static AdvancedResultImpl execute(String stmt, String language, info.magnolia.cms.core.HierarchyManager hm, int maxResults, int offset, String spellCheckString)
          Executes a jcr query.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

execute

public static AdvancedResultImpl execute(String stmt,
                                         String language,
                                         info.magnolia.cms.core.HierarchyManager hm,
                                         int maxResults,
                                         int offset,
                                         String spellCheckString)
Executes a jcr query.

Parameters:
stmt - the statement of the jcr query
language - the language of the jcr query
hm - the HirarchyManager for obtaining the QueryManager
maxResults - maximun number of results to retrieve
offset - the index of the first result to retrieve (0, 1, 2, ...)
spellCheckString - the input string used for spell checking
Returns:
the execution result


Copyright © 2009-2010 Openmind. All Rights Reserved.