站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.4 API 英文版文档

User24Impl - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.migration.model24.identity
Class User24Impl

java.lang.Object
  extended byorg.jboss.portal.migration.model24.identity.User24Impl
All Implemented Interfaces:
User

public class User24Impl
extends java.lang.Object
implements User

User interface implementation.


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.
 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
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

key

public java.lang.Long key
Non mapped.


enabled

public boolean enabled

password

public java.lang.String password

userName

public java.lang.String userName
P3P mapped.


givenName

public java.lang.String givenName

familyName

public java.lang.String familyName

realEmail

public java.lang.String realEmail

fakeEmail

public java.lang.String fakeEmail
Extension mapped.


viewRealEmail

public boolean viewRealEmail

registrationDate

public java.util.Date registrationDate

dynamic

public java.util.Map dynamic
Other fields.


properties

public PropertyMap properties

roleNames

public java.util.Set roleNames

roles

public java.util.Set roles
Constructor Detail

User24Impl

public User24Impl()
Method Detail

getKey

public java.lang.Long getKey()
Called by hibernate.


setKey

protected void setKey(java.lang.Long key)
Called by hibernate.


setUserName

protected void setUserName(java.lang.String userName)
Called by hibernate.


getDynamic

protected java.util.Map getDynamic()
Called by Hibernate.


setDynamic

protected void setDynamic(java.util.Map dynamic)
Called by Hibernate.


getId

public java.lang.Object getId()
Description copied from interface: User
The user identifier.

Specified by:
getId in interface User

getUserName

public java.lang.String getUserName()
Description copied from interface: User
The user name.

Specified by:
getUserName in interface User

getGivenName

public java.lang.String getGivenName()
Description copied from interface: User
The given name (firstname).

Specified by:
getGivenName in interface User

setGivenName

public void setGivenName(java.lang.String givenName)
Specified by:
setGivenName in interface User

getFamilyName

public java.lang.String getFamilyName()
Description copied from interface: User
The family name.

Specified by:
getFamilyName in interface User

setFamilyName

public void setFamilyName(java.lang.String familyName)
Specified by:
setFamilyName in interface User

updatePassword

public void updatePassword(java.lang.String password)
Description copied from interface: User
Set the password.

Specified by:
updatePassword in interface User

getRealEmail

public java.lang.String getRealEmail()
Specified by:
getRealEmail in interface User

setRealEmail

public void setRealEmail(java.lang.String realEmail)
Specified by:
setRealEmail in interface User

getFakeEmail

public java.lang.String getFakeEmail()
Specified by:
getFakeEmail in interface User

setFakeEmail

public void setFakeEmail(java.lang.String fakeEmail)
Specified by:
setFakeEmail in interface User

getRegistrationDate

public java.util.Date getRegistrationDate()
Specified by:
getRegistrationDate in interface User

setRegistrationDate

public void setRegistrationDate(java.util.Date registrationDate)

getViewRealEmail

public boolean getViewRealEmail()
Specified by:
getViewRealEmail in interface User

setViewRealEmail

public void setViewRealEmail(boolean viewRealEmail)
Specified by:
setViewRealEmail in interface User

getEnabled

public boolean getEnabled()
Description copied from interface: User
Disable the user.

Specified by:
getEnabled in interface User

setEnabled

public void setEnabled(boolean enable)
Description copied from interface: User
Enable the user.

Specified by:
setEnabled in interface User

getProperties

public PropertyMap getProperties()
Description copied from interface: User
Returns the user properties.

Specified by:
getProperties in interface User

getPassword

public java.lang.String getPassword()

setPassword

public void setPassword(java.lang.String password)

getRoles

public java.util.Set getRoles()
Returns the roles related to this user.


setRoles

public void setRoles(java.util.Set roles)
Update the roles.


getLastVisitDate

public java.util.Date getLastVisitDate()
Implemented as a dynamic attribute (see #INFO_USER_LAST_LOGIN_DATE).

Specified by:
getLastVisitDate in interface User

setLastVisitDate

public void setLastVisitDate(java.util.Date date)
Description copied from interface: User
Set the last visit date on this user.

Specified by:
setLastVisitDate in interface User

getSignature

public java.lang.String getSignature()
Implemented as a dynamic attribute (see #INFO_USER_SIGNATURE).

Specified by:
getSignature in interface User

setSignature

public void setSignature(java.lang.String signature)
Description copied from interface: User
Set the signature.

Specified by:
setSignature in interface User

getPreferredLocale

public java.util.Locale getPreferredLocale()
Implemented as a dynamic attribute (see #INFO_USER_LOCALE).

Specified by:
getPreferredLocale in interface User

setPreferredLocale

public void setPreferredLocale(java.util.Locale locale)
Description copied from interface: User
Set the user preferred locale.

Specified by:
setPreferredLocale in interface User

validatePassword

public boolean validatePassword(java.lang.String password)
Description copied from interface: User
Return true if the password is valid.

Specified by:
validatePassword in interface User

getRoleNames

public java.util.Set getRoleNames()
Return all the role names of the user.


toString

public java.lang.String toString()