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

User20Impl - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.migration.model20.impl.user
Class User20Impl

java.lang.Object
  extended byorg.jboss.portal.migration.model20.impl.user.User20Impl
All Implemented Interfaces:
User20

public class User20Impl
extends java.lang.Object
implements User20

User interface implementation.


Field Summary
 java.util.Map dynamic
           
 boolean enabled
           
 java.lang.String fakeEmail
           
 java.lang.String familyName
           
 java.lang.String givenName
           
 java.lang.Integer id
           
 java.lang.String password
           
 UserPrefSet20 preferenceSet20
           
 java.lang.String realEmail
           
 java.util.Date registrationDate
           
 java.util.Set roles
           
 java.lang.String userName
           
 boolean viewRealEmail
           
 
Constructor Summary
User20Impl()
          Called by hibernate.
User20Impl(java.lang.String userName)
           
 
Method Summary
 java.util.Map getDynamic()
           
 boolean getEnabled()
           
 java.lang.String getFakeEmail()
           
 java.lang.String getFamilyName()
          The family name.
 java.lang.String getGivenName()
          The given name.
 java.lang.Integer getID()
          The user identifier.
 java.util.Date getLastVisitDate()
          Return the last time the user logged in or null if this date is not known.
 java.lang.String getPassword()
           
 PreferenceStore getPreferenceStore()
          Returns the user preference store.
 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 of the user (for forums for example)
 java.lang.String getUserName()
          The user name.
 boolean getViewRealEmail()
           
 void setEnabled(boolean enable)
           
 void setFakeEmail(java.lang.String fakeEmail)
           
 void setFamilyName(java.lang.String familyName)
           
 void setGivenName(java.lang.String givenName)
           
 void setLastVisitDate(java.util.Date date)
           
 void setPassword(java.lang.String password)
           
 void setRealEmail(java.lang.String realEmail)
           
 void setRegistrationDate(java.util.Date registrationDate)
           
 void setRoles(java.util.Set roles)
          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

id

public java.lang.Integer id

userName

public java.lang.String userName

givenName

public java.lang.String givenName

familyName

public java.lang.String familyName

realEmail

public java.lang.String realEmail

fakeEmail

public java.lang.String fakeEmail

viewRealEmail

public boolean viewRealEmail

password

public java.lang.String password

enabled

public boolean enabled

preferenceSet20

public UserPrefSet20 preferenceSet20

dynamic

public java.util.Map dynamic

roles

public java.util.Set roles

registrationDate

public java.util.Date registrationDate
Constructor Detail

User20Impl

public User20Impl()
Called by hibernate.


User20Impl

public User20Impl(java.lang.String userName)
Method Detail

setGivenName

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

setFamilyName

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

getDynamic

public java.util.Map getDynamic()

setRoles

public void setRoles(java.util.Set roles)
Called by Hibernate.

Specified by:
setRoles in interface User20

getRoleNames

public java.util.Set getRoleNames()
Description copied from interface: User20
Return all the role names of the user.

Specified by:
getRoleNames in interface User20

getID

public java.lang.Integer getID()
Description copied from interface: User20
The user identifier.

Specified by:
getID in interface User20
Returns:
the user ID

getUserName

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

Specified by:
getUserName in interface User20
Returns:
the user name

getGivenName

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

Specified by:
getGivenName in interface User20
Returns:
the given name (firstname)

getFamilyName

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

Specified by:
getFamilyName in interface User20
Returns:
the family name

setPassword

public void setPassword(java.lang.String password)
Specified by:
setPassword in interface User20

getPassword

public java.lang.String getPassword()
Specified by:
getPassword in interface User20

getRealEmail

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

setRealEmail

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

getFakeEmail

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

setFakeEmail

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

getRegistrationDate

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

setRegistrationDate

public void setRegistrationDate(java.util.Date registrationDate)
Specified by:
setRegistrationDate in interface User20

getViewRealEmail

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

setViewRealEmail

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

setEnabled

public void setEnabled(boolean enable)
Specified by:
setEnabled in interface User20

getEnabled

public boolean getEnabled()
Specified by:
getEnabled in interface User20

getProperties

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

Specified by:
getProperties in interface User20

getPreferenceStore

public PreferenceStore getPreferenceStore()
Description copied from interface: User20
Returns the user preference store.

Specified by:
getPreferenceStore in interface User20

getRoles

public java.util.Set getRoles()
Description copied from interface: User20
Returns the roles related to this user.

Specified by:
getRoles in interface User20

toString

public java.lang.String toString()

getLastVisitDate

public java.util.Date getLastVisitDate()
Description copied from interface: User20
Return the last time the user logged in or null if this date is not known.

Specified by:
getLastVisitDate in interface User20

setLastVisitDate

public void setLastVisitDate(java.util.Date date)

getSignature

public java.lang.String getSignature()
Description copied from interface: User20
Returns the signature of the user (for forums for example)

Specified by:
getSignature in interface User20