Package org.ametys.web.usermanagement
Class UserSignupManager.TempUser
java.lang.Object
org.ametys.web.usermanagement.UserSignupManager.TempUser
- Enclosing class:
- UserSignupManager
Bean representing a user sign-up request.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Enumeration for temporary user origin -
Field Summary
Modifier and TypeFieldDescriptionprotected String
The user e-mail.protected String
The user first nameprotected String
The user last nameThe user originprotected String
The id of the populationprotected String
The site name.protected Date
The user subscription date.protected String
The request token.protected String
The id of the user directory of the population -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetEmail()
Get the email.Get the user firstnameGet the user firstnameReturn the temp user originGet the population.getSite()
Get the site.Get the subscriptionDate.getToken()
Get the token.Get the user directory id.void
Set the email.void
setFirstname
(String firstname) Set the user firstnamevoid
setLastname
(String lastname) Set the user lastnamevoid
Set the origin of this temporary uservoid
setPopulation
(String population) Set the population.void
Set the site.void
setSubscriptionDate
(Date subscriptionDate) Set the subscriptionDate.void
Set the token.void
setUserDirectoryIndex
(String userDirectoryId) Set the user directory index.
-
Field Details
-
_site
The site name. -
_email
The user e-mail. -
_subscriptionDate
The user subscription date. -
_token
The request token. -
_population
The id of the population -
_userDirectoryId
The id of the user directory of the population -
_lastname
The user last name -
_firstname
The user first name -
_origin
The user origin
-
-
Constructor Details
-
TempUser
public TempUser(String site, String email, Date subscriptionDate, String token, String population, String userDirectoryId, String lastname, String firstname, String origin) Constructor.- Parameters:
site
- the siteemail
- the user's emailsubscriptionDate
- the date of subscriptiontoken
- the user's tokenpopulation
- The id of the populationuserDirectoryId
- The id of the user directory of the populationlastname
- the user's lastnamefirstname
- the user's firstnameorigin
- the origin of this temp user
-
-
Method Details
-
getSite
Get the site.- Returns:
- the site
-
setSite
Set the site.- Parameters:
site
- the site to set
-
getEmail
Get the email.- Returns:
- _the email
-
setEmail
Set the email.- Parameters:
email
- the email to set
-
getSubscriptionDate
Get the subscriptionDate.- Returns:
- _the subscriptionDate
-
setSubscriptionDate
Set the subscriptionDate.- Parameters:
subscriptionDate
- the subscriptionDate to set
-
getToken
Get the token.- Returns:
- _the token
-
setToken
Set the token.- Parameters:
token
- the token to set
-
getPopulation
Get the population.- Returns:
- the population
-
setPopulation
Set the population.- Parameters:
population
- the population to set
-
getUserDirectoryId
Get the user directory id.- Returns:
- the user directory id
-
setUserDirectoryIndex
Set the user directory index.- Parameters:
userDirectoryId
- the user directory id to set
-
getFirstname
Get the user firstname- Returns:
- the user firstname
-
setFirstname
Set the user firstname- Parameters:
firstname
- the user firstname
-
getLastname
Get the user firstname- Returns:
- the user firstname
-
setLastname
Set the user lastname- Parameters:
lastname
- the user lastname
-
getOrigin
Return the temp user origin- Returns:
- true the temp user origin
-
setOrigin
Set the origin of this temporary user- Parameters:
origin
- the origin
-