use of models.datatable.ApplicationFullCopySetsDataTable.ApplicationFullCopySets in project coprhd-controller by CoprHD.
the class BlockApplications method applicationCloneJson.
public static void applicationCloneJson(String id) {
List<ApplicationFullCopySets> cloneDetails = Lists.newArrayList();
Set<String> clonesSet = AppSupportUtil.getFullCopySetsByApplication(id);
for (String clone : clonesSet) {
List<NamedRelatedResourceRep> volumeDetailClone = AppSupportUtil.getVolumeGroupFullCopiesForSet(id, clone);
cloneDetails.add(new ApplicationFullCopySets(clone, volumeDetailClone));
}
renderJSON(DataTablesSupport.createJSON(cloneDetails, params));
}
Aggregations