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

User20Impl - JBOSS Portal 2.6 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.

Version:
$Revision: 5449 $
Author:
Julien Viet , Thomas Heute

Field Summary
 java.util.Map dynamic
           
 boolean enabled
           
 java.lang.String fakeEmail
           
 java.lang.String familyName
           
 java.lang.String givenName
           
 java.lang.Integer id
           
private static org.apache.log4j.Logger log
           
 java.lang.String password
           
 UserPrefSet20 preferenceSet20
           
private  PropertyMap properties
           
 java.lang.String realEmail
           
 java.util.Date registrationDate
           
private  java.util.Set roleNames
           
 java.util.Set roles
           
private  MappedPreferenceStore store
          The preference set store.
 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.
private  UserPrefSet20 getRootPreferenceSet()
           
 java.lang.String getSignature()
          Returns the signature of the user (for forums for example)
 java.lang.String getUserName()
          The user name.
 boolean getViewRealEmail()
           
private  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)
           
private  void setID(java.lang.Integer id)
          Called by hibernate.
 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.
private  void setRootPreferenceSet(UserPrefSet20 preferenceSet20)
           
private  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

log

private static final org.apache.log4j.Logger log

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

properties

private PropertyMap properties

roles

public java.util.Set roles

registrationDate

public java.util.Date registrationDate

roleNames

private java.util.Set roleNames

store

private final MappedPreferenceStore store
The preference set store.

Constructor Detail

User20Impl

public User20Impl()
Called by hibernate.


User20Impl

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

setID

private void setID(java.lang.Integer id)
Called by hibernate.


setUserName

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


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

getRootPreferenceSet

private UserPrefSet20 getRootPreferenceSet()

setRootPreferenceSet

private void setRootPreferenceSet(UserPrefSet20 preferenceSet20)

getDynamic

public java.util.Map getDynamic()

setDynamic

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


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