|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMenuRolesDAO
Method Summary | |
---|---|
void |
eraseMenuRole(MenuRoles aMenuRole)
Implements the query to erase a MenuRoles. |
void |
insertMenuRole(MenuRoles aMenuRole)
Implements the query to insert a MenuRole. |
java.util.List |
loadMenuByRoleId(java.lang.Integer roleId)
Loads all detail information for all menu compatible to the role specified at input. |
MenuRoles |
loadMenuRoles(java.lang.Integer menuId,
java.lang.Integer roleId)
Loads the list of MenuRoles associated to the input menuId and roleId . |
void |
modifyMenuRole(MenuRoles aMenuRole)
Implements the query to modify a MenuRole. |
Method Detail |
---|
java.util.List loadMenuByRoleId(java.lang.Integer roleId) throws it.eng.spago.error.EMFUserError
String
object.
After that, all names are stored into a List
, which is returned.
roleId
- the role id
it.eng.spago.error.EMFUserError
- If an Exception occurredMenuRoles loadMenuRoles(java.lang.Integer menuId, java.lang.Integer roleId) throws it.eng.spago.error.EMFUserError
menuId
and roleId
. All these information,
archived by a query to the DB, are stored into a List of MenuRoles
object,
which is returned.
menuId
- The id for the menu to loadroleId
- The role id for the role to load
MenuRoles
object containing all loaded information
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid modifyMenuRole(MenuRoles aMenuRole) throws it.eng.spago.error.EMFUserError
MenuRoles
object.
aMenuRole
- The MenuRoles containing all modify information
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid insertMenuRole(MenuRoles aMenuRole) throws it.eng.spago.error.EMFUserError
MenuRoles
object.
aMenuRole
- the a menu role
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid eraseMenuRole(MenuRoles aMenuRole) throws it.eng.spago.error.EMFUserError
MenuRoles
object.
aMenuRole
- The object containing all delete information
it.eng.spago.error.EMFUserError
- If an Exception occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |