//获取产品线
JSONObject json = new JSONObject();
JSONArray jsonArray = null;
INavigationWsProxy iNavigationWs = new INavigationWsProxy();
// 登录用户信息
UserInfoBean user = super.getUserInfo(aRequest);
String groupId = (String) user.getProperty(CheckConstant.EQ_GROUP);
String isControlSB = (String) user.getProperty("ISCONTROLED_SB");
// 获取产品线同级菜单
try
{
json.put("group_id", groupId);
if (isControlSB != null && "1".equals(isControlSB.trim()))
{
json.put("isControlSB", "TRUE");
}
else
{
json.put("isControlSB", "FALSE");
}
json.put("nlsLang", nls);
json.put("securityLevel",DocFeedbackConstants.SECURITY_LEVEL_COMMON);
//调用WS,查询产品线
String result = iNavigationWs.getProductLineNodes(json.toString());
//如果获取的产品线不为空。
if ( null != result && !"".equals(result) && !"[]".equals(result))
{
jsonArray = new JSONArray(result);
session.setAttribute("product_LineList" + nls, jsonArray);
}
}
catch (Exception e)
{
e.printStackTrace();
throw e;
}
return jsonArray;
}