From 8d69c351e4472db573f0fa0fd44e6b57122f9669 Mon Sep 17 00:00:00 2001 From: shameem_z Date: Fri, 28 Sep 2007 13:20:01 +0000 Subject: [PATCH] Refactoring U_Menu to U_WebMenu --- .../main/org/posterita/businesslogic/POSClientManager.java | 2 +- .../src/main/org/posterita/businesslogic/RoleManager.java | 4 ++-- .../src/main/org/posterita/businesslogic/RoleMenuManager.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/posterita/src/main/org/posterita/businesslogic/POSClientManager.java b/posterita/src/main/org/posterita/businesslogic/POSClientManager.java index dfa89425e4..d86a67a7d7 100644 --- a/posterita/src/main/org/posterita/businesslogic/POSClientManager.java +++ b/posterita/src/main/org/posterita/businesslogic/POSClientManager.java @@ -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(); } diff --git a/posterita/src/main/org/posterita/businesslogic/RoleManager.java b/posterita/src/main/org/posterita/businesslogic/RoleManager.java index 0630e7e0c2..ce8962db7a 100644 --- a/posterita/src/main/org/posterita/businesslogic/RoleManager.java +++ b/posterita/src/main/org/posterita/businesslogic/RoleManager.java @@ -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(); } diff --git a/posterita/src/main/org/posterita/businesslogic/RoleMenuManager.java b/posterita/src/main/org/posterita/businesslogic/RoleMenuManager.java index 26873e89e8..09640c58df 100644 --- a/posterita/src/main/org/posterita/businesslogic/RoleMenuManager.java +++ b/posterita/src/main/org/posterita/businesslogic/RoleMenuManager.java @@ -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();