Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import org.labkey.api.data.Container;
import org.labkey.api.data.TableInfo;
import org.labkey.api.data.triggers.Trigger;
import org.labkey.api.query.QueryUpdateService;
import org.labkey.api.query.ValidationException;
import org.labkey.api.security.User;

Expand Down Expand Up @@ -34,15 +35,15 @@ private void verifyPerformedBy(TableInfo table, @Nullable Map<String, Object> ne
}

@Override
public void beforeInsert(TableInfo table, Container c, User user, @Nullable Map<String, Object> newRow, ValidationException errors, Map<String, Object> extraContext) throws ValidationException
public void beforeInsert(TableInfo table, Container c, User user, @Nullable QueryUpdateService.InsertOption insertOption, @Nullable Map<String, Object> newRow, ValidationException errors, Map<String, Object> extraContext) throws ValidationException
{
transformAnimalIdToUpperCase(newRow);
verifyPerformedBy(table, newRow, errors);
}

@Override
public void beforeUpdate(TableInfo table, Container c,
User user, @Nullable Map<String, Object> newRow, @Nullable Map<String, Object> oldRow,
User user, @Nullable QueryUpdateService.InsertOption insertOption, @Nullable Map<String, Object> newRow, @Nullable Map<String, Object> oldRow,
ValidationException errors, Map<String, Object> extraContext) throws ValidationException
{
verifyPerformedBy(table, newRow, errors);
Expand Down
Loading