lumis.util.query
Interface IQueryAdapter

Package class diagram package IQueryAdapter
All Known Implementing Classes:
GenericQueryAdapterJdbc, QueryAdapterHibernate

@StableMinor(version="4.1",
             sinceVersion="4.0")
public interface IQueryAdapter

Responsible for preparing select, insert and update queries for IQueryStatements.

Since:
4.0.0

Method Summary
 String getCreateTableScript(QueryCreateTable queryCreateTable, ITransaction transaction)
           
 IQueryStatement getDeleteStatement(QueryDelete queryUpdate, ITransaction transaction)
           
 IQueryStatement getInsertStatement(QueryInsert queryInsert, ITransaction transaction)
           
 IQueryStatement getSelectCountStatement(QuerySelect querySelect, ITransaction transaction)
           
 IQueryStatement getSelectStatement(QuerySelect querySelect, ITransaction transaction)
           
 IQueryStatement getUpdateStatement(QueryUpdate queryUpdate, ITransaction transaction)
           
 

Method Detail

getSelectStatement

IQueryStatement getSelectStatement(QuerySelect querySelect,
                                   ITransaction transaction)
                                   throws DaoException,
                                          PortalException
Throws:
DaoException
PortalException

getInsertStatement

IQueryStatement getInsertStatement(QueryInsert queryInsert,
                                   ITransaction transaction)
                                   throws DaoException,
                                          PortalException
Throws:
DaoException
PortalException

getUpdateStatement

IQueryStatement getUpdateStatement(QueryUpdate queryUpdate,
                                   ITransaction transaction)
                                   throws DaoException,
                                          PortalException
Throws:
DaoException
PortalException

getDeleteStatement

IQueryStatement getDeleteStatement(QueryDelete queryUpdate,
                                   ITransaction transaction)
                                   throws DaoException,
                                          PortalException
Throws:
DaoException
PortalException

getSelectCountStatement

IQueryStatement getSelectCountStatement(QuerySelect querySelect,
                                        ITransaction transaction)
                                        throws DaoException,
                                               PortalException
Throws:
DaoException
PortalException

getCreateTableScript

String getCreateTableScript(QueryCreateTable queryCreateTable,
                            ITransaction transaction)
                            throws DaoException,
                                   PortalException
Throws:
DaoException
PortalException


Lumisportal  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.