Search in sources :

Example 1 with VirtualPoolInfo

use of models.datatable.VirtualPoolDataTable.VirtualPoolInfo in project coprhd-controller by CoprHD.

the class FileVirtualPools method listJson.

public static void listJson() {
    List<VirtualPoolInfo> items = Lists.newArrayList();
    for (FileVirtualPoolRestRep virtualPool : VirtualPoolUtils.getFileVirtualPools()) {
        items.add(new VirtualPoolInfo(virtualPool));
    }
    renderJSON(DataTablesSupport.createJSON(items, params));
}
Also used : FileVirtualPoolRestRep(com.emc.storageos.model.vpool.FileVirtualPoolRestRep) VirtualPoolInfo(models.datatable.VirtualPoolDataTable.VirtualPoolInfo)

Example 2 with VirtualPoolInfo

use of models.datatable.VirtualPoolDataTable.VirtualPoolInfo in project coprhd-controller by CoprHD.

the class VirtualArrays method virtualPoolsJson.

public static void virtualPoolsJson(String id) {
    List<VirtualPoolInfo> items = Lists.newArrayList();
    for (VirtualPoolCommonRestRep virtualPool : VirtualPoolUtils.getVirtualPoolsForVirtualArray(uri(id))) {
        items.add(new VirtualPoolInfo(virtualPool));
    }
    renderJSON(DataTablesSupport.createJSON(items, params));
}
Also used : VirtualPoolInfo(models.datatable.VirtualPoolDataTable.VirtualPoolInfo) VirtualPoolCommonRestRep(com.emc.storageos.model.vpool.VirtualPoolCommonRestRep)

Example 3 with VirtualPoolInfo

use of models.datatable.VirtualPoolDataTable.VirtualPoolInfo in project coprhd-controller by CoprHD.

the class BlockVirtualPools method listJson.

public static void listJson() {
    List<VirtualPoolInfo> items = Lists.newArrayList();
    for (BlockVirtualPoolRestRep virtualPool : VirtualPoolUtils.getBlockVirtualPools()) {
        items.add(new VirtualPoolInfo(virtualPool));
    }
    renderJSON(DataTablesSupport.createJSON(items, params));
}
Also used : VirtualPoolInfo(models.datatable.VirtualPoolDataTable.VirtualPoolInfo) BlockVirtualPoolRestRep(com.emc.storageos.model.vpool.BlockVirtualPoolRestRep)

Example 4 with VirtualPoolInfo

use of models.datatable.VirtualPoolDataTable.VirtualPoolInfo in project coprhd-controller by CoprHD.

the class ObjectVirtualPools method listJson.

public static void listJson() {
    List<VirtualPoolInfo> items = Lists.newArrayList();
    for (ObjectVirtualPoolRestRep virtualPool : VirtualPoolUtils.getObjectVirtualPools()) {
        items.add(new VirtualPoolInfo(virtualPool));
    }
    renderJSON(DataTablesSupport.createJSON(items, params));
}
Also used : ObjectVirtualPoolRestRep(com.emc.storageos.model.vpool.ObjectVirtualPoolRestRep) VirtualPoolInfo(models.datatable.VirtualPoolDataTable.VirtualPoolInfo)

Aggregations

VirtualPoolInfo (models.datatable.VirtualPoolDataTable.VirtualPoolInfo)4 BlockVirtualPoolRestRep (com.emc.storageos.model.vpool.BlockVirtualPoolRestRep)1 FileVirtualPoolRestRep (com.emc.storageos.model.vpool.FileVirtualPoolRestRep)1 ObjectVirtualPoolRestRep (com.emc.storageos.model.vpool.ObjectVirtualPoolRestRep)1 VirtualPoolCommonRestRep (com.emc.storageos.model.vpool.VirtualPoolCommonRestRep)1