Interface TenantMgtListener
-
public interface TenantMgtListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description intgetListenerOrder()default voidonPostDelete(int tenantId, String tenantUuid, String adminUserUuid)On Post delete method will delete product specific data.voidonPreDelete(int tenantId)On Pre delete method will delete product specific datadefault voidonPreTenantCreate(TenantInfoBean tenantInfoBean)This method will be called before a tenant creation.voidonSubscriptionPlanChange(int tenentId, String oldPlan, String newPlan)voidonTenantActivation(int tenantId)voidonTenantCreate(TenantInfoBean tenantInfo)voidonTenantDeactivation(int tenantId)voidonTenantDelete(int tenantId)voidonTenantInitialActivation(int tenantId)voidonTenantRename(int tenantId, String oldDomainName, String newDomainName)voidonTenantUpdate(TenantInfoBean tenantInfo)
-
-
-
Method Detail
-
onTenantCreate
void onTenantCreate(TenantInfoBean tenantInfo) throws StratosException
- Throws:
StratosException
-
onTenantUpdate
void onTenantUpdate(TenantInfoBean tenantInfo) throws StratosException
- Throws:
StratosException
-
onTenantDelete
void onTenantDelete(int tenantId)
-
onTenantRename
void onTenantRename(int tenantId, String oldDomainName, String newDomainName) throws StratosException- Throws:
StratosException
-
onTenantInitialActivation
void onTenantInitialActivation(int tenantId) throws StratosException- Throws:
StratosException
-
onTenantActivation
void onTenantActivation(int tenantId) throws StratosException- Throws:
StratosException
-
onTenantDeactivation
void onTenantDeactivation(int tenantId) throws StratosException- Throws:
StratosException
-
onSubscriptionPlanChange
void onSubscriptionPlanChange(int tenentId, String oldPlan, String newPlan) throws StratosException- Throws:
StratosException
-
getListenerOrder
int getListenerOrder()
-
onPreDelete
void onPreDelete(int tenantId) throws StratosExceptionOn Pre delete method will delete product specific data- Parameters:
tenantId- - Tenant Id- Throws:
StratosException
-
onPreTenantCreate
default void onPreTenantCreate(TenantInfoBean tenantInfoBean) throws StratosException
This method will be called before a tenant creation.- Parameters:
tenantInfoBean- TenantInfoBean- Throws:
StratosException
-
onPostDelete
default void onPostDelete(int tenantId, String tenantUuid, String adminUserUuid) throws StratosExceptionOn Post delete method will delete product specific data.- Parameters:
tenantId- Tenant id.tenantUuid- Tenant unique identifier.adminUserUuid- Tenant admin User unique identifier.- Throws:
StratosException- If any error occurred while deleting data.
-
-