Search in sources :

Example 1 with ScheduledOrdersDataTable

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

the class ScheduledOrders method list.

public static void list() {
    addNextExecutionWindow();
    renderArgs.put("dataTable", new ScheduledOrdersDataTable());
    TenantSelector.addRenderArgs();
    render();
}
Also used : ScheduledOrdersDataTable(models.datatable.ScheduledOrdersDataTable)

Example 2 with ScheduledOrdersDataTable

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

the class ScheduledOrders method listJson.

public static void listJson() {
    DataTableParams dataTableParams = DataTablesSupport.createParams(params);
    ScheduledOrdersDataTable dataTable = new ScheduledOrdersDataTable();
    renderJSON(DataTablesSupport.createJSON(dataTable.fetchData(dataTableParams), params));
}
Also used : ScheduledOrdersDataTable(models.datatable.ScheduledOrdersDataTable) DataTableParams(util.datatable.DataTableParams)

Aggregations

ScheduledOrdersDataTable (models.datatable.ScheduledOrdersDataTable)2 DataTableParams (util.datatable.DataTableParams)1