org.sakaiproject.entitybroker.entityprovider.extension
Class QuerySearch

java.lang.Object
  extended by org.sakaiproject.entitybroker.entityprovider.search.Search
      extended by org.sakaiproject.entitybroker.entityprovider.extension.QuerySearch

public class QuerySearch
extends Search

An extension of the standard search object which allows for custom constructors to make it easier to build up the search for the search query

Author:
Aaron Zeckoski (azeckoski @ gmail.com)

Field Summary
static String contextsField
           
static String queryField
           
 
Fields inherited from class org.sakaiproject.entitybroker.entityprovider.search.Search
conjunction
 
Constructor Summary
QuerySearch(String query)
           
QuerySearch(String query, String[] contexts)
           
 
Method Summary
 
Methods inherited from class org.sakaiproject.entitybroker.entityprovider.search.Search
addOrder, addRestriction, appendArray, arrayToString, clone, contains, copy, equals, getLimit, getOrders, getQueryString, getRestrictionByProperties, getRestrictionByProperty, getRestrictions, getRestrictionsProperties, getRestrictionValueByProperties, getStart, hashCode, isConjunction, isEmpty, reset, setConjunction, setLimit, setOrders, setQueryString, setRestrictions, setStart, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

queryField

public static String queryField

contextsField

public static String contextsField
Constructor Detail

QuerySearch

public QuerySearch(String query)

QuerySearch

public QuerySearch(String query,
                   String[] contexts)
Parameters:
query - the query string
contexts - the list of site contexts (locationIds) to limit the search to


Copyright © 2007-2013 Sakai Project. All Rights Reserved.