Package org.dspace.app.rest.model
Class FilteredCollectionsRest
- All Implemented Interfaces:
Serializable,RestModel
This class serves as a REST representation of a Filtered Collections Report.
The name must match that of the associated resource class (FilteredCollectionsResource) except for
the suffix. This is why it is not named something like FilteredCollectionsReportRest.
- Author:
- Jean-François Morin (Université Laval)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringCategory of instances of this class, used by the DSpace REST infrastructurestatic final StringType of instances of this class, used by the DSpace REST infrastructureFields 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 TypeMethodDescriptionClass<?>getType()static FilteredCollectionsRestof(FilteredCollections model) Builds a FilteredCollectionsRest instance from aFilteredCollectionsinstance.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
Type of instances of this class, used by the DSpace REST infrastructure- See Also:
-
CATEGORY
Category of instances of this class, used by the DSpace REST infrastructure- See Also:
-
-
Constructor Details
-
FilteredCollectionsRest
public FilteredCollectionsRest()
-
-
Method Details
-
of
Builds a FilteredCollectionsRest instance from aFilteredCollectionsinstance. Each underlying FilteredCollection is converted to a FilteredCollectionRest instance.- Parameters:
model- the FilteredCollections instance that provides values to the FilteredCollectionsRest instance to be created- Returns:
- a FilteredCollectionsRest instance built from the provided model object
-
getCategory
- Specified by:
getCategoryin classRestAddressableModel
-
getController
- Specified by:
getControllerin classRestAddressableModel
-
getType
-
getTypePlural
-
getCollections
-
getSummary
-