Search in sources :

Example 1 with ApplicationFullCopySets

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));
}
Also used : NamedRelatedResourceRep(com.emc.storageos.model.NamedRelatedResourceRep) ApplicationFullCopySets(models.datatable.ApplicationFullCopySetsDataTable.ApplicationFullCopySets)

Aggregations

NamedRelatedResourceRep (com.emc.storageos.model.NamedRelatedResourceRep)1 ApplicationFullCopySets (models.datatable.ApplicationFullCopySetsDataTable.ApplicationFullCopySets)1