Interface TenantMgtListener
public interface TenantMgtListener
-
Method Summary
Modifier and TypeMethodDescriptionintdefault 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 Details
-
onTenantCreate
- Throws:
StratosException
-
onTenantUpdate
- Throws:
StratosException
-
onTenantDelete
void onTenantDelete(int tenantId) -
onTenantRename
void onTenantRename(int tenantId, String oldDomainName, String newDomainName) throws StratosException - Throws:
StratosException
-
onTenantInitialActivation
- Throws:
StratosException
-
onTenantActivation
- Throws:
StratosException
-
onTenantDeactivation
- Throws:
StratosException
-
onSubscriptionPlanChange
- Throws:
StratosException
-
getListenerOrder
int getListenerOrder() -
onPreDelete
On Pre delete method will delete product specific data- Parameters:
tenantId- - Tenant Id- Throws:
StratosException
-
onPreTenantCreate
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 StratosException On 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.
-