public interface TenantMgtListener
| Modifier and Type | Method and Description |
|---|---|
int |
getListenerOrder() |
default void |
onPostDelete(int tenantId,
String tenantUuid,
String adminUserUuid)
On Post delete method will delete product specific data.
|
void |
onPreDelete(int tenantId)
On Pre delete method will delete product specific data
|
default void |
onPreTenantCreate(TenantInfoBean tenantInfoBean)
This method will be called before a tenant creation.
|
void |
onSubscriptionPlanChange(int tenentId,
String oldPlan,
String newPlan) |
void |
onTenantActivation(int tenantId) |
void |
onTenantCreate(TenantInfoBean tenantInfo) |
void |
onTenantDeactivation(int tenantId) |
void |
onTenantDelete(int tenantId) |
void |
onTenantInitialActivation(int tenantId) |
void |
onTenantRename(int tenantId,
String oldDomainName,
String newDomainName) |
void |
onTenantUpdate(TenantInfoBean tenantInfo) |
void onTenantCreate(TenantInfoBean tenantInfo) throws StratosException
StratosExceptionvoid onTenantUpdate(TenantInfoBean tenantInfo) throws StratosException
StratosExceptionvoid onTenantDelete(int tenantId)
void onTenantRename(int tenantId,
String oldDomainName,
String newDomainName)
throws StratosException
StratosExceptionvoid onTenantInitialActivation(int tenantId)
throws StratosException
StratosExceptionvoid onTenantActivation(int tenantId)
throws StratosException
StratosExceptionvoid onTenantDeactivation(int tenantId)
throws StratosException
StratosExceptionvoid onSubscriptionPlanChange(int tenentId,
String oldPlan,
String newPlan)
throws StratosException
StratosExceptionint getListenerOrder()
void onPreDelete(int tenantId)
throws StratosException
tenantId - - Tenant IdStratosExceptiondefault void onPreTenantCreate(TenantInfoBean tenantInfoBean) throws StratosException
tenantInfoBean - TenantInfoBeanStratosExceptiondefault void onPostDelete(int tenantId,
String tenantUuid,
String adminUserUuid)
throws StratosException
tenantId - Tenant id.tenantUuid - Tenant unique identifier.adminUserUuid - Tenant admin User unique identifier.StratosException - If any error occurred while deleting data.Copyright © 2022 WSO2. All rights reserved.