org.directdemocracyportal.democracy.web
Class UserState

Package class diagram package UserState
java.lang.Object
  extended by org.directdemocracyportal.democracy.web.UserState

public class UserState
extends java.lang.Object

The Class UserState.


Field Summary
Modifier and Type Field and Description
static thinwire.ui.Application.Local<java.util.Locale> locale
          The Constant locale.
static thinwire.ui.Application.Local<User> user
          The Constant user.
static thinwire.ui.Application.Local<java.util.Map<java.lang.String,java.lang.String>> userSettings
          The Constant userSettings.
 
Constructor Summary
Constructor and Description
UserState()
           
 
Method Summary
Modifier and Type Method and Description
static java.lang.String getAcceptLanguage()
          Gets the accept language.
static java.lang.String getSessionId()
          Gets the session id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

user

public static final thinwire.ui.Application.Local<User> user
The Constant user.


locale

public static final thinwire.ui.Application.Local<java.util.Locale> locale
The Constant locale.


userSettings

public static final thinwire.ui.Application.Local<java.util.Map<java.lang.String,java.lang.String>> userSettings
The Constant userSettings.

Constructor Detail

UserState

public UserState()
Method Detail

getSessionId

public static java.lang.String getSessionId()
Gets the session id.

Returns:
the session id

getAcceptLanguage

public static java.lang.String getAcceptLanguage()
Gets the accept language.

Returns:
the accept language


Copyright © 2004-2010 www.DirectDemocracyPortal.org. All Rights Reserved.