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
MXException
public static boolean deleteDirectory(java.io.File dir)
public static void removeFromCOS(int subscriptionId, java.lang.String agreementNum)
public void updateCOSInfo() throws MXException
MXException
public void suspendInactiveTenants() throws MXException
MXException
public void suspendNeverUsedTenants() throws MXException
MXException
public void cancelInactiveTenants() throws MXException
MXException