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

java.lang.Object
  extended byorg.openmobileis.common.util.database.AbstractQueryManager
      extended byorg.openmobileis.modules.crm.database.common.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, 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
Throws:
ServiceException
java.sql.SQLException

create

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

delete

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

update

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

getGlobalProperty

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

getPropertiesForService

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

getAllGlobalProperties

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

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 2005 e-Care. All Rights Reserved.