Package com.openxava.naviox.impl
Class ModulesHelper
- java.lang.Object
-
- com.openxava.naviox.impl.ModulesHelper
-
public class ModulesHelper extends java.lang.Object
- Author:
- Javier Paniza
-
-
Constructor Summary
Constructors Constructor Description ModulesHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<MetaModule>
getAll(javax.servlet.http.HttpServletRequest request)
static java.lang.String
getCurrent(javax.servlet.http.HttpServletRequest request)
static java.util.Collection<MetaModule>
getInMenu(javax.servlet.http.HttpServletRequest request, Modules modules)
static java.util.List<MetaModule>
getNotInMenu()
static java.lang.String
getUserAccessModule(javax.servlet.ServletRequest request)
static void
init(java.lang.String applicationName)
static boolean
isPublic(javax.servlet.http.HttpServletRequest request, java.lang.String moduleName)
static boolean
showsIndexLink()
static boolean
showsSearchModules(javax.servlet.http.HttpServletRequest request)
-
-
-
Method Detail
-
init
public static void init(java.lang.String applicationName)
-
getCurrent
public static java.lang.String getCurrent(javax.servlet.http.HttpServletRequest request)
-
getUserAccessModule
public static java.lang.String getUserAccessModule(javax.servlet.ServletRequest request)
- Since:
- 5.6
-
getAll
public static java.util.List<MetaModule> getAll(javax.servlet.http.HttpServletRequest request)
-
getNotInMenu
public static java.util.List<MetaModule> getNotInMenu()
- Since:
- 6.5
-
getInMenu
public static java.util.Collection<MetaModule> getInMenu(javax.servlet.http.HttpServletRequest request, Modules modules)
-
isPublic
public static boolean isPublic(javax.servlet.http.HttpServletRequest request, java.lang.String moduleName)
-
showsIndexLink
public static boolean showsIndexLink()
-
showsSearchModules
public static boolean showsSearchModules(javax.servlet.http.HttpServletRequest request)
-
-