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

UserImpl - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.core.impl.user
Class UserImpl

java.lang.Object
  extended byorg.jboss.portal.core.impl.user.UserImpl
All Implemented Interfaces:
User

public class UserImpl
extends java.lang.Object
implements User

User interface implementation.


Field Summary
protected  java.util.Map dynamic
           
protected  boolean enabled
           
protected  java.lang.String fakeEmail
           
protected  java.lang.String familyName
           
protected  java.lang.String givenName
           
protected  java.lang.Long key
           
protected  java.lang.String password
           
protected  PropertyMap properties
           
protected  java.lang.String realEmail
           
protected  java.util.Date registrationDate
           
protected  java.util.Set roleNames
           
protected  java.util.Set roles
           
protected  java.lang.String userName
           
protected  boolean viewRealEmail
           
 
Constructor Summary
UserImpl()
           
UserImpl(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()
           
 PreferencesGroup 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

protected java.lang.Long key

userName

protected java.lang.String userName

givenName

protected java.lang.String givenName

familyName

protected java.lang.String familyName

realEmail

protected java.lang.String realEmail

fakeEmail

protected java.lang.String fakeEmail

viewRealEmail

protected boolean viewRealEmail

password

protected java.lang.String password

enabled

protected boolean enabled

dynamic

protected java.util.Map dynamic

properties

protected PropertyMap properties

roles

protected java.util.Set roles

registrationDate

protected java.util.Date registrationDate

roleNames

protected java.util.Set roleNames
Constructor Detail

UserImpl

public UserImpl()

UserImpl

public UserImpl(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 PreferencesGroup getPreferencesGroup()