Package org.dspace.app.rest.model
Class BrowseIndexRest
- java.lang.Object
-
- org.dspace.app.rest.model.RestAddressableModel
-
- org.dspace.app.rest.model.BaseObjectRest<String>
-
- org.dspace.app.rest.model.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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBrowseIndexRest.SortOption
-
Field Summary
Fields Modifier and Type Field Description static StringCATEGORYstatic StringENTRIESstatic StringITEMSstatic StringNAME-
Fields inherited from class org.dspace.app.rest.model.BaseObjectRest
id
-
Fields 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 Constructor Description BrowseIndexRest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCategory()ClassgetController()StringgetDataType()List<String>getMetadataList()StringgetOrder()List<BrowseIndexRest.SortOption>getSortOptions()StringgetType()booleanisMetadataBrowse()voidsetDataType(String dataType)voidsetMetadataBrowse(boolean metadataBrowse)voidsetMetadataList(List<String> metadataList)voidsetOrder(String order)voidsetSortOptions(List<BrowseIndexRest.SortOption> sortOptions)-
Methods inherited from class org.dspace.app.rest.model.BaseObjectRest
getErrors, getId, setErrors, setId
-
Methods inherited from class org.dspace.app.rest.model.RestAddressableModel
getEmbedLevel, getProjection, getUniqueType, setEmbedLevel, setProjection
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.dspace.app.rest.model.RestModel
getTypePlural
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
CATEGORY
public static final String CATEGORY
- See Also:
- Constant Field Values
-
ITEMS
public static final String ITEMS
- See Also:
- Constant Field Values
-
ENTRIES
public static final String ENTRIES
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCategory
public String getCategory()
- Specified by:
getCategoryin classRestAddressableModel
-
getType
public String getType()
-
isMetadataBrowse
public boolean isMetadataBrowse()
-
setMetadataBrowse
public void setMetadataBrowse(boolean metadataBrowse)
-
getDataType
public String getDataType()
-
setDataType
public void setDataType(String dataType)
-
getOrder
public String getOrder()
-
setOrder
public void setOrder(String order)
-
getSortOptions
public List<BrowseIndexRest.SortOption> getSortOptions()
-
setSortOptions
public void setSortOptions(List<BrowseIndexRest.SortOption> sortOptions)
-
getController
public Class getController()
- Specified by:
getControllerin classRestAddressableModel
-
-