result.setAclPropagation(convert(AclPropagation.class, aclCapabilities.getPropagation()));
List<PermissionDefinition> permissionDefinitionList = new ArrayList<PermissionDefinition>();
for (CmisPermissionDefinition permDef : aclCapabilities.getPermissions()) {
PermissionDefinitionDataImpl permDefData = new PermissionDefinitionDataImpl();
permDefData.setPermission(permDef.getPermission());
permDefData.setDescription(permDef.getDescription());
convertExtension(permDef, permDefData);
permissionDefinitionList.add(permDefData);
}
result.setPermissionDefinitionData(permissionDefinitionList);