fr.paris.lutece.portal.service.admin
Class AdminUserService

java.lang.Object
  extended by fr.paris.lutece.portal.service.admin.AdminUserService

public final class AdminUserService
extends java.lang.Object

This service provides features concerning the administration users


Method Summary
static AdminUser getAdminUser(javax.servlet.http.HttpServletRequest request)
          Get the user in session
static java.util.Locale getLocale(javax.servlet.http.HttpServletRequest request)
          Get the locale for the current request
static boolean getUserAdminRightLevel(javax.servlet.http.HttpServletRequest request)
          Gets the admin right level
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAdminUser

public static AdminUser getAdminUser(javax.servlet.http.HttpServletRequest request)
Get the user in session

Parameters:
request - The HTTP request
Returns:
the user in session

getLocale

public static java.util.Locale getLocale(javax.servlet.http.HttpServletRequest request)
Get the locale for the current request

Parameters:
request - The HTTP request
Returns:
the locale to use with this request

getUserAdminRightLevel

public static boolean getUserAdminRightLevel(javax.servlet.http.HttpServletRequest request)
Gets the admin right level

Parameters:
request - The HTTP request
Returns:
The boolean level right


Copyright © 2010 Mairie de Paris. All Rights Reserved.