org.openmobileis.modules.common.database.jdbc
Class JDBCGlobalPropertyQueryManager

java.lang.Object
  extended byorg.openmobileis.common.util.database.AbstractQueryManager
      extended byorg.openmobileis.modules.common.database.jdbc.JDBCGlobalPropertyQueryManager

public class JDBCGlobalPropertyQueryManager
extends AbstractQueryManager

Author:
Philippe Delrieu To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Field Summary
protected static java.lang.String queryDeleteGlobalProperty
           
protected static java.lang.String queryGetAllGlobalProperties
           
protected static java.lang.String queryGetGlobalProperty
           
protected static java.lang.String queryGetPropertiesForService
           
protected static java.lang.String queryInsertGlobalProperty
           
protected static java.lang.String queryUpdateGlobalProperty
           
 
Constructor Summary
JDBCGlobalPropertyQueryManager()
           
 
Method Summary
 GlobalProperty convertResultSetToProperty(java.sql.ResultSet result)
           
 void create(java.lang.String[] parameters)
           
 void createSyncTable()
           
 void delete(java.lang.String[] parameters)
           
 java.sql.ResultSet getAllGlobalProperties()
           
 java.sql.ResultSet getGlobalProperty(java.lang.String[] param)
           
 java.lang.String[] getInsertParamFromProperty(GlobalProperty property)
           
 java.sql.ResultSet getPropertiesForService(java.lang.String[] param)
           
 java.lang.String[] getUpdateParamFromProperty(GlobalProperty property)
           
 void update(java.lang.String[] parameters)
           
 
Methods inherited from class org.openmobileis.common.util.database.AbstractQueryManager
buildDynamicQuery, buildQuery, close, executeBlobUpdate, executeDynamicQuery, executeDynamicUpdate, executeQuery, executeUpdate, getDbManager, makeSQLList, registerManagerDB
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

queryGetGlobalProperty

protected static java.lang.String queryGetGlobalProperty

queryGetPropertiesForService

protected static java.lang.String queryGetPropertiesForService

queryGetAllGlobalProperties

protected static java.lang.String queryGetAllGlobalProperties

queryInsertGlobalProperty

protected static java.lang.String queryInsertGlobalProperty

queryUpdateGlobalProperty

protected static java.lang.String queryUpdateGlobalProperty

queryDeleteGlobalProperty

protected static java.lang.String queryDeleteGlobalProperty
Constructor Detail

JDBCGlobalPropertyQueryManager

public JDBCGlobalPropertyQueryManager()
Method Detail

createSyncTable

public void createSyncTable()
                     throws ServiceException,
                            java.sql.SQLException,
                            DatabaseException
Throws:
ServiceException
java.sql.SQLException
DatabaseException

create

public void create(java.lang.String[] parameters)
            throws DatabaseException
Throws:
DatabaseException

delete

public void delete(java.lang.String[] parameters)
            throws DatabaseException
Throws:
DatabaseException

update

public void update(java.lang.String[] parameters)
            throws DatabaseException
Throws:
DatabaseException

getGlobalProperty

public java.sql.ResultSet getGlobalProperty(java.lang.String[] param)
                                     throws DatabaseException
Throws:
DatabaseException

getPropertiesForService

public java.sql.ResultSet getPropertiesForService(java.lang.String[] param)
                                           throws DatabaseException
Throws:
DatabaseException

getAllGlobalProperties

public java.sql.ResultSet getAllGlobalProperties()
                                          throws DatabaseException
Throws:
DatabaseException

convertResultSetToProperty

public GlobalProperty convertResultSetToProperty(java.sql.ResultSet result)
                                          throws DatabaseException
Throws:
DatabaseException

getInsertParamFromProperty

public java.lang.String[] getInsertParamFromProperty(GlobalProperty property)

getUpdateParamFromProperty

public java.lang.String[] getUpdateParamFromProperty(GlobalProperty property)


Copyright 2006 OpenMobileIS. All Rights Reserved.