public class HtmlPageUtil extends Object
| Constructor and Description |
|---|
HtmlPageUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Timestamp |
convertToTimestamp(String strDate)
Convert to sql date
|
static boolean |
isActivedPageHtml(HtmlPage htmlPage)
Checks if the htmlpage could be shown
|
static boolean |
isRoleExist(String strRole)
Checks if htmlpage have role
|
static boolean |
isVisible(javax.servlet.http.HttpServletRequest request,
String strRole)
Checks if the page is visible for the current user
|
public static boolean isVisible(javax.servlet.http.HttpServletRequest request,
String strRole)
request - The HTTP requestpublic static boolean isActivedPageHtml(HtmlPage htmlPage)
htmlPage - public static boolean isRoleExist(String strRole)
strRole - Copyright © 2023 City of Paris. All rights reserved.