Package org.dspace.app.rest.model
Class AuthenticationStatusRest
- java.lang.Object
-
- org.dspace.app.rest.model.RestAddressableModel
-
- org.dspace.app.rest.model.BaseObjectRest<Integer>
-
- org.dspace.app.rest.model.AuthenticationStatusRest
-
- All Implemented Interfaces:
Serializable,RestModel
public class AuthenticationStatusRest extends BaseObjectRest<Integer>
Find out your authentication status.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCATEGORYstatic StringNAME-
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 AuthenticationStatusRest()AuthenticationStatusRest(EPersonRest eperson)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCategory()ClassgetController()EPersonRestgetEPersonRest()StringgetType()StringgetTypePlural()booleanisAuthenticated()booleanisOkay()voidsetAuthenticated(boolean authenticated)voidsetEPersonRest(EPersonRest ePersonRest)voidsetOkay(boolean okay)-
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
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
CATEGORY
public static final String CATEGORY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AuthenticationStatusRest
public AuthenticationStatusRest()
-
AuthenticationStatusRest
public AuthenticationStatusRest(EPersonRest eperson)
-
-
Method Detail
-
getCategory
public String getCategory()
- Specified by:
getCategoryin classRestAddressableModel
-
getType
public String getType()
-
getTypePlural
public String getTypePlural()
-
getController
public Class getController()
- Specified by:
getControllerin classRestAddressableModel
-
getEPersonRest
@LinkRest(name="eperson") public EPersonRest getEPersonRest()
-
setEPersonRest
public void setEPersonRest(EPersonRest ePersonRest)
-
isAuthenticated
public boolean isAuthenticated()
-
setAuthenticated
public void setAuthenticated(boolean authenticated)
-
isOkay
public boolean isOkay()
-
setOkay
public void setOkay(boolean okay)
-
-