* @param namespace
* the namespace ID.
* @return the list of retention classes.
*/
public List<RetentionClassInfoRep> getRetentionClasses(String namespace) {
RetentionClassListRep list = client
.get(RetentionClassListRep.class, NAMESPACE_RETENTION_CLASSES_URL, namespace);
return ResourceUtils.defaultList(list != null ? list.getRetentionClasses() : null);
}