Package org.dspace.app.rest.model
Class DiscoveryResultsRest
- java.lang.Object
-
- org.dspace.app.rest.model.RestAddressableModel
-
- org.dspace.app.rest.model.BaseObjectRest<String>
-
- org.dspace.app.rest.model.DiscoveryResultsRest
-
- All Implemented Interfaces:
Serializable,RestModel
- Direct Known Subclasses:
FacetResultsRest,SearchResultsRest
public abstract class DiscoveryResultsRest extends BaseObjectRest<String>
This class provides a container for the information to be used in the DiscoveryResultsResource- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCATEGORYstatic StringNAME-
Fields inherited from class org.dspace.app.rest.model.BaseObjectRest
id
-
Fields inherited from interface org.dspace.app.rest.model.RestModel
AUTHENTICATION, AUTHORIZATION, CONFIGURATION, CORE, DISCOVER, EPERSON, INTEGRATION, ROOT, STATISTICS, SUBMISSION, SYSTEM, TOOLS, VERSIONING, WORKFLOW
-
-
Constructor Summary
Constructors Constructor Description DiscoveryResultsRest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAppliedFilter(SearchResultsRest.AppliedFilter filter)List<SearchResultsRest.AppliedFilter>getAppliedFilters()StringgetCategory()StringgetConfiguration()ClassgetController()List<String>getDsoTypes()StringgetQuery()StringgetScope()List<SearchFilter>getSearchFilters()SearchResultsRest.SortinggetSort()StringgetType()voidsetAppliedFilters(List<SearchResultsRest.AppliedFilter> appliedFilters)voidsetConfiguration(String configuration)voidsetDsoTypes(List<String> dsoTypes)voidsetQuery(String query)voidsetScope(String scope)voidsetSearchFilters(List<SearchFilter> searchFilters)voidsetSort(String property, String direction)voidsetSort(SearchResultsRest.Sorting sort)-
Methods inherited from class org.dspace.app.rest.model.BaseObjectRest
getErrors, getId, setErrors, setId
-
Methods inherited from class org.dspace.app.rest.model.RestAddressableModel
getEmbedLevel, getProjection, getUniqueType, setEmbedLevel, setProjection
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.dspace.app.rest.model.RestModel
getTypePlural
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
CATEGORY
public static final String CATEGORY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCategory
public String getCategory()
- Specified by:
getCategoryin classRestAddressableModel
-
getType
public String getType()
-
getController
public Class getController()
- Specified by:
getControllerin classRestAddressableModel
-
getQuery
public String getQuery()
-
setQuery
public void setQuery(String query)
-
getScope
public String getScope()
-
setScope
public void setScope(String scope)
-
getAppliedFilters
public List<SearchResultsRest.AppliedFilter> getAppliedFilters()
-
setAppliedFilters
public void setAppliedFilters(List<SearchResultsRest.AppliedFilter> appliedFilters)
-
addAppliedFilter
public void addAppliedFilter(SearchResultsRest.AppliedFilter filter)
-
getSort
public SearchResultsRest.Sorting getSort()
-
setSort
public void setSort(SearchResultsRest.Sorting sort)
-
getConfiguration
public String getConfiguration()
-
setConfiguration
public void setConfiguration(String configuration)
-
setSearchFilters
public void setSearchFilters(List<SearchFilter> searchFilters)
-
getSearchFilters
public List<SearchFilter> getSearchFilters()
-
-