public class MyluteceDirectoryUser extends Object
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
MyluteceDirectoryUser() |
| Modifier and Type | Method and Description |
|---|---|
Timestamp |
getAccountMaxValidDate()
Get the maximum valid date of the account of the user
|
Timestamp |
getDateLastLogin()
Get the last login date of the account of the user
|
int |
getIdRecord()
Returns the IdRecord
|
String |
getLogin()
Returns the login
|
String |
getPassword()
Returns the user's password
|
Timestamp |
getPasswordMaxValidDate()
Get the maximum valid date of the password of the user
|
int |
getStatus()
Get the status of the user
|
boolean |
isActivated()
Return true if the user is activated
|
boolean |
isPasswordReset()
Check if the password has been reinitialized
|
void |
setAccountMaxValidDate(Timestamp accountMaxValidDate)
Set the maximum valid date of the account of the user
|
void |
setActivated(boolean bIsActivated)
Deprecated.
Use
setStatus(int) instead |
void |
setDateLastLogin(Timestamp dateLastLogin)
Set the last login date of the account of the user
|
void |
setIdRecord(int nIdRecord)
Sets the IdRecord
|
void |
setLogin(String strLogin)
Sets the login
|
void |
setPassword(String strPassword)
Sets the password
|
void |
setPasswordMaxValidDate(Timestamp passwordMaxValidDate)
Set the maximum valid date of the password of the user
|
void |
setPasswordReset(boolean bIsPasswordReset)
Set pwd reseted
|
void |
setStatus(int nStatus)
Set the status of the user
|
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
public int getIdRecord()
public void setIdRecord(int nIdRecord)
nIdRecord - The IdRecordpublic String getLogin()
public void setLogin(String strLogin)
strLogin - The loginpublic String getPassword()
The - passwordpublic void setPassword(String strPassword)
strPassword - The passwordpublic boolean isPasswordReset()
public void setPasswordReset(boolean bIsPasswordReset)
bIsPasswordReset - true if it has been reinitialized, false otherwisepublic int getStatus()
public void setStatus(int nStatus)
nStatus - The statuspublic boolean isActivated()
@Deprecated public void setActivated(boolean bIsActivated)
setStatus(int) insteadbIsActivated - the new activatedpublic Timestamp getPasswordMaxValidDate()
public void setPasswordMaxValidDate(Timestamp passwordMaxValidDate)
passwordMaxValidDate - The maximum valid datepublic Timestamp getAccountMaxValidDate()
public void setAccountMaxValidDate(Timestamp accountMaxValidDate)
accountMaxValidDate - The maximum valid datepublic Timestamp getDateLastLogin()
public void setDateLastLogin(Timestamp dateLastLogin)
dateLastLogin - The last login date of the account of the userCopyright © 2017 City of Paris. All rights reserved.