Package org.dspace.app.rest.model
Class SearchResultEntryRest
java.lang.Object
org.dspace.app.rest.model.RestAddressableModel
org.dspace.app.rest.model.SearchResultEntryRest
- All Implemented Interfaces:
Serializable,RestModel
This class' purpose is to create a container for the information in the SearchResultEntryResource
- 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 TypeMethodDescriptionvoidaddHitHighlights(String key, List<String> value) getType()The plural name is the same as the singular namevoidsetHitHighlights(Map<String, List<String>> hitHighlights) voidsetIndexableObject(RestAddressableModel indexableObject) 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
-
SearchResultEntryRest
public SearchResultEntryRest()
-
-
Method Details
-
getCategory
- Specified by:
getCategoryin classRestAddressableModel
-
getType
-
getTypePlural
The plural name is the same as the singular name -
getController
- Specified by:
getControllerin classRestAddressableModel
-
getHitHighlights
-
addHitHighlights
-
setHitHighlights
-
getIndexableObject
-
setIndexableObject
-