|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Beta public interface TenantAdminAsyncApi
Provides asynchronous access to tenants Administration actions.
TenantAdminApi| Method Summary | |
|---|---|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
addRoleOnTenant(String tenantId,
String userdId,
String roleId)
Adds role to a user on a tenant |
com.google.common.util.concurrent.ListenableFuture<? extends Tenant> |
create(String name)
Creates a new tenant |
com.google.common.util.concurrent.ListenableFuture<? extends Tenant> |
create(String name,
CreateTenantOptions options)
Creates a new tenant |
com.google.common.util.concurrent.ListenableFuture<Boolean> |
delete(String id)
Deletes a tenant. |
com.google.common.util.concurrent.ListenableFuture<Boolean> |
deleteRoleOnTenant(String tenantId,
String userdId,
String roleId)
Deletes role to a user on tenant |
com.google.common.util.concurrent.ListenableFuture<? extends Tenant> |
update(String id,
UpdateTenantOptions options)
Updates a tenant |
| Method Detail |
|---|
@Named(value="tenant:create") com.google.common.util.concurrent.ListenableFuture<? extends Tenant> create(String name)
@Named(value="tenant:create")
com.google.common.util.concurrent.ListenableFuture<? extends Tenant> create(String name,
CreateTenantOptions options)
@Named(value="tenant:delete") com.google.common.util.concurrent.ListenableFuture<Boolean> delete(String id)
@Named(value="tenant:updatetenant")
com.google.common.util.concurrent.ListenableFuture<? extends Tenant> update(String id,
UpdateTenantOptions options)
@Named(value="tenant:addroleontenant")
com.google.common.util.concurrent.ListenableFuture<Boolean> addRoleOnTenant(String tenantId,
String userdId,
String roleId)
@Named(value="tenant:deleteroleontenant")
com.google.common.util.concurrent.ListenableFuture<Boolean> deleteRoleOnTenant(String tenantId,
String userdId,
String roleId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||