Package org.dspace.app.rest.model
Class SearchFacetEntryRest
java.lang.Object
org.dspace.app.rest.model.RestAddressableModel
org.dspace.app.rest.model.SearchFacetEntryRest
- All Implemented Interfaces:
Serializable,RestModel
This class' purpose is to create a container for the information used in the SearchFacetEntryResource
- See Also:
-
Field Summary
FieldsFields inherited from interface org.dspace.app.rest.model.RestModel
AUTHENTICATION, AUTHORIZATION, CONFIGURATION, CONTENT_REPORT, CORE, DISCOVER, DUPLICATES, EPERSON, INTEGRATION, LDN, PID, ROOT, STATISTICS, SUBMISSION, SYSTEM, TOOLS, VERSIONING, WORKFLOW -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddValue(SearchFacetValueRest valueRest) booleanSee documentation atDiscoverySearchFilterFacet.exposeMinAndMaxValue()intReturns the highest value that can be found for this value in solrReturns the smallest value that can be found for this value in solrgetName()getType()The plural name is the same as the singular nameSee documentation atDiscoverySearchFilter.isOpenByDefault()voidsetExposeMinMax(boolean exposeMinMax) See documentation atDiscoverySearchFilterFacet.setExposeMinAndMaxValue(boolean)voidsetFacetLimit(int facetLimit) voidsetFacetType(String facetType) voidsetHasMore(Boolean hasMore) voidsetMaxValue(String maxValue) Sets the maxValue property for the SearchFacetEntryRest to the given parametervoidsetMinValue(String minValue) Sets the minValue property for the SearchFacetEntryRest to the given parametervoidvoidsetOpenByDefault(boolean isOpenByDefault) Methods inherited from class org.dspace.app.rest.model.RestAddressableModel
getEmbedLevel, getProjection, getUniqueType, setEmbedLevel, setProjection
-
Field Details
-
NAME
- See Also:
-
PLURAL_NAME
- See Also:
-
CATEGORY
- See Also:
-
-
Constructor Details
-
SearchFacetEntryRest
-
-
Method Details
-
getCategory
- Specified by:
getCategoryin classRestAddressableModel
-
getType
-
getTypePlural
The plural name is the same as the singular name -
getController
- Specified by:
getControllerin classRestAddressableModel
-
getName
-
setName
-
addValue
-
getValues
-
getFacetType
-
setFacetType
-
setHasMore
-
isHasMore
-
getFacetLimit
public int getFacetLimit() -
setFacetLimit
public void setFacetLimit(int facetLimit) -
setOpenByDefault
public void setOpenByDefault(boolean isOpenByDefault) -
isOpenByDefault
See documentation atDiscoverySearchFilter.isOpenByDefault() -
exposeMinAndMaxValue
public boolean exposeMinAndMaxValue()See documentation atDiscoverySearchFilterFacet.exposeMinAndMaxValue() -
setExposeMinMax
public void setExposeMinMax(boolean exposeMinMax) See documentation atDiscoverySearchFilterFacet.setExposeMinAndMaxValue(boolean) -
getMinValue
Returns the smallest value that can be found for this value in solr- Returns:
- The smallest value for this facet as a String
-
setMinValue
Sets the minValue property for the SearchFacetEntryRest to the given parameter- Parameters:
minValue- The String that the minValue will be set to
-
getMaxValue
Returns the highest value that can be found for this value in solr- Returns:
- The highest value for this facet as a String
-
setMaxValue
Sets the maxValue property for the SearchFacetEntryRest to the given parameter- Parameters:
maxValue- The String that the maxValue will be set to
-