From b687d07e46a7758c44e2b9fe5e6b5b68faf83757 Mon Sep 17 00:00:00 2001 From: Tim Chamberlain Date: Fri, 4 Oct 2024 12:24:58 -0500 Subject: [PATCH] CE-1836: update abstract table sync to make members and functions protected --- .../AbstractTableSyncTransformStep.java | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/qqq-backend-core/src/main/java/com/kingsrook/qqq/backend/core/processes/implementations/tablesync/AbstractTableSyncTransformStep.java b/qqq-backend-core/src/main/java/com/kingsrook/qqq/backend/core/processes/implementations/tablesync/AbstractTableSyncTransformStep.java index 68619a28..3eaba3e2 100644 --- a/qqq-backend-core/src/main/java/com/kingsrook/qqq/backend/core/processes/implementations/tablesync/AbstractTableSyncTransformStep.java +++ b/qqq-backend-core/src/main/java/com/kingsrook/qqq/backend/core/processes/implementations/tablesync/AbstractTableSyncTransformStep.java @@ -72,33 +72,33 @@ import static com.kingsrook.qqq.backend.core.logging.LogUtils.logPair; *******************************************************************************/ public abstract class AbstractTableSyncTransformStep extends AbstractTransformStep { - private static final QLogger LOG = QLogger.getLogger(AbstractTableSyncTransformStep.class); + protected static final QLogger LOG = QLogger.getLogger(AbstractTableSyncTransformStep.class); - private ProcessSummaryLine okToInsert = StandardProcessSummaryLineProducer.getOkToInsertLine(); - private ProcessSummaryLine okToUpdate = StandardProcessSummaryLineProducer.getOkToUpdateLine(); + protected ProcessSummaryLine okToInsert = StandardProcessSummaryLineProducer.getOkToInsertLine(); + protected ProcessSummaryLine okToUpdate = StandardProcessSummaryLineProducer.getOkToUpdateLine(); - private ProcessSummaryLine willNotInsert = new ProcessSummaryLine(Status.INFO) + protected ProcessSummaryLine willNotInsert = new ProcessSummaryLine(Status.INFO) .withMessageSuffix("because this process is not configured to insert records.") .withSingularFutureMessage("will not be inserted ") .withPluralFutureMessage("will not be inserted ") .withSingularPastMessage("was not inserted ") .withPluralPastMessage("were not inserted "); - private ProcessSummaryLine willNotUpdate = new ProcessSummaryLine(Status.INFO) + protected ProcessSummaryLine willNotUpdate = new ProcessSummaryLine(Status.INFO) .withMessageSuffix("because this process is not configured to update records.") .withSingularFutureMessage("will not be updated ") .withPluralFutureMessage("will not be updated ") .withSingularPastMessage("was not updated ") .withPluralPastMessage("were not updated "); - private ProcessSummaryLine errorMissingKeyField = new ProcessSummaryLine(Status.ERROR) + protected ProcessSummaryLine errorMissingKeyField = new ProcessSummaryLine(Status.ERROR) .withMessageSuffix("missing a value for the key field.") .withSingularFutureMessage("will not be synced, because it is ") .withPluralFutureMessage("will not be synced, because they are ") .withSingularPastMessage("was not synced, because it is ") .withPluralPastMessage("were not synced, because they are "); - private ProcessSummaryLine unspecifiedError = new ProcessSummaryLine(Status.ERROR) + protected ProcessSummaryLine unspecifiedError = new ProcessSummaryLine(Status.ERROR) .withMessageSuffix("of an unexpected error: ") .withSingularFutureMessage("will not be synced, ") .withPluralFutureMessage("will not be synced, ") @@ -109,7 +109,7 @@ public abstract class AbstractTableSyncTransformStep extends AbstractTransformSt protected RunBackendStepOutput runBackendStepOutput = null; protected RecordLookupHelper recordLookupHelper = null; - private QPossibleValueTranslator possibleValueTranslator; + protected QPossibleValueTranslator possibleValueTranslator; @@ -374,6 +374,7 @@ public abstract class AbstractTableSyncTransformStep extends AbstractTransformSt } + /******************************************************************************* ** Given a source record, extract what we'll use as its key from it. **