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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic 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 TypeMethodDescriptiongetName()getType()booleanvoidvoidsetPermanent(boolean permanent) Methods inherited from class org.dspace.app.rest.model.DSpaceObjectRest
getHandle, getId, getMetadata, getUuid, setHandle, setMetadata, 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:
-
SUBGROUPS
- See Also:
-
EPERSONS
- See Also:
-
OBJECT
- See Also:
-
-
Constructor Details
-
GroupRest
public GroupRest()
-
-
Method Details
-
getCategory
- Specified by:
getCategoryin classRestAddressableModel
-
getType
-
getTypePlural
-
getName
- Overrides:
getNamein classDSpaceObjectRest
-
setName
- Overrides:
setNamein classDSpaceObjectRest
-
isPermanent
public boolean isPermanent() -
setPermanent
public void setPermanent(boolean permanent) -
getController
- Overrides:
getControllerin classDSpaceObjectRest
-