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
StratosException
void onTenantUpdate(TenantInfoBean tenantInfo) throws StratosException
StratosException
void onTenantDelete(int tenantId)
void onTenantRename(int tenantId, String oldDomainName, String newDomainName) throws StratosException
StratosException
void onTenantInitialActivation(int tenantId) throws StratosException
StratosException
void onTenantActivation(int tenantId) throws StratosException
StratosException
void onTenantDeactivation(int tenantId) throws StratosException
StratosException
void onSubscriptionPlanChange(int tenentId, String oldPlan, String newPlan) throws StratosException
StratosException
int getListenerOrder()
void onPreDelete(int tenantId) throws StratosException
tenantId
- - Tenant IdStratosException
default void onPreTenantCreate(TenantInfoBean tenantInfoBean) throws StratosException
tenantInfoBean
- TenantInfoBeanStratosException
default 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.