Package org.dspace.app.rest.model
Class EPersonRest
- 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.EPersonRest
-
- All Implemented Interfaces:
Serializable,RestModel
@LinksRest(links=@LinkRest(name="groups",method="getGroups")) public class EPersonRest extends DSpaceObjectRest
The EPerson REST Resource- Author:
- Andrea Bollini (andrea.bollini at 4science.it)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCATEGORYstatic StringGROUPSstatic 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 EPersonRest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCategory()ClassgetController()StringgetEmail()DategetLastActive()StringgetNetid()StringgetPassword()StringgetType()booleanisCanLogIn()booleanisRequireCertificate()BooleanisSelfRegistered()voidsetCanLogIn(boolean canLogIn)voidsetEmail(String email)voidsetLastActive(Date lastActive)voidsetNetid(String netid)voidsetPassword(String password)voidsetRequireCertificate(boolean requireCertificate)voidsetSelfRegistered(Boolean selfRegistered)-
Methods inherited from class org.dspace.app.rest.model.DSpaceObjectRest
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
-
CATEGORY
public static final String CATEGORY
- See Also:
- Constant Field Values
-
GROUPS
public static final String GROUPS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public String getType()
-
getNetid
public String getNetid()
-
setNetid
public void setNetid(String netid)
-
getLastActive
public Date getLastActive()
-
setLastActive
public void setLastActive(Date lastActive)
-
isCanLogIn
public boolean isCanLogIn()
-
setCanLogIn
public void setCanLogIn(boolean canLogIn)
-
getEmail
public String getEmail()
-
setEmail
public void setEmail(String email)
-
isRequireCertificate
public boolean isRequireCertificate()
-
setRequireCertificate
public void setRequireCertificate(boolean requireCertificate)
-
isSelfRegistered
public Boolean isSelfRegistered()
-
setSelfRegistered
public void setSelfRegistered(Boolean selfRegistered)
-
getPassword
public String getPassword()
-
setPassword
public void setPassword(String password)
-
getCategory
public String getCategory()
- Specified by:
getCategoryin classRestAddressableModel
-
getController
public Class getController()
- Overrides:
getControllerin classDSpaceObjectRest
-
-