T
- public abstract class AuditedSchemaUpdaterStepBase extends SchemaUpdaterStepBase
schema update step
which supports automated handling
of auditing tables.CdmUpdater
,
ISchemaUpdater
Modifier and Type | Field and Description |
---|---|
protected boolean |
includeAudTable |
protected boolean |
isAuditing |
protected java.lang.String |
tableName |
stepName
Modifier | Constructor and Description |
---|---|
protected |
AuditedSchemaUpdaterStepBase(java.util.List<? extends ISchemaUpdaterStep> stepList,
java.lang.String stepName,
java.lang.String tableName,
boolean includedAudTable) |
protected |
AuditedSchemaUpdaterStepBase(java.util.List<ISchemaUpdaterStep> stepList,
java.lang.String stepName,
boolean includedAudTable) |
Modifier and Type | Method and Description |
---|---|
void |
invoke(ICdmDataSource datasource,
IProgressMonitor monitor,
CaseType caseType,
SchemaUpdateResult result) |
protected abstract void |
invokeOnTable(java.lang.String tableName,
ICdmDataSource datasource,
IProgressMonitor monitor,
CaseType caseType,
SchemaUpdateResult result)
Invoke the update on the given table of name tableName.
|
getBoolean, getEnglishLanguageId, getInnerSteps, getLanguageId, getNowString, getStepName, isIgnoreErrors, setIgnoreErrors, setStepName, toString
protected java.lang.String tableName
protected boolean includeAudTable
protected boolean isAuditing
protected AuditedSchemaUpdaterStepBase(java.util.List<ISchemaUpdaterStep> stepList, java.lang.String stepName, boolean includedAudTable)
protected AuditedSchemaUpdaterStepBase(java.util.List<? extends ISchemaUpdaterStep> stepList, java.lang.String stepName, java.lang.String tableName, boolean includedAudTable)
public void invoke(ICdmDataSource datasource, IProgressMonitor monitor, CaseType caseType, SchemaUpdateResult result) throws java.sql.SQLException
invoke
in interface ISchemaUpdaterStep
invoke
in class SchemaUpdaterStepBase
java.sql.SQLException
protected abstract void invokeOnTable(java.lang.String tableName, ICdmDataSource datasource, IProgressMonitor monitor, CaseType caseType, SchemaUpdateResult result)
tableName
- the tableName, already in the correct casedatasource
- the data sourcemonitor
- the monitorcaseType
- the caseType (in case other tables are also affectedresult
- Copyright © 2007-2020 EDIT. All Rights Reserved.