Search in sources :

Example 1 with ComputeVirtualPoolElementDataTable

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

the class ComputeVirtualPools method listElements.

public static void listElements(String computePoolId) {
    ComputeVirtualPoolRestRep computeVirtualPool = ComputeVirtualPoolUtils.getComputeVirtualPool(computePoolId);
    ComputeVirtualPoolElementDataTable dataTable = new ComputeVirtualPoolElementDataTable();
    render("@listElements", computeVirtualPool, dataTable);
}
Also used : ComputeVirtualPoolRestRep(com.emc.storageos.model.vpool.ComputeVirtualPoolRestRep) ComputeVirtualPoolElementDataTable(models.datatable.ComputeVirtualPoolElementDataTable)

Example 2 with ComputeVirtualPoolElementDataTable

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

the class ComputeVirtualPools method elements.

public static void elements(String id) {
    addReferenceData();
    ComputeVirtualPoolRestRep computeVirtualPool = ComputeVirtualPoolUtils.getComputeVirtualPool(id);
    ComputeVirtualPoolElementDataTable dataTable = new ComputeVirtualPoolElementDataTable();
    render("@listElements", computeVirtualPool, dataTable);
}
Also used : ComputeVirtualPoolRestRep(com.emc.storageos.model.vpool.ComputeVirtualPoolRestRep) ComputeVirtualPoolElementDataTable(models.datatable.ComputeVirtualPoolElementDataTable)

Example 3 with ComputeVirtualPoolElementDataTable

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

the class ComputeVirtualPools method createComputeVirtualPoolElementDataTable.

private static ComputeVirtualPoolElementDataTable createComputeVirtualPoolElementDataTable() {
    ComputeVirtualPoolElementDataTable dataTable = new ComputeVirtualPoolElementDataTable();
    dataTable.alterColumn("computeVirtualPool").hidden();
    dataTable.alterColumn("computeSystem").setVisible(true);
    dataTable.setDefaultSort("computeSystem", "asc");
    dataTable.alterColumn("name").hidden();
    return dataTable;
}
Also used : ComputeVirtualPoolElementDataTable(models.datatable.ComputeVirtualPoolElementDataTable)

Aggregations

ComputeVirtualPoolElementDataTable (models.datatable.ComputeVirtualPoolElementDataTable)3 ComputeVirtualPoolRestRep (com.emc.storageos.model.vpool.ComputeVirtualPoolRestRep)2