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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic 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 TypeMethodDescriptiongetEmail()getNetid()getType()booleanbooleanvoidsetCanLogIn(boolean canLogIn) voidvoidsetLastActive(Instant lastActive) voidvoidsetPassword(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, 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:
-
GROUPS
- See Also:
-
-
Constructor Details
-
EPersonRest
public EPersonRest()
-
-
Method Details
-
getType
-
getTypePlural
-
getNetid
-
setNetid
-
getLastActive
-
setLastActive
-
isCanLogIn
public boolean isCanLogIn() -
setCanLogIn
public void setCanLogIn(boolean canLogIn) -
getEmail
-
setEmail
-
isRequireCertificate
public boolean isRequireCertificate() -
setRequireCertificate
public void setRequireCertificate(boolean requireCertificate) -
isSelfRegistered
-
setSelfRegistered
-
getPassword
-
setPassword
-
getCategory
- Specified by:
getCategoryin classRestAddressableModel
-
getController
- Overrides:
getControllerin classDSpaceObjectRest
-