99import org .labkey .remoteapi .CommandException ;
1010import org .labkey .remoteapi .Connection ;
1111import org .labkey .remoteapi .query .InsertRowsCommand ;
12- import org .labkey .remoteapi .query .SaveRowsResponse ;
12+ import org .labkey .remoteapi .query .RowsResponse ;
1313import org .labkey .remoteapi .query .SelectRowsCommand ;
1414import org .labkey .remoteapi .query .SelectRowsResponse ;
1515import org .labkey .remoteapi .query .UpdateRowsCommand ;
@@ -202,7 +202,7 @@ public void testMVIndicator() throws Exception
202202 .create (conn , containerPath );
203203
204204 log ("Validate inserting into the MV indicator dataset" );
205- SaveRowsResponse response = expectSuccess (conn , MV_INDICATOR_DATASET , containerPath ,
205+ RowsResponse response = expectSuccess (conn , MV_INDICATOR_DATASET , containerPath ,
206206 List .of (
207207 Map .of ("Ptid" , "111" , "Visit" , 1 , "IntField" , "N" , "StringField" , "Q" ),
208208 Map .of ("Ptid" , "222" , "Visit" , 2 , "IntField" , 1 , "StringField" , "StringValue" ),
@@ -224,7 +224,7 @@ public void testMVIndicator() throws Exception
224224 cmd .setRows (updated );
225225 try
226226 {
227- SaveRowsResponse resp = cmd .execute (conn , containerPath );
227+ RowsResponse resp = cmd .execute (conn , containerPath );
228228 List <Map <String , Object >> updatedRows = resp .getRows ();
229229 validateValuesPresent (updatedRows .get (0 ), Map .of ("IntFieldMvIndicator" , "Z" , "StringFieldMvIndicator" , "Q" ));
230230 validateValuesPresent (updatedRows .get (1 ), Map .of ("IntField" , 1 , "StringFieldMvIndicator" , "Q" ));
@@ -365,19 +365,19 @@ public void testDateBasedStudy() throws Exception
365365 validateUpdateOfGeneratedColumns (conn , containerPath , TIME_PORTION_OF_DATE );
366366 }
367367
368- private SaveRowsResponse expectSuccess (Connection conn , String datasetName , String containerPath , List <Map <String , Object >> rows ) throws Exception
368+ private RowsResponse expectSuccess (Connection conn , String datasetName , String containerPath , List <Map <String , Object >> rows ) throws Exception
369369 {
370370 return validateInsertRows (conn , datasetName , containerPath , rows , false );
371371 }
372372
373- private SaveRowsResponse expectFail (Connection conn , String datasetName , String containerPath , List <Map <String , Object >> rows ) throws Exception
373+ private RowsResponse expectFail (Connection conn , String datasetName , String containerPath , List <Map <String , Object >> rows ) throws Exception
374374 {
375375 return validateInsertRows (conn , datasetName , containerPath , rows , true );
376376 }
377377
378- private SaveRowsResponse validateInsertRows (Connection conn , String datasetName , String containerPath , List <Map <String , Object >> rows , boolean fail ) throws Exception
378+ private RowsResponse validateInsertRows (Connection conn , String datasetName , String containerPath , List <Map <String , Object >> rows , boolean fail ) throws Exception
379379 {
380- SaveRowsResponse resp = null ;
380+ RowsResponse resp = null ;
381381 InsertRowsCommand cmd = new InsertRowsCommand ("Study" , datasetName );
382382 cmd .setRows (rows );
383383 try
0 commit comments