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

User - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.migration.model22.model
Interface User

All Known Implementing Classes:
User22Impl

public interface User

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 (firstname).
 java.lang.Object 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()
           
 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()
           
 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)
          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.
 void setViewRealEmail(boolean viewRealEmail)
           
 

Method Detail

getId

public java.lang.Object getId()
The user identifier.


getUserName

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


getGivenName

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


setGivenName

public void setGivenName(java.lang.String givenName)

getFamilyName

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


setLastVisitDate

public void setLastVisitDate(java.util.Date date)
Set the last visit date on this user.


getPreferredLocale

public java.util.Locale getPreferredLocale()
Return the user preferred locale.


setPreferredLocale

public void setPreferredLocale(java.util.Locale locale)
Set the user preferred locale.


getSignature

public java.lang.String getSignature()
Returns the signature.


setSignature

public void setSignature(java.lang.String signature)
Set the signature.


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.