MutableConfiguration toolsConfig = newGroup.addChild(EXPORT_KEY_COLLABTOOLS);
CollaborationTools ct = CollaborationToolsFactory.getInstance().getOrCreateCollaborationTools(group);
for (int i = 0; i < CollaborationTools.TOOLS.length; i++) {
toolsConfig.addAttribute(CollaborationTools.TOOLS[i], ct.isToolEnabled(CollaborationTools.TOOLS[i]) ? "true" : "false");
}
Long calendarAccess = ct.lookupCalendarAccess();
if (calendarAccess != null) {
newGroup.addAttribute(EXPORT_KEY_CALENDAR_ACCESS,calendarAccess);
}
String info = ct.lookupNews();
if(info!=null && !info.trim().equals("")) {