org.openmobileis.examples.mycrm.data.jdbc
Class MyCrmLabelQuery

java.lang.Object
  extended byorg.openmobileis.common.util.database.AbstractQueryManager
      extended byorg.openmobileis.examples.mycrm.data.jdbc.MyCrmLabelQuery

public class MyCrmLabelQuery
extends AbstractQueryManager

Author:
Manuel Gomez TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Field Summary
protected static java.lang.String queryDeleteLabel
           
protected static java.lang.String queryGetALlIDsLabels
           
protected static java.lang.String queryGetALlLabels
           
protected static java.lang.String queryGetLabel
           
protected static java.lang.String queryGetLabelsForCategory
           
protected static java.lang.String queryInsertLabel
           
 
Constructor Summary
MyCrmLabelQuery()
           
 
Method Summary
 Label convertLabelFromResult(java.sql.ResultSet result)
           
 void createLabel(java.lang.String[] parameters)
           
 java.sql.ResultSet getAllLabel()
           
 java.sql.ResultSet getAllLabelIds()
           
protected  java.lang.String getCreateTableQuery()
           
 java.sql.ResultSet getLabel(java.lang.String[] param)
           
 void init()
           
 
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

queryInsertLabel

protected static java.lang.String queryInsertLabel

queryGetALlIDsLabels

protected static java.lang.String queryGetALlIDsLabels

queryGetLabel

protected static java.lang.String queryGetLabel

queryGetLabelsForCategory

protected static java.lang.String queryGetLabelsForCategory

queryGetALlLabels

protected static java.lang.String queryGetALlLabels

queryDeleteLabel

protected static java.lang.String queryDeleteLabel
Constructor Detail

MyCrmLabelQuery

public MyCrmLabelQuery()
Method Detail

init

public void init()
          throws ServiceException
Throws:
ServiceException

getCreateTableQuery

protected java.lang.String getCreateTableQuery()

convertLabelFromResult

public Label convertLabelFromResult(java.sql.ResultSet result)
                             throws java.lang.Exception
Throws:
java.lang.Exception

createLabel

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

getAllLabelIds

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

getLabel

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

getAllLabel

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


Copyright 2005 e-Care. All Rights Reserved.