Class RecordAutomationStatusUpdater
java.lang.Object
com.kingsrook.qqq.backend.core.actions.automation.RecordAutomationStatusUpdater
Utility class for updating the automation status data for records
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
setAutomationStatusInRecords
(QTableMetaData table, List<QRecord> records, AutomationStatus automationStatus, QBackendTransaction transaction, List<QRecord> oldRecordList) for a list of records from a table, set their automation status - based on how the table is configured.static void
setAutomationStatusInRecordsAndUpdate
(QTableMetaData table, List<QRecord> records, AutomationStatus automationStatus, QBackendTransaction transaction) for a list of records, update their automation status and actually Update the backend as well.
-
Constructor Details
-
RecordAutomationStatusUpdater
public RecordAutomationStatusUpdater()
-
-
Method Details
-
setAutomationStatusInRecords
public static boolean setAutomationStatusInRecords(QTableMetaData table, List<QRecord> records, AutomationStatus automationStatus, QBackendTransaction transaction, List<QRecord> oldRecordList) for a list of records from a table, set their automation status - based on how the table is configured. -
setAutomationStatusInRecordsAndUpdate
public static void setAutomationStatusInRecordsAndUpdate(QTableMetaData table, List<QRecord> records, AutomationStatus automationStatus, QBackendTransaction transaction) throws QException for a list of records, update their automation status and actually Update the backend as well.- Throws:
QException
-