org.labkey.remoteapi.query
Class InsertRowsCommand

java.lang.Object
  extended by org.labkey.remoteapi.Command<ResponseType>
      extended by org.labkey.remoteapi.PostCommand<SaveRowsResponse>
          extended by org.labkey.remoteapi.query.SaveRowsCommand
              extended by org.labkey.remoteapi.query.InsertRowsCommand

public class InsertRowsCommand
extends SaveRowsCommand

Command for inserting rows into a table in a read-write schema. The user associated with the connection used when executing this command must have permission to insert data into the specified query.

For details on schemas and queries, and example code, see the SaveRowsCommand.

See Also:
SaveRowsCommand

Nested Class Summary
 
Nested classes/interfaces inherited from class org.labkey.remoteapi.Command
Command.CommonParameters
 
Field Summary
 
Fields inherited from class org.labkey.remoteapi.Command
CONTENT_TYPE_JSON
 
Constructor Summary
InsertRowsCommand(InsertRowsCommand source)
           
InsertRowsCommand(java.lang.String schemaName, java.lang.String queryName)
          Constructs an InsertRowsCommand for the given schemaName and queryName.
 
Method Summary
 InsertRowsCommand copy()
          Returns a copy of this object.
 
Methods inherited from class org.labkey.remoteapi.query.SaveRowsCommand
addRow, createResponse, getExtraContext, getJsonObject, getQueryName, getRows, getSchemaName, setExtraContext, setQueryName, setRows, setSchemaName
 
Methods inherited from class org.labkey.remoteapi.PostCommand
createMethod, setJsonObject
 
Methods inherited from class org.labkey.remoteapi.Command
execute, getActionName, getActionUrl, getControllerName, getHttpMethod, getParameters, getParamValueAsString, getQueryString, getRequiredVersion, getTimeout, setParameters, setRequiredVersion, setTimeout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InsertRowsCommand

public InsertRowsCommand(java.lang.String schemaName,
                         java.lang.String queryName)
Constructs an InsertRowsCommand for the given schemaName and queryName. See the SaveRowsCommand for more details.

Parameters:
schemaName - The schemaName
queryName - The queryName.
See Also:
SaveRowsCommand

InsertRowsCommand

public InsertRowsCommand(InsertRowsCommand source)
Method Detail

copy

public InsertRowsCommand copy()
Description copied from class: Command
Returns a copy of this object. Derived classes should override this to copy their own data members

Specified by:
copy in class SaveRowsCommand
Returns:
A copy of this object