Package io.goobi.viewer.api.rest.model
Class RecordsRequestParameters
java.lang.Object
io.goobi.viewer.api.rest.model.RecordsRequestParameters
POST request parameters for RecordsResource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getCount()
int
getQuery()
boolean
boolean
boolean
void
setBoostTopLevelDocstructs
(boolean boostTopLevelDocstructs) void
setCount
(int count) void
setFacetFields
(List<String> facetFields) void
setIncludeChildHits
(boolean includeChildHits) void
setJsonFormat
(String jsonFormat) void
setLanguage
(String language) void
setOffset
(int offset) void
void
setRandomize
(boolean randomize) void
setResultFields
(List<String> resultFields) void
setSortFields
(List<String> sortFields) void
setSortOrder
(String sortOrder)
-
Constructor Details
-
RecordsRequestParameters
public RecordsRequestParameters()
-
-
Method Details
-
getQuery
- Returns:
- the query
-
setQuery
- Parameters:
query
- the query to set
-
getResultFields
- Returns:
- the resultFields
-
setResultFields
- Parameters:
resultFields
- the resultFields to set
-
getSortFields
- Returns:
- the sortFields
-
setSortFields
- Parameters:
sortFields
- the sortFields to set
-
getSortOrder
- Returns:
- the sortOrder
-
setSortOrder
- Parameters:
sortOrder
- the sortOrder to set
-
getJsonFormat
- Returns:
- the jsonFormat
-
setJsonFormat
- 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
- Returns:
- the language
-
setLanguage
- 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
- Returns:
- the facetFields
-
setFacetFields
- Parameters:
facetFields
- the facetFields to set
-