|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.crm.business.user.CRMUser
public class CRMUser
CRMUser
| Field Summary | |
|---|---|
static java.sql.Timestamp |
DEFAULT_DATE_LAST_LOGIN
|
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 | |
|---|---|
CRMUser()
|
|
| Method Summary | |
|---|---|
java.sql.Timestamp |
getDateLastLogin()
Get the last login date of the user |
int |
getIdCRMUser()
Get the id crm user |
int |
getStatus()
Get the status of the user |
java.util.Map<java.lang.String,java.lang.String> |
getUserAttributes()
Get the user attributes |
java.lang.String |
getUserAttributeValue(java.lang.String strUserAttributeKey)
Get the user attribute value |
java.lang.String |
getUserGuid()
Get the user guid |
boolean |
isActive()
Check if the user is active |
boolean |
isAnonymized()
Checks if is anonymized. |
void |
setDateLastLogin(java.sql.Timestamp dateLastLogin)
Set the last login date of the user |
void |
setIdCRMUser(int nIdCRMUser)
Set the id crm user |
void |
setStatus(int nStatus)
Set the status of the user |
void |
setUserAttributes(java.util.Map<java.lang.String,java.lang.String> userInfos)
Set the user attributes |
void |
setUserGuid(java.lang.String strUserGuid)
Set the user guid |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.sql.Timestamp DEFAULT_DATE_LAST_LOGIN
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 CRMUser()
| Method Detail |
|---|
public void setIdCRMUser(int nIdCRMUser)
nIdCRMUser - the id crm userpublic int getIdCRMUser()
public void setUserGuid(java.lang.String strUserGuid)
strUserGuid - the user guidpublic java.lang.String getUserGuid()
public void setUserAttributes(java.util.Map<java.lang.String,java.lang.String> userInfos)
userInfos - the user attributespublic java.util.Map<java.lang.String,java.lang.String> getUserAttributes()
public java.lang.String getUserAttributeValue(java.lang.String strUserAttributeKey)
strUserAttributeKey - the key
public int getStatus()
public void setStatus(int nStatus)
nStatus - The status of the userpublic boolean isActive()
public boolean isAnonymized()
public java.sql.Timestamp getDateLastLogin()
public void setDateLastLogin(java.sql.Timestamp dateLastLogin)
dateLastLogin - The last login date of the user, or null if the user
never logged in.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||