JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.datasource.jdbc
Interface PersistorModel

All Known Implementing Classes:
Persistor

public interface PersistorModel

Implementations of this interface can be set on a com.klg.jclass.datasource.jdbc.MetaData instance. Any modifications to be written to the database are saved by calling this interface's saveRow method.

The default implementation (com.klg.jclass.datasource.jdbc.Persistor) builds an insert, update, or delete statement for this row depending upon its status.

You may wish to implement this interface to, say, call a stored procedure instead of building sql statements.


Method Summary
 void saveRow(long bookmark, com.klg.jclass.datasource.jdbc.MetaData metaDataModel, com.klg.jclass.datasource.DataTableModel dataTableModel)
          Persist the changes to the row to the originating data base and tables.
 

Method Detail

saveRow

public void saveRow(long bookmark,
                    com.klg.jclass.datasource.jdbc.MetaData metaDataModel,
                    com.klg.jclass.datasource.DataTableModel dataTableModel)
             throws DataModelException
Persist the changes to the row to the originating data base and tables.

Throws:
DataModelException - If any exception occurs.

Copyright © 2004 Quest Software Inc..
All rights reserved.