|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Beta public interface RoleAdminAsyncApi
Provides asynchronous access to roles Administration actions.
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 |
|---|
@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)
@Named(value="role:delete") com.google.common.util.concurrent.ListenableFuture<Boolean> delete(String id)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||