Package lumis.util.query
Interface IQueryAdapter
-
- All Known Implementing Classes:
GenericQueryAdapterJdbc
,QueryAdapterHibernate
@StableMinor(version="14.2", sinceVersion="4.0") public interface IQueryAdapter
Responsible for preparing select, insert and update queries for IQueryStatements.- Since:
- 4.0.0
- Version:
- $Revision: 24985 $ $Date: 2022-05-02 23:04:30 -0300 (Mon, 02 May 2022) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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
-
-