|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.migration.model22.impl.user.User22Impl
User interface implementation.
Nested Class Summary | |
(package private) static class |
User22Impl.PropertyAccessor
An accessor that maps a user field to a property name. |
Field Summary | |
(package private) static java.util.Map |
ACCESSORS
|
java.util.Map |
dynamic
|
boolean |
enabled
|
java.lang.String |
fakeEmail
|
java.lang.String |
familyName
|
java.lang.String |
givenName
|
java.lang.Long |
key
|
private static org.apache.log4j.Logger |
log
|
java.lang.String |
password
|
PropertyMap |
properties
|
java.lang.String |
realEmail
|
java.util.Date |
registrationDate
|
java.util.Set |
roleNames
|
java.util.Set |
roles
|
java.lang.String |
userName
|
boolean |
viewRealEmail
|
Constructor Summary | |
User22Impl()
|
|
User22Impl(java.lang.String userName)
|
Method Summary | |
private static java.util.Map |
buildAccessors()
|
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()
|
PreferencesGroup22 |
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 |
private static final org.apache.log4j.Logger log
static final java.util.Map ACCESSORS
public java.lang.Long key
public java.lang.String userName
public java.lang.String givenName
public java.lang.String familyName
public java.lang.String realEmail
public java.lang.String fakeEmail
public boolean viewRealEmail
public java.lang.String password
public boolean enabled
public java.util.Map dynamic
public PropertyMap properties
public java.util.Set roles
public java.util.Date registrationDate
public java.util.Set roleNames
Constructor Detail |
public User22Impl()
public User22Impl(java.lang.String userName)
Method Detail |
private static java.util.Map buildAccessors()
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 PreferencesGroup22 getPreferencesGroup()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |