org.openmobileis.synchro.openmsp.client.db
Interface ImportQueryManager

All Known Implementing Classes:
ObjectDBImportQueryManager

public interface ImportQueryManager

Title: OpenMobileIS project source
Description: Base interface that all query manager implements. A query manager is use to interface a database with a synchronisation process Server update are send to the mobile in a row format. Rows are decoded with a DecodedROwListener and database are updated with a ImportQueryManager. A default implemantation is provided to interfce with the base synchronisation process.

Since:
JDK 1.1
Version:
1.0.
Author:
Philippe Delrieu
See Also:
DefaultDBImportQueryManager

Method Summary
 void executeCreateQuery(java.lang.String[] data)
          execute the creation query
 void executeDeleteQuery(java.lang.String[] data)
          execute the delete query
 void executeUpdateQuery(java.lang.String[] data)
          execute the update query
 void importDataFile(java.lang.String fileName)
          import all data in the specified file
 

Method Detail

executeCreateQuery

public void executeCreateQuery(java.lang.String[] data)
                        throws DatabaseException
execute the creation query

Throws:
DatabaseException

executeUpdateQuery

public void executeUpdateQuery(java.lang.String[] data)
                        throws DatabaseException
execute the update query

Throws:
DatabaseException

executeDeleteQuery

public void executeDeleteQuery(java.lang.String[] data)
                        throws DatabaseException
execute the delete query

Throws:
DatabaseException

importDataFile

public void importDataFile(java.lang.String fileName)
import all data in the specified file



Copyright 2006 OpenMobileIS. All Rights Reserved.