File tree Expand file tree Collapse file tree 6 files changed +22
-22
lines changed
src/org/labkey/remoteapi/query Expand file tree Collapse file tree 6 files changed +22
-22
lines changed Original file line number Diff line number Diff line change 8181 * resp = cmdDel.execute(cn, "PROJECT_NAME");
8282 * </code></pre>
8383 */
84- public abstract class SaveRowsCommand extends PostCommand <SaveRowsResponse >
84+ public abstract class BaseRowsCommand extends PostCommand <SaveRowsResponse >
8585{
8686 public enum AuditBehavior
8787 {
@@ -103,7 +103,7 @@ public enum AuditBehavior
103103 * @param queryName The query name.
104104 * @param actionName The action name to call (supplied by the derived class).
105105 */
106- protected SaveRowsCommand (String schemaName , String queryName , String actionName )
106+ protected BaseRowsCommand (String schemaName , String queryName , String actionName )
107107 {
108108 super ("query" , actionName );
109109 assert null != schemaName ;
Original file line number Diff line number Diff line change 2020 * with the connection used when executing this command must have
2121 * permission to delete the data.
2222 * <p>
23- * For details on schemas and queries, and example code, see the {@link SaveRowsCommand }.
23+ * For details on schemas and queries, and example code, see the {@link BaseRowsCommand }.
2424 */
25- public class DeleteRowsCommand extends SaveRowsCommand
25+ public class DeleteRowsCommand extends BaseRowsCommand
2626{
2727 /**
2828 * Constructs a DeleteRowsCommand for the given schemaName and queryName.
29- * See the {@link SaveRowsCommand } for more details.
29+ * See the {@link BaseRowsCommand } for more details.
3030 * @param schemaName The schemaName
3131 * @param queryName The queryName.
32- * @see SaveRowsCommand
32+ * @see BaseRowsCommand
3333 */
3434 public DeleteRowsCommand (String schemaName , String queryName )
3535 {
Original file line number Diff line number Diff line change 2020 * The user associated with the connection used when executing this
2121 * command must have permission to insert data into the specified query.
2222 * <p>
23- * For details on schemas and queries, and example code, see the {@link SaveRowsCommand }.
24- * @see SaveRowsCommand
23+ * For details on schemas and queries, and example code, see the {@link BaseRowsCommand }.
24+ * @see BaseRowsCommand
2525 */
26- public class InsertRowsCommand extends SaveRowsCommand
26+ public class InsertRowsCommand extends BaseRowsCommand
2727{
2828 /**
2929 * Constructs an InsertRowsCommand for the given schemaName and queryName.
30- * See the {@link SaveRowsCommand } for more details.
30+ * See the {@link BaseRowsCommand } for more details.
3131 * @param schemaName The schemaName
3232 * @param queryName The queryName.
33- * @see SaveRowsCommand
33+ * @see BaseRowsCommand
3434 */
3535 public InsertRowsCommand (String schemaName , String queryName )
3636 {
Original file line number Diff line number Diff line change 2323 * permission to update data for the source container and insert data
2424 * for the target container.
2525 */
26- public class MoveRowsCommand extends SaveRowsCommand
26+ public class MoveRowsCommand extends BaseRowsCommand
2727{
2828 private final String _targetContainerPath ;
2929
3030 /**
3131 * Constructs a MoveRowsCommand for the given targetContainerPath, schemaName, and queryName.
32- * See the {@link SaveRowsCommand } for more details.
32+ * See the {@link BaseRowsCommand } for more details.
3333 * @param targetContainerPath The targetContainerPath
3434 * @param schemaName The schemaName
3535 * @param queryName The queryName.
36- * @see SaveRowsCommand
36+ * @see BaseRowsCommand
3737 */
3838 public MoveRowsCommand (String targetContainerPath , String schemaName , String queryName )
3939 {
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ public enum CommandType
155155
156156 public static class Command
157157 {
158- SaveRowsCommand .AuditBehavior _auditBehavior ;
158+ BaseRowsCommand .AuditBehavior _auditBehavior ;
159159 String _auditUserComment ;
160160 final CommandType _commandType ;
161161 String _containerPath ;
@@ -204,12 +204,12 @@ public JSONObject getJsonObject()
204204 return json ;
205205 }
206206
207- public SaveRowsCommand .AuditBehavior getAuditBehavior ()
207+ public BaseRowsCommand .AuditBehavior getAuditBehavior ()
208208 {
209209 return _auditBehavior ;
210210 }
211211
212- public Command setAuditBehavior (SaveRowsCommand .AuditBehavior auditBehavior )
212+ public Command setAuditBehavior (BaseRowsCommand .AuditBehavior auditBehavior )
213213 {
214214 _auditBehavior = auditBehavior ;
215215 return this ;
Original file line number Diff line number Diff line change 2020 * The user associated with the connection used when executing this
2121 * command must have permission to update data into the specified query.
2222 * <p>
23- * For details on schemas and queries, and example code, see the {@link SaveRowsCommand }.
24- * @see SaveRowsCommand
23+ * For details on schemas and queries, and example code, see the {@link BaseRowsCommand }.
24+ * @see BaseRowsCommand
2525 */
26- public class UpdateRowsCommand extends SaveRowsCommand
26+ public class UpdateRowsCommand extends BaseRowsCommand
2727{
2828 /**
2929 * Constructs an UpdateRowsCommand for the given schemaName and queryName.
30- * See the {@link SaveRowsCommand } for more details.
30+ * See the {@link BaseRowsCommand } for more details.
3131 * @param schemaName The schemaName
3232 * @param queryName The queryName.
33- * @see SaveRowsCommand
33+ * @see BaseRowsCommand
3434 */
3535 public UpdateRowsCommand (String schemaName , String queryName )
3636 {
You can’t perform that action at this time.
0 commit comments