if (folderInfo.hasAcl()) {
feed.writeAclLink(compileUrl(baseUrl, RESOURCE_ACL, folderInfo.getId()));
}
if (folderInfo.supportsPolicies()) {
feed.writeAclLink(compileUrl(baseUrl, RESOURCE_POLICIES, folderInfo.getId()));
}
if (folderInfo.supportsRelationships()) {
feed.writeRelationshipsLink(compileUrl(baseUrl, RESOURCE_RELATIONSHIPS, folderInfo.getId()));