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));
}
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));
}
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));
}
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));
}
Aggregations