public abstract class UserRequest extends Object implements UserRequestVisitable
| Constructor and Description |
|---|
UserRequest()
Default constructor, calls super()
|
| Modifier and Type | Method and Description |
|---|---|
abstract AuthenticationMethod |
authenticationMethod() |
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 request's unique identifier.
|
String |
getLastName()
Get the user's last name.
|
LoginType |
getLoginType() |
String |
getOrganization()
Get the user's organization.
|
String |
getTitle()
Get the user's title.
|
String |
getUsername()
Gets the user's unique username.
|
String |
getVerifyEmail()
Set the user's email address verification.
|
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 |
setLastName(String inLastName)
Set the user's last name.
|
protected void |
setLoginType(LoginType inLoginType) |
void |
setOrganization(String inOrganization)
Set the user's organization.
|
void |
setTitle(String inTitle)
Set the user's title
|
void |
setUsername(String inUsername)
Sets the user's unique username.
|
void |
setVerifyEmail(String inVerifyEmail)
Set the user's email address verification.
|
String |
toString() |
String[] |
validate()
Validate a
UserRequest object. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitacceptpublic Long getId()
public void setId(Long inId)
inId - The unique identifier for the request.public String getUsername()
public void setUsername(String inUsername)
inUsername - the user's unique username.public String getFirstName()
public void setFirstName(String inFirstName)
inFirstName - the user's first name.public String getLastName()
public void setLastName(String inLastName)
inLastName - The user's last name.public String getFullName()
public void setFullName(String fullName)
public String getEmail()
public void setEmail(String inEmail)
inEmail - The user's email address.public String getVerifyEmail()
public void setVerifyEmail(String inVerifyEmail)
inVerifyEmail - The user's email address verification.public String getOrganization()
public void setOrganization(String inOrganization)
inOrganization - The user's organization.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 LoginType getLoginType()
protected void setLoginType(LoginType inLoginType)
public String[] validate()
UserRequest object. Two rules are implemented: 1) The
email addresses in the two email fields must match, and 2) The passwords
in the two password fields must match.public abstract AuthenticationMethod authenticationMethod()
Copyright © 2012–2016 Emory University. All rights reserved.