it.eng.spagobi.wapp.util
Class MenuUtilities
java.lang.Object
it.eng.spagobi.wapp.util.MenuUtilities
public class MenuUtilities
- extends java.lang.Object
Method Summary |
static void |
getMenuItems(it.eng.spago.base.SourceBean request,
it.eng.spago.base.SourceBean response,
it.eng.spago.security.IEngUserProfile profile)
Gets the elements of menu relative by the user logged. |
static java.lang.String |
getMenuPath(Menu menu)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MODULE_PAGE
public static final java.lang.String MODULE_PAGE
- See Also:
- Constant Field Values
DEFAULT_LAYOUT_MODE
public static final java.lang.String DEFAULT_LAYOUT_MODE
- See Also:
- Constant Field Values
LAYOUT_ALL_TOP
public static final java.lang.String LAYOUT_ALL_TOP
- See Also:
- Constant Field Values
LAYOUT_ALL_LEFT
public static final java.lang.String LAYOUT_ALL_LEFT
- See Also:
- Constant Field Values
LAYOUT_TOP_LEFT
public static final java.lang.String LAYOUT_TOP_LEFT
- See Also:
- Constant Field Values
LAYOUT_ADMIN_MENU
public static final java.lang.String LAYOUT_ADMIN_MENU
- See Also:
- Constant Field Values
DEFAULT_EXTRA
public static final java.lang.String DEFAULT_EXTRA
- See Also:
- Constant Field Values
MENU_MODE
public static final java.lang.String MENU_MODE
- See Also:
- Constant Field Values
MENU_EXTRA
public static final java.lang.String MENU_EXTRA
- See Also:
- Constant Field Values
LIST_MENU
public static final java.lang.String LIST_MENU
- See Also:
- Constant Field Values
MenuUtilities
public MenuUtilities()
getMenuPath
public static java.lang.String getMenuPath(Menu menu)
getMenuItems
public static void getMenuItems(it.eng.spago.base.SourceBean request,
it.eng.spago.base.SourceBean response,
it.eng.spago.security.IEngUserProfile profile)
throws it.eng.spago.error.EMFUserError
- Gets the elements of menu relative by the user logged. It reaches the role from the request and
asks to the DB all detail
menu information, by calling the method
loadMenuByRoleId
.
- Parameters:
request
- The request Source Beanresponse
- The response Source Bean
- Throws:
it.eng.spago.error.EMFUserError
- If an exception occurs