Package org.dspace.app.rest.model
Class BrowseIndexRest
- All Implemented Interfaces:
Serializable,RestModel
@LinkRest(name="items",method="listBrowseItems") @LinkRest(name="entries",method="listBrowseEntries")
public class BrowseIndexRest
extends BaseObjectRest<String>
The Browse Index REST Resource
- Author:
- Andrea Bollini (andrea.bollini at 4science.it)
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields 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 TypeMethodDescriptiongetOrder()getType()voidsetBrowseType(String browseType) - valueList => if the browse index has two levels, the 1st level shows the list of entries like author names, subjects, types, etc. the second level is the actual list of items linked to a specific entry - flatBrowse if the browse index has one level: the full list of items - hierarchicalBrowse if the browse index should display the vocabulary tree.voidsetDataType(String dataType) voidsetFacetType(String facetType) voidsetMetadataList(List<String> metadataList) voidvoidsetSortOptions(List<BrowseIndexRest.SortOption> sortOptions) voidsetVocabulary(String vocabulary) Methods 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:
-
LINK_ITEMS
- See Also:
-
LINK_ENTRIES
- See Also:
-
LINK_VOCABULARY
- See Also:
-
BROWSE_TYPE_VALUE_LIST
- See Also:
-
BROWSE_TYPE_FLAT
- See Also:
-
BROWSE_TYPE_HIERARCHICAL
- See Also:
-
-
Constructor Details
-
BrowseIndexRest
public BrowseIndexRest()
-
-
Method Details
-
getCategory
- Specified by:
getCategoryin classRestAddressableModel
-
getType
-
getTypePlural
-
getMetadataList
-
setMetadataList
-
getDataType
-
setDataType
-
getOrder
-
setOrder
-
getSortOptions
-
setSortOptions
-
setBrowseType
- valueList => if the browse index has two levels, the 1st level shows the list of entries like author names, subjects, types, etc. the second level is the actual list of items linked to a specific entry - flatBrowse if the browse index has one level: the full list of items - hierarchicalBrowse if the browse index should display the vocabulary tree. The 1st level shows the tree. The second level is the actual list of items linked to a specific entry -
getBrowseType
-
setFacetType
-
getFacetType
-
setVocabulary
-
getVocabulary
-
getController
- Specified by:
getControllerin classRestAddressableModel
-