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

User20 - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.migration.model20.model
Interface User20

All Known Implementing Classes:
User20Impl

public interface User20

A user.

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

Method Summary
 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 setPassword(java.lang.String password)
           
 void setRealEmail(java.lang.String realEmail)
           
 void setRegistrationDate(java.util.Date registrationDate)
           
 void setRoles(java.util.Set roles)
          Update the roles.
 void setViewRealEmail(boolean viewRealEmail)
           
 

Method Detail

getID

public java.lang.Integer getID()
The user identifier.

Returns:
the user ID

getUserName

public java.lang.String getUserName()
The user name.

Returns:
the user name

getGivenName

public java.lang.String getGivenName()
The given name.

Returns:
the given name (firstname)

setGivenName

public void setGivenName(java.lang.String givenName)

getFamilyName

public java.lang.String getFamilyName()
The family name.

Returns:
the family name

setFamilyName

public void setFamilyName(java.lang.String familyName)

getRealEmail

public java.lang.String getRealEmail()

setRealEmail

public void setRealEmail(java.lang.String realEmail)

getFakeEmail

public java.lang.String getFakeEmail()

setFakeEmail

public void setFakeEmail(java.lang.String fakeEmail)

getRegistrationDate

public java.util.Date getRegistrationDate()

setRegistrationDate

public void setRegistrationDate(java.util.Date registrationDate)

getViewRealEmail

public boolean getViewRealEmail()

setViewRealEmail

public void setViewRealEmail(boolean viewRealEmail)

getPassword

public java.lang.String getPassword()

setPassword

public void setPassword(java.lang.String password)

getEnabled

public boolean getEnabled()

setEnabled

public void setEnabled(boolean enable)

getLastVisitDate

public java.util.Date getLastVisitDate()
Return the last time the user logged in or null if this date is not known.


getRoles

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


setRoles

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


getRoleNames

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


getProperties

public PropertyMap getProperties()
Returns the user properties.


getPreferenceStore

public PreferenceStore getPreferenceStore()
Returns the user preference store.


getSignature

public java.lang.String getSignature()
Returns the signature of the user (for forums for example)