|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMenuDAO
Method Summary | |
---|---|
void |
createMasterMenu(java.lang.Integer menuID)
Substitution between the current node and his father |
void |
eraseMenu(Menu aMenu)
Implements the query to erase a menu. |
java.util.List |
getChildrenMenu(java.lang.Integer menuId,
java.lang.Integer roleID)
Tells if a menu has children element. |
boolean |
hasRolesAssociated(java.lang.Integer menuId)
Tells if a menu is associated to any roles. |
void |
insertMenu(Menu aMenu)
Implements the query to insert a menu. |
java.util.List |
loadAllMenues()
Loads all detail information for all menus. |
Menu |
loadMenuByID(java.lang.Integer menuID)
Loads all detail information for a menu identified by its menuID . |
Menu |
loadMenuByID(java.lang.Integer menuID,
java.lang.Integer roleID)
Loads all detail information for a menu identified by its menuID . |
Menu |
loadMenuByName(java.lang.String name)
Loads all detail information for a menu whose name is equal to name . |
void |
modifyMenu(Menu aMenu)
Implements the query to modify a menu. |
void |
moveDownMenu(java.lang.Integer menuID)
Move down the current node |
void |
moveUpMenu(java.lang.Integer menuID)
Move up the current node |
Methods inherited from interface it.eng.spagobi.commons.dao.ISpagoBIDao |
---|
getUserProfile, setTenant, setUserID, setUserProfile |
Method Detail |
---|
Menu loadMenuByID(java.lang.Integer menuID) throws it.eng.spago.error.EMFUserError
menuID
. All these information,
archived by a query to the DB, are stored into an menu
object, which is
returned.
menuID
- The id for the menu to load
menu
object containing all loaded information
it.eng.spago.error.EMFUserError
- If an Exception occurredMenu loadMenuByID(java.lang.Integer menuID, java.lang.Integer roleID) throws it.eng.spago.error.EMFUserError
menuID
. All these information,
archived by a query to the DB, are stored into an menu
object, which is
returned.
menuID
- The id for the menu to load
menu
object containing all loaded information
it.eng.spago.error.EMFUserError
- If an Exception occurredMenu loadMenuByName(java.lang.String name) throws it.eng.spago.error.EMFUserError
name
.
name
- The name for the menu to load
menu
object containing all loaded information
it.eng.spago.error.EMFUserError
- If an Exception occurredjava.util.List loadAllMenues() throws it.eng.spago.error.EMFUserError
menu
object. After that, all menus
are stored into a List
, which is returned.
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid modifyMenu(Menu aMenu) throws it.eng.spago.error.EMFUserError
menu
object.
aMenu
- The object containing all modify information
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid insertMenu(Menu aMenu) throws it.eng.spago.error.EMFUserError
menu
object.
aMenu
- The object containing all insert information
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid eraseMenu(Menu aMenu) throws it.eng.spago.error.EMFUserError
menu
object.
aMenu
- The object containing all delete information
it.eng.spago.error.EMFUserError
- If an Exception occurredboolean hasRolesAssociated(java.lang.Integer menuId) throws it.eng.spago.error.EMFUserError
menuId
- The menu identifier
it.eng.spago.error.EMFUserError
- If any exception occurredjava.util.List getChildrenMenu(java.lang.Integer menuId, java.lang.Integer roleID) throws it.eng.spago.error.EMFUserError
menuId
- The menu identifier
it.eng.spago.error.EMFUserError
- If any exception occurredvoid createMasterMenu(java.lang.Integer menuID) throws it.eng.spago.error.EMFUserError
menuID
-
it.eng.spago.error.EMFUserError
void moveUpMenu(java.lang.Integer menuID) throws it.eng.spago.error.EMFUserError
menuID
-
it.eng.spago.error.EMFUserError
void moveDownMenu(java.lang.Integer menuID) throws it.eng.spago.error.EMFUserError
menuID
-
it.eng.spago.error.EMFUserError
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |