BaseUpgrade
instead@Deprecated public abstract class AbstractTenantPatch extends Object implements TenantPatch
Modifier and Type | Field and Description |
---|---|
protected com.edorasware.commons.core.any.AnyWorkObjectDefinitionService |
anyWorkObjectDefinitionService
Deprecated.
|
protected com.edorasware.commons.core.any.AnyWorkObjectService |
anyWorkObjectService
Deprecated.
|
protected com.edorasware.commons.core.util.bulk.BulkWorkObjectProcessor |
bulkWorkObjectProcessor
Deprecated.
|
protected com.edorasware.gear.core.maintenance.MaintenanceService |
maintenanceService
Deprecated.
|
protected com.edorasware.one.cache.OneCache |
oneCache
Deprecated.
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractTenantPatch(String id,
String name,
String description)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
clearCache(String... cacheNames)
Deprecated.
|
protected com.edorasware.commons.core.any.AnyWorkObjectService |
getAnyWorkObjectService()
Deprecated.
|
String |
getClassName()
Deprecated.
|
String |
getDescription()
Deprecated.
|
String |
getId()
Deprecated.
The patch ID, which is used to check whether the patch has already been applied.
|
protected com.edorasware.gear.core.maintenance.MaintenanceService |
getMaintenanceService()
Deprecated.
|
String |
getName()
Deprecated.
|
protected com.edorasware.commons.core.any.AnyWorkObject |
getWorkObjectWithVariable(com.edorasware.commons.core.entity.Type entityType,
String variableName,
boolean isRequired)
Deprecated.
|
void |
postProcess()
Deprecated.
Called after all tenants have been patched.
|
void |
postProcessTenant(String tenantName)
Deprecated.
Called for each tenant, whether or not the patch was applied.
|
void |
preProcess()
Deprecated.
Called before patch processing commences.
|
void |
preProcessOnce()
Deprecated.
Called once before patch processing commences.
|
void |
preProcessTenant(String tenantName)
Deprecated.
Called for each tenant, whether or not the patch was applied.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyPatch, getSummary
@Autowired protected com.edorasware.commons.core.any.AnyWorkObjectService anyWorkObjectService
@Autowired protected com.edorasware.commons.core.any.AnyWorkObjectDefinitionService anyWorkObjectDefinitionService
@Autowired protected com.edorasware.gear.core.maintenance.MaintenanceService maintenanceService
@Autowired protected com.edorasware.commons.core.util.bulk.BulkWorkObjectProcessor bulkWorkObjectProcessor
@Autowired protected com.edorasware.one.cache.OneCache oneCache
public final String getId()
TenantPatch
getId
in interface TenantPatch
public final String getName()
getName
in interface TenantPatch
public final String getClassName()
getClassName
in interface TenantPatch
public final String getDescription()
getDescription
in interface TenantPatch
public void preProcessOnce()
TenantPatch
preProcessOnce
in interface TenantPatch
public void preProcess()
TenantPatch
preProcess
in interface TenantPatch
public void preProcessTenant(String tenantName)
TenantPatch
preProcessTenant
in interface TenantPatch
tenantName
- The name of the tenant to be processed.public void postProcessTenant(String tenantName)
TenantPatch
postProcessTenant
in interface TenantPatch
tenantName
- The name of the tenant to be processed.public void postProcess()
TenantPatch
postProcess
in interface TenantPatch
protected void clearCache(String... cacheNames)
protected final com.edorasware.commons.core.any.AnyWorkObjectService getAnyWorkObjectService()
protected final com.edorasware.gear.core.maintenance.MaintenanceService getMaintenanceService()
protected final com.edorasware.commons.core.any.AnyWorkObject getWorkObjectWithVariable(com.edorasware.commons.core.entity.Type entityType, String variableName, boolean isRequired)
Copyright © 2010 - 2017 edorasware ag. All Rights Reserved.