|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.mylutece.modules.directory.authentication.business.MyluteceDirectoryUser
public class MyluteceDirectoryUser
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 | |
|---|---|
MyluteceDirectoryUser()
|
|
| Method Summary | |
|---|---|
java.sql.Timestamp |
getAccountMaxValidDate()
Get the maximum valid date of the account of the user |
int |
getIdRecord()
Returns the IdRecord |
java.lang.String |
getLogin()
Returns the login |
java.lang.String |
getPassword()
Returns the user's password |
java.sql.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(java.sql.Timestamp accountMaxValidDate)
Set the maximum valid date of the account of the user |
void |
setActivated(boolean bIsActivated)
Deprecated. Use setStatus(int) instead |
void |
setIdRecord(int nIdRecord)
Sets the IdRecord |
void |
setLogin(java.lang.String strLogin)
Sets the login |
void |
setPassword(java.lang.String strPassword)
Sets the password |
void |
setPasswordMaxValidDate(java.sql.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 |
| 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 MyluteceDirectoryUser()
| Method Detail |
|---|
public int getIdRecord()
public void setIdRecord(int nIdRecord)
nIdRecord - The IdRecordpublic java.lang.String getLogin()
public void setLogin(java.lang.String strLogin)
strLogin - The loginpublic java.lang.String getPassword()
The - passwordpublic void setPassword(java.lang.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) instead
bIsActivated - the new activatedpublic java.sql.Timestamp getPasswordMaxValidDate()
public void setPasswordMaxValidDate(java.sql.Timestamp passwordMaxValidDate)
passwordMaxValidDate - The maximum valid datepublic 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 | |||||||||