Refactoring U_Menu to U_WebMenu
This commit is contained in:
parent
9d63b628e3
commit
8d69c351e4
|
@ -260,7 +260,7 @@ public class POSClientManager extends ClientManager
|
|||
UDIU_Menu udiMenu = (UDIU_Menu)posMFactory.get(nCtx, key);
|
||||
MRoleMenu roleMenu = new MRoleMenu(ctx, 0, trxName);
|
||||
roleMenu.setAD_Role_ID(role.get_ID());
|
||||
roleMenu.setU_Menu_ID(udiMenu.getID());
|
||||
roleMenu.setU_WebMenu_ID(udiMenu.getID());
|
||||
UDIU_RoleMenu udiRoleMenu = new UDIU_RoleMenu(roleMenu);
|
||||
udiRoleMenu.save();
|
||||
}
|
||||
|
|
|
@ -406,7 +406,7 @@ public class RoleManager
|
|||
{
|
||||
MRoleMenu roleMenu = new MRoleMenu(ctx, 0, trxName);
|
||||
roleMenu.setAD_Role_ID(role.get_ID());
|
||||
roleMenu.setU_Menu_ID(menuId[i]);
|
||||
roleMenu.setU_WebMenu_ID(menuId[i]);
|
||||
UDIU_RoleMenu udiRoleMenu = new UDIU_RoleMenu(roleMenu);
|
||||
udiRoleMenu.save();
|
||||
}
|
||||
|
@ -417,7 +417,7 @@ public class RoleManager
|
|||
{
|
||||
MRoleMenu roleMenu = new MRoleMenu(ctx, 0, trxName);
|
||||
roleMenu.setAD_Role_ID(role.get_ID());
|
||||
roleMenu.setU_Menu_ID(defMenuIds[i]);
|
||||
roleMenu.setU_WebMenu_ID(defMenuIds[i]);
|
||||
UDIU_RoleMenu udiRoleMenu = new UDIU_RoleMenu(roleMenu);
|
||||
udiRoleMenu.save();
|
||||
}
|
||||
|
|
|
@ -51,7 +51,7 @@ public class RoleMenuManager
|
|||
|
||||
roleMenu = new MRoleMenu(ctx, 0, trxName);
|
||||
roleMenu.setAD_Role_ID(roleId);
|
||||
roleMenu.setU_Menu_ID(menuId);
|
||||
roleMenu.setU_WebMenu_ID(menuId);
|
||||
|
||||
UDIU_RoleMenu udiRoleMenu = new UDIU_RoleMenu(roleMenu);
|
||||
udiRoleMenu.save();
|
||||
|
|
Loading…
Reference in New Issue