|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.mylutece.modules.database.authentication.business.DatabaseUser
public class DatabaseUser
This class represents the business object DatabaseUser
| Field Summary | |
|---|---|
static int |
STATUS_ACTIVATED
Status of activated users. |
static int |
STATUS_ANONYMIZED
Status of anonymized users. |
static int |
STATUS_EXPIRED
Status of expired users. |
static int |
STATUS_NOT_ACTIVATED
Status of not activated users. |
| Constructor Summary | |
|---|---|
DatabaseUser()
|
|
| Method Summary | |
|---|---|
java.sql.Timestamp |
getAccountMaxValidDate()
Get the maximum valid date of the account of the user |
java.lang.String |
getEmail()
Returns the Email |
java.lang.String |
getFirstName()
Returns user first name |
java.lang.String |
getLastName()
Returns the last name |
java.lang.String |
getLogin()
Returns the login |
java.sql.Timestamp |
getPasswordMaxValidDate()
Get the password maximum valide date of a user |
int |
getStatus()
Get the status of the user |
int |
getUserId()
Returns the UserId |
boolean |
isActive()
Check if the user is active |
void |
setAccountMaxValidDate(java.sql.Timestamp accountMaxValidDate)
Set the maximum valid date of the account of the user |
void |
setEmail(java.lang.String strEmail)
Sets the Email |
void |
setFirstName(java.lang.String strFirstName)
Sets the first name |
void |
setLastName(java.lang.String strLastName)
Sets the last name |
void |
setLogin(java.lang.String strLogin)
Sets the login |
void |
setPasswordMaxValidDate(java.sql.Timestamp passwordMaxValidDate)
Set the password maximum valide date of a user |
void |
setStatus(int nStatus)
Set the status of the user |
void |
setUserId(int nUserId)
Sets the UserId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int STATUS_NOT_ACTIVATED
public static final int STATUS_ACTIVATED
public static final int STATUS_EXPIRED
public static final int STATUS_ANONYMIZED
| Constructor Detail |
|---|
public DatabaseUser()
| Method Detail |
|---|
public int getUserId()
public void setUserId(int nUserId)
nUserId - The UserIdpublic java.lang.String getEmail()
public void setEmail(java.lang.String strEmail)
strEmail - The emailpublic java.lang.String getFirstName()
public void setFirstName(java.lang.String strFirstName)
strFirstName - The first namepublic java.lang.String getLastName()
public void setLastName(java.lang.String strLastName)
strLastName - The last namepublic java.lang.String getLogin()
public void setLogin(java.lang.String strLogin)
strLogin - The loginpublic int getStatus()
public void setStatus(int nStatus)
nStatus - The status of the userpublic boolean isActive()
public void setPasswordMaxValidDate(java.sql.Timestamp passwordMaxValidDate)
passwordMaxValidDate - The new value of the password maximum valide
date of a userpublic java.sql.Timestamp getPasswordMaxValidDate()
public java.sql.Timestamp getAccountMaxValidDate()
public void setAccountMaxValidDate(java.sql.Timestamp accountMaxValidDate)
accountMaxValidDate - The maximum valid date
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||