Package org.labkey.remoteapi.query
Class UpdateRowsCommand
java.lang.Object
org.labkey.remoteapi.Command<ResponseType,org.apache.hc.client5.http.classic.methods.HttpPost>
org.labkey.remoteapi.PostCommand<SaveRowsResponse>
org.labkey.remoteapi.query.SaveRowsCommand
org.labkey.remoteapi.query.UpdateRowsCommand
- All Implemented Interfaces:
HasRequiredVersion
Command for updating rows into a table in a read-write schema.
The user associated with the connection used when executing this
command must have permission to update data into the specified query.
For details on schemas and queries, and example code, see the SaveRowsCommand
.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.labkey.remoteapi.query.SaveRowsCommand
SaveRowsCommand.AuditBehavior
Nested classes/interfaces inherited from class org.labkey.remoteapi.Command
Command.CommonParameters, Command.Response
-
Field Summary
Fields inherited from class org.labkey.remoteapi.Command
CONTENT_TYPE_JSON
-
Constructor Summary
ConstructorsConstructorDescriptionUpdateRowsCommand
(String schemaName, String queryName) Constructs an UpdateRowsCommand for the given schemaName and queryName. -
Method Summary
Methods inherited from class org.labkey.remoteapi.query.SaveRowsCommand
addRow, createResponse, getAuditBehavior, getAuditUserComment, getExtraContext, getJsonObject, getQueryName, getRows, getSchemaName, setAuditBehavior, setAuditUserComment, setExtraContext, setQueryName, setRows, setSchemaName
Methods inherited from class org.labkey.remoteapi.PostCommand
createRequest
Methods inherited from class org.labkey.remoteapi.Command
_execute, createParameterMap, execute, getActionName, getControllerName, getHttpRequest, getParameters, getParamValueAsString, getRequiredVersion, getTimeout, setRequiredVersion, setTimeout
-
Constructor Details
-
UpdateRowsCommand
Constructs an UpdateRowsCommand for the given schemaName and queryName. See theSaveRowsCommand
for more details.- Parameters:
schemaName
- The schemaNamequeryName
- The queryName.- See Also:
-