org.jboss.portal.portlet.support.spi
Class UserContextSupport

java.lang.Object
  extended by org.jboss.portal.portlet.support.spi.UserContextSupport
All Implemented Interfaces:
UserContext
Direct Known Subclasses:
UserContextImpl

public class UserContextSupport
extends java.lang.Object
implements UserContext

Version:
$Revision: 6195 $
Author:
Julien Viet

Constructor Summary
UserContextSupport()
           
 
Method Summary
 java.lang.String getId()
          Returns null.
 java.util.Map getInformations()
          Returns Collections.EMPTY_MAP.
 java.util.Locale getLocale()
          Returns Locale.ENGLISH.
 java.util.List getLocales()
          Returns Collections.EMPTY_LIST.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserContextSupport

public UserContextSupport()
Method Detail

getId

public java.lang.String getId()
Returns null.

Specified by:
getId in interface UserContext
Returns:
the user id

getInformations

public java.util.Map getInformations()
Returns Collections.EMPTY_MAP.

Specified by:
getInformations in interface UserContext
Returns:
a map containing user profile informaton
See Also:
P3PConstants

getLocale

public java.util.Locale getLocale()
Returns Locale.ENGLISH.

Specified by:
getLocale in interface UserContext
Returns:
the user locale.

getLocales

public java.util.List getLocales()
Returns Collections.EMPTY_LIST.

Specified by:
getLocales in interface UserContext
Returns:
the locales ordered according to user preference (preferred first).