BaseUpgrade
instead@Deprecated public abstract class AbstractTenantPatch extends Object implements TenantPatch
Modifier and Type | Field and Description |
---|---|
protected com.edorasware.commons.core.util.bulk.BulkWorkObjectProcessor |
bulkWorkObjectProcessor
Deprecated.
|
protected CloudWorkObjectDefinitionService |
definitionService
Deprecated.
|
protected com.edorasware.one.cache.OneCache |
oneCache
Deprecated.
|
protected com.edorasware.commons.core.any.AnyWorkObjectService |
workObjectService
Deprecated.
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractTenantPatch(String id,
String name,
String description)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected String |
addActionToActionsString(String actionName,
String actions)
Deprecated.
|
protected String |
changeActionOnActionsString(String oldActionName,
String newActionName,
String actions)
Deprecated.
|
protected void |
clearCache(String... cacheNames)
Deprecated.
|
protected List<com.edorasware.commons.core.any.AnyWorkObjectDefinition> |
getAllTenantDefinitions()
Deprecated.
|
protected List<com.edorasware.commons.core.any.AnyWorkObject> |
getAllTenantWorkObjects()
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.AnyWorkObjectService |
getWorkObjectService()
Deprecated.
|
protected com.edorasware.commons.core.any.AnyWorkObject |
getWorkObjectWithVariable(com.edorasware.commons.core.entity.Type entityType,
String variableName,
boolean isRequired)
Deprecated.
|
protected void |
migrateWorkObjectsToLatestDefinition(WorkObjectMigrationService migrationService,
String definitionKey)
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.
|
protected String |
removeActionFromActionsString(String actionName,
String actions)
Deprecated.
|
protected void |
updateDefinitions(SystemDefinitionProvider definitionProvider)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyPatch, getSummary
@Autowired protected com.edorasware.commons.core.any.AnyWorkObjectService workObjectService
@Autowired protected CloudWorkObjectDefinitionService definitionService
@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 getWorkObjectService()
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)
protected final void updateDefinitions(SystemDefinitionProvider definitionProvider)
protected final void migrateWorkObjectsToLatestDefinition(WorkObjectMigrationService migrationService, String definitionKey)
protected final List<com.edorasware.commons.core.any.AnyWorkObject> getAllTenantWorkObjects()
protected final List<com.edorasware.commons.core.any.AnyWorkObjectDefinition> getAllTenantDefinitions()
protected String addActionToActionsString(String actionName, String actions)
protected String changeActionOnActionsString(String oldActionName, String newActionName, String actions)
Copyright © 2010 - 2016 edorasware ag. All Rights Reserved.