use of models.datatable.VirtualDataCentersDataTable in project coprhd-controller by CoprHD.
the class VirtualDataCenters method list.
public static void list() {
VirtualDataCentersDataTable dataTable = new VirtualDataCentersDataTable();
String secretKey = "";
if (Security.isSecurityAdminOrRestrictedSecurityAdmin()) {
secretKey = secretKey();
}
String inProgressTask = flash.get("inProgressTask");
// handle page refresh that empties the flash scope
if (inProgressTask == null || inProgressTask.isEmpty()) {
inProgressTask = getPendingVDCTask();
}
Common.angularRenderArgs().put("taskId", inProgressTask);
render(dataTable, secretKey);
}
Aggregations