Package org.dspace.app.rest.model
Class FilteredCollectionRest
java.lang.Object
org.dspace.app.rest.model.FilteredCollectionRest
This class serves as a REST representation of a single Collection in a
FilteredCollectionsRest
from the DSpace statistics. It takes its values from a @link FilteredCollection} instance.
It must not extend BaseObjectRest<?>.- Author:
- Jean-François Morin (Université Laval)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetLabel()intgetType()static FilteredCollectionRestof(FilteredCollection model) Builds a FilteredCollectionRest instance from aFilteredCollectioninstance.
-
Field Details
-
NAME
- See Also:
-
CATEGORY
- See Also:
-
-
Constructor Details
-
FilteredCollectionRest
public FilteredCollectionRest()
-
-
Method Details
-
of
Builds a FilteredCollectionRest instance from aFilteredCollectioninstance.- Parameters:
model- the FilteredCollection instance that provides values to the FilteredCollectionRest instance to be created- Returns:
- a FilteredCollectionRest instance built from the provided model object
-
getType
-
getValues
-
getLabel
-
getHandle
-
getCommunityLabel
-
getCommunityHandle
-
getTotalItems
public int getTotalItems() -
getAllFiltersValue
public int getAllFiltersValue()
-