Search in sources :

Example 1 with BackupDataTable

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

the class Backup method list.

@Restrictions({ @Restrict("SYSTEM_ADMIN"), @Restrict("SYSTEM_MONITOR"), @Restrict("RESTRICTED_SYSTEM_ADMIN") })
public static void list(Type type) {
    if (type == null) {
        type = Type.LOCAL;
    }
    BackupDataTable dataTable = new BackupDataTable(type);
    renderArgs.put("type", type);
    render(dataTable);
}
Also used : BackupDataTable(models.datatable.BackupDataTable) Restrictions(controllers.deadbolt.Restrictions)

Aggregations

Restrictions (controllers.deadbolt.Restrictions)1 BackupDataTable (models.datatable.BackupDataTable)1