mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 13:10:44 +00:00
Add method reinitializeRecordLookupHelper, for pages after the first
This commit is contained in:
@ -252,6 +252,10 @@ public abstract class AbstractTableSyncTransformStep extends AbstractTransformSt
|
|||||||
{
|
{
|
||||||
initializeRecordLookupHelper(runBackendStepInput, runBackendStepInput.getRecords());
|
initializeRecordLookupHelper(runBackendStepInput, runBackendStepInput.getRecords());
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
reinitializeRecordLookupHelper(runBackendStepInput, runBackendStepInput.getRecords());
|
||||||
|
}
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
// query to see if we already have those records in the destination (to determine insert/update) //
|
// query to see if we already have those records in the destination (to determine insert/update) //
|
||||||
@ -468,6 +472,18 @@ public abstract class AbstractTableSyncTransformStep extends AbstractTransformSt
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
** for pages after the first, possibly load more records in the lookup helper.
|
||||||
|
*******************************************************************************/
|
||||||
|
protected void reinitializeRecordLookupHelper(RunBackendStepInput runBackendStepInput, List<QRecord> sourceRecordList) throws QException
|
||||||
|
{
|
||||||
|
////////////////////////
|
||||||
|
// noop in base class //
|
||||||
|
////////////////////////
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
** Let the subclass "easily" add an audit to be inserted on the Execute step.
|
** Let the subclass "easily" add an audit to be inserted on the Execute step.
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
Reference in New Issue
Block a user