Class SearchParameters

java.lang.Object
org.fcrepo.search.api.SearchParameters

public class SearchParameters extends Object
A pojo encapsulating the parameters of a search
Author:
dbernstein
  • Constructor Details

    • SearchParameters

      public SearchParameters(List<Condition.Field> fields, List<Condition> conditions, int maxResults, int offset, Condition.Field orderBy, String order, boolean includeTotalResultCount)
      Constructoor
      Parameters:
      fields - The fields to be returned in the results
      conditions - The conditions
      maxResults - The max results
      offset - The offset
      orderBy - The field by which to order the results
      order - The order: ie "asc" or "desc"
      includeTotalResultCount - A flag indicating whether or not to return the total result count.
  • Method Details