Class MoveRowsCommand

java.lang.Object
org.labkey.remoteapi.Command<ResponseType,org.apache.hc.client5.http.classic.methods.HttpPost>
All Implemented Interfaces:
HasRequiredVersion

public class MoveRowsCommand extends SaveRowsCommand
Command for moving rows from a compatible schema table. The user associated with the connection used when executing this command must have permission to update data for the source container and insert data for the target container.
  • Constructor Details

    • MoveRowsCommand

      public MoveRowsCommand(String targetContainerPath, String schemaName, String queryName)
      Constructs a MoveRowsCommand for the given targetContainerPath, schemaName, and queryName. See the SaveRowsCommand for more details.
      Parameters:
      targetContainerPath - The targetContainerPath
      schemaName - The schemaName
      queryName - The queryName.
      See Also:
  • Method Details

    • getJsonObject

      public org.json.JSONObject getJsonObject()
      Description copied from class: SaveRowsCommand
      Dynamically builds the JSON object to send based on the current schema name, query name and rows list.
      Overrides:
      getJsonObject in class SaveRowsCommand
      Returns:
      The JSON object to send.