Examples of InsUpdDelTablesVO


Examples of org.jallinone.sqltool.java.InsUpdDelTablesVO

* @param rowNumbers row indexes related to the new rows to save
* @param newValueObjects list of new value objects to save
* @return an ErrorResponse value object in case of errors, VOListResponse if the operation is successfully completed
*/
  public Response insertRecords(int[] rowNumbers, ArrayList newValueObjects) throws Exception {
    InsUpdDelTablesVO vo = new InsUpdDelTablesVO(tableVO);
    vo.addRowsToInsert(newValueObjects);
    return ClientUtils.getData("insertTables",vo);
  }
View Full Code Here

Examples of org.jallinone.sqltool.java.InsUpdDelTablesVO

   * @param oldPersistentObjects old value objects, previous the changes
   * @param persistentObjects value objects relatied to the changed rows
   * @return an ErrorResponse value object in case of errors, VOListResponse if the operation is successfully completed
   */
  public Response updateRecords(int[] rowNumbers,ArrayList oldPersistentObjects,ArrayList persistentObjects) throws Exception {
    InsUpdDelTablesVO vo = new InsUpdDelTablesVO(tableVO);
    vo.addRowsToUpdate(oldPersistentObjects,persistentObjects);
    return ClientUtils.getData("updateTables",vo);
  }
View Full Code Here

Examples of org.jallinone.sqltool.java.InsUpdDelTablesVO

   * Method invoked when the user has clicked on delete button and the grid is in READONLY mode.
   * @param persistentObjects value objects to delete (related to the currently selected rows)
   * @return an ErrorResponse value object in case of errors, VOResponse if the operation is successfully completed
   */
  public Response deleteRecords(ArrayList persistentObjects) throws Exception {
    InsUpdDelTablesVO vo = new InsUpdDelTablesVO(tableVO);
    vo.addRowsToDelete(persistentObjects);
    return ClientUtils.getData("deleteTables",vo);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.