Class SearchOptions

java.lang.Object
nl.knaw.dans.lib.dataverse.SearchOptions

public class SearchOptions extends Object
Options for searching, such as further narrowing down the result, what to include in the result items and which part of the result to return, and in what order.
See Also:
  • Constructor Details

    • SearchOptions

      public SearchOptions()
  • Method Details

    • copy

      public SearchOptions copy()
    • getTypes

      public List<SearchItemType> getTypes()
    • getFilterQueries

      public List<String> getFilterQueries()
    • getSubTrees

      public List<String> getSubTrees()
    • getSortField

      public String getSortField()
    • getOrder

      public SearchOptions.Order getOrder()
    • getPerPage

      public int getPerPage()
    • getStart

      public int getStart()
    • isShowRelevance

      public boolean isShowRelevance()
    • isShowFacets

      public boolean isShowFacets()
    • isShowEntityIds

      public boolean isShowEntityIds()
    • setTypes

      public void setTypes(List<SearchItemType> types)
    • setFilterQueries

      public void setFilterQueries(List<String> filterQueries)
    • setSubTrees

      public void setSubTrees(List<String> subTrees)
    • setSortField

      public void setSortField(String sortField)
    • setOrder

      public void setOrder(SearchOptions.Order order)
    • setPerPage

      public void setPerPage(int perPage)
    • setStart

      public void setStart(int start)
    • setShowRelevance

      public void setShowRelevance(boolean showRelevance)
    • setShowFacets

      public void setShowFacets(boolean showFacets)
    • setShowEntityIds

      public void setShowEntityIds(boolean showEntityIds)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object