use of org.apache.chemistry.opencmis.commons.definitions.PermissionDefinition in project iaf by ibissource.
the class CmisUtils method permissionDefinitionList2xml.
private static XmlBuilder permissionDefinitionList2xml(List<PermissionDefinition> list) {
XmlBuilder permissionsXml = new XmlBuilder("permissions");
for (PermissionDefinition permission : list) {
XmlBuilder permissionXml = new XmlBuilder("permissions");
permissionXml.addAttribute("id", permission.getId());
permissionXml.addAttribute("description", permission.getDescription());
permissionsXml.addSubElement(permissionXml);
}
return permissionsXml;
}
Aggregations