Class RecordsRequestParameters

java.lang.Object
io.goobi.viewer.api.rest.model.RecordsRequestParameters

public class RecordsRequestParameters extends Object
POST request parameters for RecordsResource.
  • Constructor Details

    • RecordsRequestParameters

      public RecordsRequestParameters()
  • Method Details

    • getQuery

      public String getQuery()
      Returns:
      the query
    • setQuery

      public void setQuery(String query)
      Parameters:
      query - the query to set
    • getResultFields

      public List<String> getResultFields()
      Returns:
      the resultFields
    • setResultFields

      public void setResultFields(List<String> resultFields)
      Parameters:
      resultFields - the resultFields to set
    • getSortFields

      public List<String> getSortFields()
      Returns:
      the sortFields
    • setSortFields

      public void setSortFields(List<String> sortFields)
      Parameters:
      sortFields - the sortFields to set
    • getSortOrder

      public String getSortOrder()
      Returns:
      the sortOrder
    • setSortOrder

      public void setSortOrder(String sortOrder)
      Parameters:
      sortOrder - the sortOrder to set
    • getJsonFormat

      public String getJsonFormat()
      Returns:
      the jsonFormat
    • setJsonFormat

      public void setJsonFormat(String jsonFormat)
      Parameters:
      jsonFormat - the jsonFormat to set
    • getCount

      public int getCount()
      Returns:
      the count
    • setCount

      public void setCount(int count)
      Parameters:
      count - the count to set
    • getOffset

      public int getOffset()
      Returns:
      the offset
    • setOffset

      public void setOffset(int offset)
      Parameters:
      offset - the offset to set
    • isRandomize

      public boolean isRandomize()
      Returns:
      the randomize
    • setRandomize

      public void setRandomize(boolean randomize)
      Parameters:
      randomize - the randomize to set
    • getLanguage

      public String getLanguage()
      Returns:
      the language
    • setLanguage

      public void setLanguage(String language)
      Parameters:
      language - the language to set
    • isIncludeChildHits

      public boolean isIncludeChildHits()
      Returns:
      the includeChildHits
    • setIncludeChildHits

      public void setIncludeChildHits(boolean includeChildHits)
      Parameters:
      includeChildHits - the includeChildHits to set
    • isBoostTopLevelDocstructs

      public boolean isBoostTopLevelDocstructs()
      Returns:
      the boostTopLevelDocstructs
    • setBoostTopLevelDocstructs

      public void setBoostTopLevelDocstructs(boolean boostTopLevelDocstructs)
      Parameters:
      boostTopLevelDocstructs - the boostTopLevelDocstructs to set
    • getFacetFields

      public List<String> getFacetFields()
      Returns:
      the facetFields
    • setFacetFields

      public void setFacetFields(List<String> facetFields)
      Parameters:
      facetFields - the facetFields to set