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

BasicUserContext - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.test.wsrp.framework.support
Class BasicUserContext

java.lang.Object
  extended byorg.jboss.portal.portlet.support.spi.UserContextSupport
      extended byorg.jboss.portal.test.wsrp.framework.support.BasicUserContext
All Implemented Interfaces:
UserContext

public class BasicUserContext
extends UserContextSupport

Since:
2.4
Version:
$Revision: 5474 $
Author:
Chris Laprun

Constructor Summary
BasicUserContext()
           
 
Method Summary
 java.lang.String getId()
          Retrieves the user id or null if it is not known.
 java.util.Locale getLocale()
          Return the user locale.
 java.util.List getLocales()
          Retrieves the locales that the user is willing to receive information in.
 
Methods inherited from class org.jboss.portal.portlet.support.spi.UserContextSupport
getInformations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicUserContext

public BasicUserContext()
Method Detail

getId

public java.lang.String getId()
Description copied from interface: UserContext
Retrieves the user id or null if it is not known.

Specified by:
getId in interface UserContext
Overrides:
getId in class UserContextSupport

getLocale

public java.util.Locale getLocale()
Description copied from interface: UserContext
Return the user locale.

Specified by:
getLocale in interface UserContext
Overrides:
getLocale in class UserContextSupport

getLocales

public java.util.List getLocales()
Description copied from interface: UserContext
Retrieves the locales that the user is willing to receive information in.

Specified by:
getLocales in interface UserContext
Overrides:
getLocales in class UserContextSupport