Class ValidateContingentPossibleValuesHelper
java.lang.Object
com.kingsrook.qqq.backend.core.actions.tables.helpers.ValidateContingentPossibleValuesHelper
Validate user writes against dependent choices, batching by dependency values.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidvalidate(QTableMetaData table, List<QRecord> records, List<QRecord> oldRecords, QBackendTransaction transaction) Null oldRecords means insert; updates may supply an empty list to fetch only missing values needed for touched dependent fields.
-
Method Details
-
validate
public static void validate(QTableMetaData table, List<QRecord> records, List<QRecord> oldRecords, QBackendTransaction transaction) throws QException Null oldRecords means insert; updates may supply an empty list to fetch only missing values needed for touched dependent fields. Never mutate the input record to fill missing update fields, as doing so would expand the write.- Throws:
QException
-