Package org.dspace.app.rest.model
Class SearchResultsRest
java.lang.Object
org.dspace.app.rest.model.RestAddressableModel
org.dspace.app.rest.model.BaseObjectRest<String>
org.dspace.app.rest.model.DiscoveryResultsRest
org.dspace.app.rest.model.SearchResultsRest
- All Implemented Interfaces:
Serializable,RestModel
This class' purpose is to create a container for the information used in the SearchResultsResource
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
Fields inherited from class org.dspace.app.rest.model.DiscoveryResultsRest
CATEGORY, NAME, PLURAL_NAMEFields inherited from class org.dspace.app.rest.model.BaseObjectRest
idFields 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 TypeMethodDescriptionvoidaddFacetEntry(SearchFacetEntryRest facetEntry) voidaddSearchResult(SearchResultEntryRest searchResultEntry) longvoidsetSearchResults(List<SearchResultEntryRest> searchResults) voidsetTotalNumberOfResults(long totalNumberOfResults) Methods inherited from class org.dspace.app.rest.model.DiscoveryResultsRest
addAppliedFilter, getAppliedFilters, getCategory, getConfiguration, getController, getDsoTypes, getQuery, getScope, getSearchFilters, getSort, getType, getTypePlural, setAppliedFilters, setConfiguration, setDsoTypes, setQuery, setScope, setSearchFilters, setSort, setSortMethods inherited from class org.dspace.app.rest.model.BaseObjectRest
getErrors, getId, setErrors, setIdMethods inherited from class org.dspace.app.rest.model.RestAddressableModel
getEmbedLevel, getProjection, getUniqueType, setEmbedLevel, setProjection
-
Constructor Details
-
SearchResultsRest
public SearchResultsRest()
-
-
Method Details
-
getSearchResults
-
setSearchResults
-
addSearchResult
-
getTotalNumberOfResults
public long getTotalNumberOfResults() -
setTotalNumberOfResults
public void setTotalNumberOfResults(long totalNumberOfResults) -
addFacetEntry
-
getFacets
-