@Beta
public interface RoleAdminAsyncApi
RoleAdminApi| Modifier and Type | Method and Description |
|---|---|
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.
|
@Named(value="role:list") com.google.common.util.concurrent.ListenableFuture<? extends com.google.common.collect.FluentIterable<? extends Role>> list()
@Named(value="role:create") com.google.common.util.concurrent.ListenableFuture<? extends Role> create(String name)
@Named(value="role:get") com.google.common.util.concurrent.ListenableFuture<? extends Role> get(String roleId)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.