@Beta
public interface TenantAdminAsyncApi
TenantAdminApi| Modifier and Type | Method and Description |
|---|---|
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
|
@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)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.