use of models.datatable.BlockConsistencyGroupDataTable.BlockConsistencyGroup in project coprhd-controller by CoprHD.
the class ConsistencyGroups method listJson.
public static void listJson(String projectId) {
List<BlockConsistencyGroup> items = Lists.newArrayList();
if (StringUtils.isNotBlank(projectId)) {
for (BlockConsistencyGroupRestRep cg : BlockConsistencyGroupUtils.getBlockConsistencyGroups(projectId)) {
items.add(new BlockConsistencyGroup(cg));
}
}
renderJSON(DataTablesSupport.createJSON(items, params));
}
Aggregations