@Entity public abstract class UserEntity extends Object implements org.eurekaclinical.standardapis.entity.UserEntity<Role>, UserEntityVisitable
| Modifier | Constructor and Description |
|---|---|
protected |
UserEntity()
Create an empty User object.
|
protected |
UserEntity(LoginTypeEntity loginType,
AuthenticationMethodEntity authenticationMethod) |
| Modifier and Type | Method and Description |
|---|---|
AuthenticationMethodEntity |
getAuthenticationMethod() |
Date |
getCreated() |
String |
getDepartment()
Get the user's Department.
|
String |
getEmail()
Get the user's email address.
|
String |
getFirstName()
Get the user's first name.
|
String |
getFullName() |
Long |
getId()
Get the user's unique identifier.
|
Date |
getLastLogin()
Get the last log-in date for the user.
|
String |
getLastName()
Get the user's last name.
|
LoginTypeEntity |
getLoginType() |
String |
getOrganization()
Get the user's organization.
|
List<Role> |
getRoles()
Get all the roles assigned to the user.
|
String |
getTitle()
Get the user's title.
|
String |
getUsername() |
boolean |
isActive()
Get whether the user is active or not.
|
void |
setActive(boolean inActive)
Set whether the user is active or not.
|
void |
setCreated(Date created) |
void |
setDepartment(String inDepartment)
Set the user's Department.
|
void |
setEmail(String inEmail)
Set the user's email address.
|
void |
setFirstName(String inFirstName)
Set the user's first name.
|
void |
setFullName(String fullName) |
void |
setId(Long inId)
Set the user's unique identifier.
|
void |
setLastLogin(Date inLastLogin)
Set the user's last log-in date.
|
void |
setLastName(String inLastName)
Set the user's last name.
|
void |
setOrganization(String inOrganization)
Set the user's organization.
|
void |
setRoles(List<Role> inRoles)
Set the roles assigned to the current user.
|
void |
setTitle(String inTitle)
Set the user's title.
|
void |
setUsername(String username) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitacceptprotected UserEntity()
protected UserEntity(LoginTypeEntity loginType, AuthenticationMethodEntity authenticationMethod)
public Long getId()
public void setId(Long inId)
public boolean isActive()
public void setActive(boolean inActive)
inActive - True if the user should be active, false otherwise.public String getUsername()
getUsername in interface org.eurekaclinical.standardapis.entity.UserEntity<Role>public void setUsername(String username)
setUsername in interface org.eurekaclinical.standardapis.entity.UserEntity<Role>public Date getCreated()
public void setCreated(Date created)
public String getFirstName()
public void setFirstName(String inFirstName)
inFirstName - A String containing the user's first name.public String getLastName()
public void setLastName(String inLastName)
inLastName - A String containing the user's last name.public String getFullName()
public void setFullName(String fullName)
public String getEmail()
public void setEmail(String inEmail)
inEmail - A String containing the user's email address.public String getOrganization()
public void setOrganization(String inOrganization)
inOrganization - A String containing the user's organization.public Date getLastLogin()
null if the user has
never logged in.public void setLastLogin(Date inLastLogin)
inLastLogin - The last log-in date for the user.public void setRoles(List<Role> inRoles)
setRoles in interface org.eurekaclinical.standardapis.entity.UserEntity<Role>inRoles - A Set of roles to be assigned to the user.public String getTitle()
public void setTitle(String inTitle)
inTitle - The user's title.public String getDepartment()
public void setDepartment(String inDepartment)
inDepartment - The user's department.public LoginTypeEntity getLoginType()
public AuthenticationMethodEntity getAuthenticationMethod()
Copyright © 2012–2016 Emory University. All rights reserved.