Package org.dspace.app.rest.model
Class AuthorizationRest
- java.lang.Object
-
- org.dspace.app.rest.model.RestAddressableModel
-
- org.dspace.app.rest.model.BaseObjectRest<String>
-
- org.dspace.app.rest.model.AuthorizationRest
-
- All Implemented Interfaces:
Serializable,RestModel
@LinkRest(method="getEperson",name="eperson") @LinkRest(method="getFeature",name="feature") @LinkRest(method="getObject",name="object") public class AuthorizationRest extends BaseObjectRest<String>
The Authorization REST Resource. An authorization is the representation of some rights that are available to a specific user (eperson) on a defined object, eventually the whole repository (site object).- Author:
- Andrea Bollini (andrea.bollini at 4science.it)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCATEGORYstatic StringEPERSONstatic StringFEATUREstatic StringNAMEstatic StringOBJECT-
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, INTEGRATION, ROOT, STATISTICS, SUBMISSION, SYSTEM, TOOLS, VERSIONING, WORKFLOW
-
-
Constructor Summary
Constructors Constructor Description AuthorizationRest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCategory()ClassgetController()StringgetType()-
Methods inherited from class org.dspace.app.rest.model.BaseObjectRest
getErrors, getId, 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
-
EPERSON
public static final String EPERSON
- See Also:
- Constant Field Values
-
FEATURE
public static final String FEATURE
- See Also:
- Constant Field Values
-
OBJECT
public static final String OBJECT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public String getType()
-
getCategory
public String getCategory()
- Specified by:
getCategoryin classRestAddressableModel
-
getController
public Class getController()
- Specified by:
getControllerin classRestAddressableModel
-
-