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
Nested ClassesModifier and TypeClassDescriptionstatic enumEnumeration for temporary user origin -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe user e-mail.protected StringThe user first nameprotected StringThe user last nameThe user originprotected StringThe id of the populationprotected StringThe site name.protected DateThe user subscription date.protected StringThe request token.protected StringThe id of the user directory of the population -
Constructor Summary
Constructors -
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.voidSet the email.voidsetFirstname(String firstname) Set the user firstnamevoidsetLastname(String lastname) Set the user lastnamevoidSet the origin of this temporary uservoidsetPopulation(String population) Set the population.voidSet the site.voidsetSubscriptionDate(Date subscriptionDate) Set the subscriptionDate.voidSet the token.voidsetUserDirectoryIndex(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
-