From af9f28109708ae8338f23712b98807ed31fadbd3 Mon Sep 17 00:00:00 2001 From: labkey-susanh Date: Thu, 29 Feb 2024 18:02:22 -0800 Subject: [PATCH] Updated interfaces for `updateRows` and `importData` --- .../org/labkey/hdrl/query/InboundRequestUpdateService.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hdrl/src/org/labkey/hdrl/query/InboundRequestUpdateService.java b/hdrl/src/org/labkey/hdrl/query/InboundRequestUpdateService.java index 1936fc7b..8f2971d3 100644 --- a/hdrl/src/org/labkey/hdrl/query/InboundRequestUpdateService.java +++ b/hdrl/src/org/labkey/hdrl/query/InboundRequestUpdateService.java @@ -17,6 +17,7 @@ import org.apache.commons.lang3.StringUtils; import org.jetbrains.annotations.NotNull; +import org.jetbrains.annotations.Nullable; import org.labkey.api.data.Container; import org.labkey.api.data.DbScope; import org.labkey.api.data.Results; @@ -78,7 +79,7 @@ protected Map insertRow(User user, Container container, Map updateRow(final User user, final Container container, Map row, @NotNull Map oldRow) throws InvalidKeyException, ValidationException, QueryUpdateServiceException, SQLException + protected Map updateRow(final User user, final Container container, Map row, @NotNull Map oldRow, @Nullable Map configParameters) throws InvalidKeyException, ValidationException, QueryUpdateServiceException, SQLException { HDRLQuerySchema lkSchema = new HDRLQuerySchema(user, container); @@ -91,7 +92,7 @@ protected Map updateRow(final User user, final Container contain row.put("SubmittedBy", user.getUserId()); row.put("Submitted", new Date()); } - final Map updatedRow = super.updateRow(user, container, row, oldRow); + final Map updatedRow = super.updateRow(user, container, row, oldRow, configParameters); if (isNewSubmit) { pushDataToLabWare(user, container, updatedRow);