@Beta
public interface UserAdminAsyncApi
UserAdminApi| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<? extends User> |
create(String name,
String password)
Creates a new user
|
com.google.common.util.concurrent.ListenableFuture<? extends User> |
create(String name,
String password,
CreateUserOptions options)
Creates a new user
|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
delete(String id)
Deletes an user.
|
com.google.common.util.concurrent.ListenableFuture<? extends User> |
update(String id,
UpdateUserOptions options)
Updates an user
|
@Named(value="user:create") com.google.common.util.concurrent.ListenableFuture<? extends User> create(String name, String password)
@Named(value="user:create") com.google.common.util.concurrent.ListenableFuture<? extends User> create(String name, String password, CreateUserOptions options)
@Named(value="user:delete") com.google.common.util.concurrent.ListenableFuture<Boolean> delete(String id)
@Named(value="user:updateuser") com.google.common.util.concurrent.ListenableFuture<? extends User> update(String id, UpdateUserOptions options)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.