Package nl.knaw.dans.lib.dataverse
Class SearchOptions
java.lang.Object
nl.knaw.dans.lib.dataverse.SearchOptions
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:
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
copy()
boolean
getOrder()
int
int
getStart()
getTypes()
int
hashCode()
boolean
boolean
boolean
void
setFilterQueries
(List<String> filterQueries) void
setOrder
(SearchOptions.Order order) void
setPerPage
(int perPage) void
setShowEntityIds
(boolean showEntityIds) void
setShowFacets
(boolean showFacets) void
setShowRelevance
(boolean showRelevance) void
setSortField
(String sortField) void
setStart
(int start) void
setSubTrees
(List<String> subTrees) void
setTypes
(List<SearchItemType> types) toString()
-
Constructor Details
-
SearchOptions
public SearchOptions()
-
-
Method Details
-
copy
-
getTypes
-
getFilterQueries
-
getSubTrees
-
getSortField
-
getOrder
-
getPerPage
public int getPerPage() -
getStart
public int getStart() -
isShowRelevance
public boolean isShowRelevance() -
isShowFacets
public boolean isShowFacets() -
isShowEntityIds
public boolean isShowEntityIds() -
setTypes
-
setFilterQueries
-
setSubTrees
-
setSortField
-
setOrder
-
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
-
canEqual
-
hashCode
public int hashCode() -
toString
-