Skip to content

Commit

Permalink
Updated interfaces for updateRows and importData (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-susanh authored Mar 11, 2024
1 parent b942ceb commit 173a401
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -78,7 +79,7 @@ protected Map<String, Object> insertRow(User user, Container container, Map<Stri
}

@Override
protected Map<String, Object> updateRow(final User user, final Container container, Map<String, Object> row, @NotNull Map<String, Object> oldRow) throws InvalidKeyException, ValidationException, QueryUpdateServiceException, SQLException
protected Map<String, Object> updateRow(final User user, final Container container, Map<String, Object> row, @NotNull Map<String, Object> oldRow, @Nullable Map<Enum, Object> configParameters) throws InvalidKeyException, ValidationException, QueryUpdateServiceException, SQLException
{
HDRLQuerySchema lkSchema = new HDRLQuerySchema(user, container);

Expand All @@ -91,7 +92,7 @@ protected Map<String, Object> updateRow(final User user, final Container contain
row.put("SubmittedBy", user.getUserId());
row.put("Submitted", new Date());
}
final Map<String, Object> updatedRow = super.updateRow(user, container, row, oldRow);
final Map<String, Object> updatedRow = super.updateRow(user, container, row, oldRow, configParameters);
if (isNewSubmit)
{
pushDataToLabWare(user, container, updatedRow);
Expand Down

0 comments on commit 173a401

Please sign in to comment.