Search in sources :

Example 1 with BucketACLDataTable

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

the class ObjectBuckets method listBucketACL.

public static void listBucketACL(String id) {
    renderArgs.put("dataTable", new BucketACLDataTable());
    renderArgs.put("bucketId", uri(id));
    ViPRCoreClient client = BourneUtil.getViprClient();
    BucketRestRep bucket = client.objectBuckets().get(uri(id));
    renderArgs.put("bucketName", bucket.getName());
    BucketACLForm bucketACL = new BucketACLForm();
    render(bucketACL);
}
Also used : BucketACLDataTable(models.datatable.BucketACLDataTable) ViPRCoreClient(com.emc.vipr.client.ViPRCoreClient) BucketRestRep(com.emc.storageos.model.object.BucketRestRep)

Aggregations

BucketRestRep (com.emc.storageos.model.object.BucketRestRep)1 ViPRCoreClient (com.emc.vipr.client.ViPRCoreClient)1 BucketACLDataTable (models.datatable.BucketACLDataTable)1