Package org.dspace.app.rest.model
Class SearchConfigurationRest
- All Implemented Interfaces:
Serializable,RestModel
This class' purpose is to store the information that'll be shown on the /search endpoint.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsFields inherited from class org.dspace.app.rest.model.BaseObjectRest
idFields 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 -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddSortOption(SearchConfigurationRest.SortOption sortOption) booleangetScope()getType()inthashCode()voidsetConfiguration(String configurationName) voidsetDefaultSortOption(SearchConfigurationRest.SortOption defaultSortOption) voidMethods 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, setProjectionMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.dspace.app.rest.model.RestModel
getTypePlural
-
Field Details
-
NAME
- See Also:
-
CATEGORY
- See Also:
-
-
Constructor Details
-
SearchConfigurationRest
public SearchConfigurationRest()
-
-
Method Details
-
getCategory
- Specified by:
getCategoryin classRestAddressableModel
-
getType
-
getController
- Specified by:
getControllerin classRestAddressableModel
-
getScope
-
setScope
-
getConfiguration
-
setConfiguration
-
addFilter
-
getFilters
-
addSortOption
-
getSortOptions
-
getDefaultSortOption
-
setDefaultSortOption
-
equals
-
hashCode
public int hashCode()
-