fr.paris.lutece.plugins.htmlpage.service
Class HtmlPageUtil

java.lang.Object
  extended by fr.paris.lutece.plugins.htmlpage.service.HtmlPageUtil

public class HtmlPageUtil
extends java.lang.Object

Author:
lenaini

Constructor Summary
HtmlPageUtil()
           
 
Method Summary
static boolean isVisible(javax.servlet.http.HttpServletRequest request, java.lang.String strRole)
          Checks if the page is visible for the current user
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlPageUtil

public HtmlPageUtil()
Method Detail

isVisible

public static boolean isVisible(javax.servlet.http.HttpServletRequest request,
                                java.lang.String strRole)
Checks if the page is visible for the current user

Parameters:
request - The HTTP request
Returns:
true if the page could be shown to the user


Copyright © 2011 Mairie de Paris. All Rights Reserved.