Refactoring U_Menu to U_WebMenu

This commit is contained in:
shameem_z 2007-09-28 13:22:53 +00:00
parent 8d69c351e4
commit 5c2b706448
3 changed files with 4 additions and 4 deletions

View File

@ -44,7 +44,7 @@ import org.posterita.util.PathInfo;
public class InitWebEnv implements PlugIn
{
public static final String applicationType = UDIFilePropertiesManager.getProperty().get(new Properties(), PropertiesConstant.APPLICATION_TYPE);
//public static final String applicationType = UDIFilePropertiesManager.getProperty().get(new Properties(), PropertiesConstant.APPLICATION_TYPE);
public void init(ActionServlet servlet, ModuleConfig config) throws ServletException

View File

@ -44,7 +44,7 @@ public class MenuGenerator
X_U_RoleMenu roleMenu = new X_U_RoleMenu(ctx, 0, null);
roleMenu.setAD_Role_ID(roleId);
roleMenu.setU_Menu_ID(menuIds[i]);
roleMenu.setU_WebMenu_ID(menuIds[i]);
UDIU_RoleMenu udiRoleMenu = new UDIU_RoleMenu(roleMenu);
udiRoleMenu.save();
}
@ -85,7 +85,7 @@ public class MenuGenerator
X_U_RoleMenu roleMenu = new X_U_RoleMenu(ctx, 0, null);
roleMenu.setAD_Role_ID(roleId);
roleMenu.setU_Menu_ID(menuIds[i]);
roleMenu.setU_WebMenu_ID(menuIds[i]);
UDIU_RoleMenu udiRoleMenu = new UDIU_RoleMenu(roleMenu);
udiRoleMenu.save();
}

View File

@ -58,7 +58,7 @@ public class UpdateRoleMenu extends SvrProcess
}
roleMenu.setAD_Role_ID(roleId);
roleMenu.setU_Menu_ID(menuId);
roleMenu.setU_WebMenu_ID(menuId);
roleMenu.setIsActive(active);
if (!roleMenu.save())