|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.portal.portlet.impl.spi.AbstractUserContext
public class AbstractUserContext
| Constructor Summary | |
|---|---|
AbstractUserContext()
|
|
AbstractUserContext(javax.servlet.http.HttpServletRequest clientRequest)
|
|
AbstractUserContext(java.lang.String id)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getId()
Returns the user id or null if none was provided. |
java.util.Map |
getInformations()
Returns an immutable empty map. |
java.util.Locale |
getLocale()
Returns the client request locale or Locale.ENGLISH if no request was provided. |
java.util.List |
getLocales()
Returns the client request locales or an empty list if no request was provided. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractUserContext(javax.servlet.http.HttpServletRequest clientRequest)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public AbstractUserContext(java.lang.String id)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic AbstractUserContext()
| Method Detail |
|---|
public java.lang.String getId()
getId in interface UserContextpublic java.util.Map getInformations()
getInformations in interface UserContextP3PConstantspublic java.util.Locale getLocale()
Locale.ENGLISH if no request was provided.
getLocale in interface UserContextpublic java.util.List getLocales()
getLocales in interface UserContext
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||