|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.core.impl.user.UserImpl
User interface implementation.
Field Summary | |
protected java.util.Map |
dynamic
|
protected boolean |
enabled
|
protected java.lang.String |
fakeEmail
|
protected java.lang.String |
familyName
|
protected java.lang.String |
givenName
|
protected java.lang.Long |
key
|
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
|
protected boolean |
viewRealEmail
|
Constructor Summary | |
UserImpl()
|
|
UserImpl(java.lang.String userName)
|
Method Summary | |
protected java.util.Map |
getDynamic()
Called by Hibernate. |
boolean |
getEnabled()
|
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()
Return the last time the user logged in or null if this date is not known. |
java.lang.String |
getPassword()
|
PreferencesGroup |
getPreferencesGroup()
|
java.util.Locale |
getPreferredLocale()
Return the user preferred 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()
Returns the signature. |
java.lang.String |
getUserName()
The user name. |
boolean |
getViewRealEmail()
|
protected void |
setDynamic(java.util.Map dynamic)
Called by Hibernate. |
void |
setEnabled(boolean enable)
|
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. |
protected void |
setUserName(java.lang.String userName)
Called by hibernate. |
void |
setViewRealEmail(boolean viewRealEmail)
|
java.lang.String |
toString()
|
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 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.lang.String password
protected boolean enabled
protected java.util.Map dynamic
protected PropertyMap properties
protected java.util.Set roles
protected java.util.Date registrationDate
protected java.util.Set roleNames
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 java.lang.String getPassword()
getPassword
in interface User
public void setPassword(java.lang.String password)
setPassword
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)
setRegistrationDate
in interface User
public boolean getViewRealEmail()
getViewRealEmail
in interface User
public void setViewRealEmail(boolean viewRealEmail)
setViewRealEmail
in interface User
public boolean getEnabled()
getEnabled
in interface User
public void setEnabled(boolean enable)
setEnabled
in interface User
public PropertyMap getProperties()
User
getProperties
in interface User
public java.util.Set getRoles()
User
public void setRoles(java.util.Set roles)
public java.util.Date getLastVisitDate()
User
getLastVisitDate
in interface User
public void setLastVisitDate(java.util.Date date)
User
setLastVisitDate
in interface User
public java.lang.String getSignature()
User
getSignature
in interface User
public void setSignature(java.lang.String signature)
User
setSignature
in interface User
public java.util.Locale getPreferredLocale()
User
getPreferredLocale
in interface User
public void setPreferredLocale(java.util.Locale locale)
User
setPreferredLocale
in interface User
public java.util.Set getRoleNames()
User
getRoleNames
in interface User
public java.lang.String toString()
public PreferencesGroup getPreferencesGroup()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |