|
|
@ -288,6 +288,8 @@ public class ComponentCollector implements XMLable { |
|
|
|
|
|
|
|
|
|
|
|
private JSONArray getGroupingDetail() { |
|
|
|
private JSONArray getGroupingDetail() { |
|
|
|
JSONArray ja = JSONFactory.createJSON(JSON.ARRAY); |
|
|
|
JSONArray ja = JSONFactory.createJSON(JSON.ARRAY); |
|
|
|
|
|
|
|
try { |
|
|
|
|
|
|
|
DefaultShareGroupManager.getInstance().refresh(); |
|
|
|
Group[] groups = DefaultShareGroupManager.getInstance().getAllGroup(); |
|
|
|
Group[] groups = DefaultShareGroupManager.getInstance().getAllGroup(); |
|
|
|
for(Group group : groups) { |
|
|
|
for(Group group : groups) { |
|
|
|
JSONObject jo = JSONFactory.createJSON(JSON.OBJECT); |
|
|
|
JSONObject jo = JSONFactory.createJSON(JSON.OBJECT); |
|
|
@ -295,6 +297,9 @@ public class ComponentCollector implements XMLable { |
|
|
|
jo.put(CONTAIN_AMOUNT, group.getAllBindInfoList().length); |
|
|
|
jo.put(CONTAIN_AMOUNT, group.getAllBindInfoList().length); |
|
|
|
ja.add(jo); |
|
|
|
ja.add(jo); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
|
|
|
e.printStackTrace(); |
|
|
|
|
|
|
|
} |
|
|
|
return ja; |
|
|
|
return ja; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|