|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.migration.model24.identity.User24Impl
User interface implementation.
Nested Class Summary | |
(package private) static class |
User24Impl.BooleanPropertyAccessor
|
(package private) static class |
User24Impl.DatePropertyAccessor
|
(package private) static class |
User24Impl.PropertyAccessor
An accessor that maps a user field to a property name. |
(package private) static class |
User24Impl.StringPropertyAccessor
|
Field Summary | |
java.util.Map |
dynamic
Other fields. |
boolean |
enabled
|
java.lang.String |
fakeEmail
Extension mapped. |
java.lang.String |
familyName
|
java.lang.String |
givenName
|
java.lang.Long |
key
Non mapped. |
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
P3P mapped. |
boolean |
viewRealEmail
|
Fields inherited from interface org.jboss.portal.migration.model24.identity.User |
INFO_USER_EMAIL_FAKE, INFO_USER_EXTRA, INFO_USER_HOMEPAGE, INFO_USER_IM_AIM, INFO_USER_IM_ICQ, INFO_USER_IM_MSNM, INFO_USER_IM_SKYPE, INFO_USER_IM_YIM, INFO_USER_INTERESTS, INFO_USER_LAST_LOGIN_DATE, INFO_USER_LOCALE, INFO_USER_LOCATION, INFO_USER_OCCUPATION, INFO_USER_REGISTRATION_DATE, INFO_USER_SECURITY_ANSWER, INFO_USER_SECURITY_QUESTION, INFO_USER_SIGNATURE, INFO_USER_TIME_ZONE_OFFSET, INFO_USER_VIEW_EMAIL_VIEW_REAL |
Constructor Summary | |
User24Impl()
|
Method Summary | |
private static java.util.Map |
buildAccessors()
|
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 |
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. |
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 |
private static final org.apache.log4j.Logger log
public java.lang.Long key
public boolean enabled
public java.lang.String password
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.util.Date registrationDate
public java.util.Map dynamic
public PropertyMap properties
public java.util.Set roleNames
public java.util.Set roles
Constructor Detail |
public User24Impl()
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 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 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 |