Package org.dspace.app.rest.model
Class GroupRest
- 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.GroupRest
-
- All Implemented Interfaces:
Serializable,RestModel
@LinkRest(name="subgroups",method="getGroups") @LinkRest(name="epersons",method="getMembers") @LinkRest(name="object",method="getParentObject") public class GroupRest extends DSpaceObjectRest
The Group REST Resource- Author:
- Andrea Bollini (andrea.bollini at 4science.it)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCATEGORYstatic StringEPERSONSstatic StringGROUPSstatic StringNAMEstatic StringOBJECTstatic StringSUBGROUPS-
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 GroupRest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCategory()ClassgetController()StringgetName()StringgetType()booleanisPermanent()voidsetName(String name)voidsetPermanent(boolean permanent)-
Methods inherited from class org.dspace.app.rest.model.DSpaceObjectRest
getHandle, getId, getMetadata, getUuid, setHandle, setMetadata, 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
-
CATEGORY
public static final String CATEGORY
- See Also:
- Constant Field Values
-
GROUPS
public static final String GROUPS
- See Also:
- Constant Field Values
-
SUBGROUPS
public static final String SUBGROUPS
- See Also:
- Constant Field Values
-
EPERSONS
public static final String EPERSONS
- See Also:
- Constant Field Values
-
OBJECT
public static final String OBJECT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCategory
public String getCategory()
- Specified by:
getCategoryin classRestAddressableModel
-
getType
public String getType()
-
getName
public String getName()
- Overrides:
getNamein classDSpaceObjectRest
-
setName
public void setName(String name)
- Overrides:
setNamein classDSpaceObjectRest
-
isPermanent
public boolean isPermanent()
-
setPermanent
public void setPermanent(boolean permanent)
-
getController
public Class getController()
- Overrides:
getControllerin classDSpaceObjectRest
-
-