Package lumis.util.query
Interface IQueryAdapter
-
- All Known Implementing Classes:
GenericQueryAdapterJdbc
,QueryAdapterHibernate
@StableMinor(version="17.0", sinceVersion="4.0") public interface IQueryAdapter
Responsible for preparing select, insert and update queries for IQueryStatements.- Since:
- 4.0.0
- Version:
- $Revision$ $Date$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.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
java.lang.String getCreateTableScript(QueryCreateTable queryCreateTable, ITransaction transaction) throws DaoException, PortalException
- Throws:
DaoException
PortalException
-
-