public class TenantRemover
extends java.lang.Object
| Constructor and Description |
|---|
TenantRemover()
Default Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancelInactiveTenants()
Inactivity tenants who did not access system for 30 days
|
static boolean |
deleteDirectory(java.io.File dir)
Delete directory
|
void |
remove(java.lang.String ifaceTableEndPoint,
boolean deleteImmediatly)
Remove all deleted tenants
|
static void |
removeFromCOS(int subscriptionId,
java.lang.String agreementNum)
Delete directory
|
void |
suspendInactiveTenants()
Inactivity tenants who did not access system for 30 days
|
void |
suspendNeverUsedTenants()
Inactivity tenants who did not access system for 30 days
|
void |
updateCOSInfo()
Remove all deleted tenants
|
public void remove(java.lang.String ifaceTableEndPoint,
boolean deleteImmediatly)
throws MXException
MXExceptionpublic static boolean deleteDirectory(java.io.File dir)
public static void removeFromCOS(int subscriptionId,
java.lang.String agreementNum)
public void updateCOSInfo()
throws MXException
MXExceptionpublic void suspendInactiveTenants()
throws MXException
MXExceptionpublic void suspendNeverUsedTenants()
throws MXException
MXExceptionpublic void cancelInactiveTenants()
throws MXException
MXException