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, CONTENT_REPORT, CORE, DISCOVER, DUPLICATES, EPERSON, INTEGRATION, LDN, PID, ROOT, STATISTICS, SUBMISSION, SYSTEM, TOOLS, VERSIONING, WORKFLOW -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddSortOption(SearchConfigurationRest.SortOption sortOption) booleangetScope()getType()The plural name is the same as the singular nameinthashCode()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, setProjection
-
Field Details
-
NAME
- See Also:
-
PLURAL_NAME
- See Also:
-
CATEGORY
- See Also:
-
-
Constructor Details
-
SearchConfigurationRest
public SearchConfigurationRest()
-
-
Method Details
-
getCategory
- Specified by:
getCategoryin classRestAddressableModel
-
getType
-
getTypePlural
The plural name is the same as the singular name -
getController
- Specified by:
getControllerin classRestAddressableModel
-
getScope
-
setScope
-
getConfiguration
-
setConfiguration
-
addFilter
-
getFilters
-
addSortOption
-
getSortOptions
-
getDefaultSortOption
-
setDefaultSortOption
-
equals
-
hashCode
public int hashCode()
-