|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.identity.db.UserImpl
User interface implementation.
Field Summary | |
protected java.util.Map |
dynamic
Other fields. |
protected boolean |
enabled
|
protected java.lang.String |
fakeEmail
Extension mapped. |
protected java.lang.String |
familyName
|
protected java.lang.String |
givenName
|
protected java.lang.Long |
key
Non mapped. |
protected java.lang.String |
password
|
protected PropertyMap |
properties
|
protected java.lang.String |
realEmail
|
protected java.util.Date |
registrationDate
|
protected java.util.Set |
roleNames
|
protected java.util.Set |
roles
|
protected java.lang.String |
userName
P3P mapped. |
protected boolean |
viewRealEmail
|
Constructor Summary | |
UserImpl()
|
|
UserImpl(java.lang.String userName)
|
Method Summary | |
protected java.util.Map |
getDynamic()
Called by Hibernate. |
boolean |
getEnabled()
Disable the user. |
java.lang.String |
getFakeEmail()
|
java.lang.String |
getFamilyName()
The family name. |
java.lang.String |
getGivenName()
The given name (firstname). |
java.lang.Object |
getId()
The user identifier. |
java.lang.Long |
getKey()
Called by hibernate. |
java.util.Date |
getLastVisitDate()
Implemented as a dynamic attribute (see #INFO_USER_LAST_LOGIN_DATE). |
java.lang.String |
getPassword()
|
java.util.Locale |
getPreferredLocale()
Implemented as a dynamic attribute (see #INFO_USER_LOCALE). |
PropertyMap |
getProperties()
Returns the user properties. |
java.lang.String |
getRealEmail()
|
java.util.Date |
getRegistrationDate()
|
java.util.Set |
getRoleNames()
Return all the role names of the user. |
java.util.Set |
getRoles()
Returns the roles related to this user. |
java.lang.String |
getSignature()
Implemented as a dynamic attribute (see #INFO_USER_SIGNATURE). |
java.lang.String |
getTheme()
Return the theme set for this user as the app id of the Theme. |
java.lang.String |
getUserName()
The user name. |
boolean |
getViewRealEmail()
|
protected void |
setDynamic(java.util.Map dynamic)
Called by Hibernate. |
void |
setEnabled(boolean enable)
Enable the user. |
void |
setFakeEmail(java.lang.String fakeEmail)
|
void |
setFamilyName(java.lang.String familyName)
|
void |
setGivenName(java.lang.String givenName)
|
protected void |
setKey(java.lang.Long key)
Called by hibernate. |
void |
setLastVisitDate(java.util.Date date)
Set the last visit date on this user. |
void |
setPassword(java.lang.String password)
|
void |
setPreferredLocale(java.util.Locale locale)
Set the user preferred locale. |
void |
setRealEmail(java.lang.String realEmail)
|
void |
setRegistrationDate(java.util.Date registrationDate)
|
void |
setRoles(java.util.Set roles)
Update the roles. |
void |
setSignature(java.lang.String signature)
Set the signature. |
void |
setTheme(java.lang.String themeId)
Set the theme for this user. |
protected void |
setUserName(java.lang.String userName)
Called by hibernate. |
void |
setViewRealEmail(boolean viewRealEmail)
|
java.lang.String |
toString()
|
void |
updatePassword(java.lang.String password)
Set the password. |
boolean |
validatePassword(java.lang.String password)
Return true if the password is valid. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.Long key
protected boolean enabled
protected java.lang.String password
protected java.lang.String userName
protected java.lang.String givenName
protected java.lang.String familyName
protected java.lang.String realEmail
protected java.lang.String fakeEmail
protected boolean viewRealEmail
protected java.util.Date registrationDate
protected java.util.Map dynamic
protected PropertyMap properties
protected java.util.Set roleNames
protected java.util.Set roles
Constructor Detail |
public UserImpl()
public UserImpl(java.lang.String userName)
Method Detail |
public java.lang.Long getKey()
protected void setKey(java.lang.Long key)
protected void setUserName(java.lang.String userName)
protected java.util.Map getDynamic()
protected void setDynamic(java.util.Map dynamic)
public java.lang.Object getId()
public java.lang.String getUserName()
User
getUserName
in interface User
public java.lang.String getGivenName()
User
getGivenName
in interface User
public void setGivenName(java.lang.String givenName)
setGivenName
in interface User
public java.lang.String getFamilyName()
User
getFamilyName
in interface User
public void setFamilyName(java.lang.String familyName)
setFamilyName
in interface User
public void updatePassword(java.lang.String password)
User
updatePassword
in interface User
public java.lang.String getRealEmail()
getRealEmail
in interface User
public void setRealEmail(java.lang.String realEmail)
setRealEmail
in interface User
public java.lang.String getFakeEmail()
getFakeEmail
in interface User
public void setFakeEmail(java.lang.String fakeEmail)
setFakeEmail
in interface User
public java.util.Date getRegistrationDate()
getRegistrationDate
in interface User
public void setRegistrationDate(java.util.Date registrationDate)
public boolean getViewRealEmail()
getViewRealEmail
in interface User
public void setViewRealEmail(boolean viewRealEmail)
setViewRealEmail
in interface User
public boolean getEnabled()
User
getEnabled
in interface User
public void setEnabled(boolean enable)
User
setEnabled
in interface User
public PropertyMap getProperties()
User
getProperties
in interface User
public java.lang.String getPassword()
public void setPassword(java.lang.String password)
public java.util.Set getRoles()
public void setRoles(java.util.Set roles)
public java.util.Date getLastVisitDate()
getLastVisitDate
in interface User
public void setLastVisitDate(java.util.Date date)
User
setLastVisitDate
in interface User
public java.lang.String getSignature()
getSignature
in interface User
public void setSignature(java.lang.String signature)
User
setSignature
in interface User
public java.util.Locale getPreferredLocale()
getPreferredLocale
in interface User
public void setPreferredLocale(java.util.Locale locale)
User
setPreferredLocale
in interface User
public java.lang.String getTheme()
User
public void setTheme(java.lang.String themeId)
User
public boolean validatePassword(java.lang.String password)
User
validatePassword
in interface User
public java.util.Set getRoleNames()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |