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

User22Impl - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.migration.model22.impl.user
Class User22Impl

java.lang.Object
  extended byorg.jboss.portal.migration.model22.impl.user.User22Impl
All Implemented Interfaces:
User

public class User22Impl
extends java.lang.Object
implements User

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

key

public java.lang.Long key

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

dynamic

public java.util.Map dynamic

properties

public PropertyMap properties

roles

public java.util.Set roles

registrationDate

public java.util.Date registrationDate

roleNames

public java.util.Set roleNames
Constructor Detail

User22Impl

public User22Impl()

User22Impl

public User22Impl(java.lang.String userName)
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

getPassword

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

setPassword

public void setPassword(java.lang.String password)
Specified by:
setPassword 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)
Specified by:
setRegistrationDate in interface User

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()
Specified by:
getEnabled in interface User

setEnabled

public void setEnabled(boolean enable)
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

getRoles

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

Specified by:
getRoles in interface User

setRoles

public void setRoles(java.util.Set roles)
Description copied from interface: User
Update the roles.

Specified by:
setRoles in interface User

getLastVisitDate

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

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()
Description copied from interface: User
Returns the 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()
Description copied from interface: User
Return the user preferred 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

getRoleNames

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

Specified by:
getRoleNames in interface User

toString

public java.lang.String toString()

getPreferencesGroup

public PreferencesGroup22 getPreferencesGroup()