Package org.dspace.app.rest.model
Class CollectionRest
java.lang.Object
org.dspace.app.rest.model.RestAddressableModel
org.dspace.app.rest.model.BaseObjectRest<String>
org.dspace.app.rest.model.DSpaceObjectRest
org.dspace.app.rest.model.CollectionRest
- All Implemented Interfaces:
Serializable,RestModel
@LinkRest(name="license",method="getLicense") @LinkRest(name="logo",method="getLogo") @LinkRest(name="mappedItems",method="getMappedItems") @LinkRest(name="parentCommunity",method="getParentCommunity") @LinkRest(name="adminGroup",method="getAdminGroup") @LinkRest(name="submittersGroup",method="getSubmittersGroup") @LinkRest(name="itemReadGroup",method="getItemReadGroup") @LinkRest(name="bitstreamReadGroup",method="getBitstreamReadGroup")
public class CollectionRest
extends DSpaceObjectRest
The Collection REST Resource
- Author:
- Andrea Bollini (andrea.bollini at 4science.it)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic 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 TypeMethodDescriptionintgetType()voidsetArchivedItemsCount(int archivedItemsCount) Methods inherited from class org.dspace.app.rest.model.DSpaceObjectRest
getController, getHandle, getId, getMetadata, getName, getUuid, setHandle, setMetadata, setName, setUuidMethods inherited from class org.dspace.app.rest.model.BaseObjectRest
getErrors, 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:
-
HARVEST
- See Also:
-
LICENSE
- See Also:
-
LOGO
- See Also:
-
MAPPED_ITEMS
- See Also:
-
PARENT_COMMUNITY
- See Also:
-
ADMIN_GROUP
- See Also:
-
SUBMITTERS_GROUP
- See Also:
-
ITEM_READ_GROUP
- See Also:
-
BITSTREAM_READ_GROUP
- See Also:
-
-
Constructor Details
-
CollectionRest
public CollectionRest()
-
-
Method Details
-
getCategory
- Specified by:
getCategoryin classRestAddressableModel
-
getType
-
getTypePlural
-
getArchivedItemsCount
public int getArchivedItemsCount() -
setArchivedItemsCount
public void setArchivedItemsCount(int archivedItemsCount)
-