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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringADMIN_GROUPstatic StringBITSTREAM_READ_GROUPstatic StringCATEGORYstatic StringHARVESTstatic StringITEM_READ_GROUPstatic StringLICENSEstatic StringLOGOstatic StringMAPPED_ITEMSstatic StringNAMEstatic StringPARENT_COMMUNITYstatic StringPLURAL_NAMEstatic StringSUBMITTERS_GROUP-
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, VERSIONING, WORKFLOW
-
-
Constructor Summary
Constructors Constructor Description CollectionRest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCategory()StringgetType()-
Methods inherited from class org.dspace.app.rest.model.DSpaceObjectRest
getController, getHandle, getId, getMetadata, getName, getUuid, setHandle, setMetadata, setName, setUuid
-
Methods inherited from class org.dspace.app.rest.model.BaseObjectRest
getErrors, 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
-
PLURAL_NAME
public static final String PLURAL_NAME
- See Also:
- Constant Field Values
-
CATEGORY
public static final String CATEGORY
- See Also:
- Constant Field Values
-
HARVEST
public static final String HARVEST
- See Also:
- Constant Field Values
-
LICENSE
public static final String LICENSE
- See Also:
- Constant Field Values
-
LOGO
public static final String LOGO
- See Also:
- Constant Field Values
-
MAPPED_ITEMS
public static final String MAPPED_ITEMS
- See Also:
- Constant Field Values
-
PARENT_COMMUNITY
public static final String PARENT_COMMUNITY
- See Also:
- Constant Field Values
-
ADMIN_GROUP
public static final String ADMIN_GROUP
- See Also:
- Constant Field Values
-
SUBMITTERS_GROUP
public static final String SUBMITTERS_GROUP
- See Also:
- Constant Field Values
-
ITEM_READ_GROUP
public static final String ITEM_READ_GROUP
- See Also:
- Constant Field Values
-
BITSTREAM_READ_GROUP
public static final String BITSTREAM_READ_GROUP
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCategory
public String getCategory()
- Specified by:
getCategoryin classRestAddressableModel
-
getType
public String getType()
-
-