it.eng.spagobi.wapp.dao
Interface IMenuRolesDAO

All Superinterfaces:
ISpagoBIDao
All Known Implementing Classes:
MenuRolesDAOImpl

public interface IMenuRolesDAO
extends ISpagoBIDao

Author:
Antonella Giachino (antonella.giachino@eng.it)

Method Summary
 java.util.List loadMenuByRoleId(java.lang.Integer roleId)
          Loads all detail information for all menu compatible to the role specified at input.
 
Methods inherited from interface it.eng.spagobi.commons.dao.ISpagoBIDao
getUserProfile, setUserID, setUserProfile
 

Method Detail

loadMenuByRoleId

java.util.List loadMenuByRoleId(java.lang.Integer roleId)
                                throws it.eng.spago.error.EMFUserError
Loads all detail information for all menu compatible to the role specified at input. For each of them, name is stored into a String object. After that, all names are stored into a List, which is returned.

Parameters:
roleId - the role id
Returns:
A list containing all menu objects compatible with the role passed at input
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred