org.jclouds.openstack.keystone.v2_0.extensions
Interface RoleAdminAsyncApi


@Beta
public interface RoleAdminAsyncApi

Provides asynchronous access to roles Administration actions.

See Also:
RoleAdminApi

Method Summary
 com.google.common.util.concurrent.ListenableFuture<? extends Role> create(String name)
          Creates a new role
 com.google.common.util.concurrent.ListenableFuture<Boolean> delete(String id)
          Deletes an role.
 com.google.common.util.concurrent.ListenableFuture<? extends Role> get(String roleId)
          Gets the role
 com.google.common.util.concurrent.ListenableFuture<? extends com.google.common.collect.FluentIterable<? extends Role>> list()
          Returns a summary list of roles.
 

Method Detail

list

@Named(value="role:list")
com.google.common.util.concurrent.ListenableFuture<? extends com.google.common.collect.FluentIterable<? extends Role>> list()
Returns a summary list of roles.

Returns:
The list of roles

create

@Named(value="role:create")
com.google.common.util.concurrent.ListenableFuture<? extends Role> create(String name)
Creates a new role

Returns:
the new role

get

@Named(value="role:get")
com.google.common.util.concurrent.ListenableFuture<? extends Role> get(String roleId)
Gets the role

Returns:
the role

delete

@Named(value="role:delete")
com.google.common.util.concurrent.ListenableFuture<Boolean> delete(String id)
Deletes an role.

Returns:
true if successful


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.