Package lumis.doui.table
Class TableDaoJdbc
- java.lang.Object
-
- lumis.doui.table.TableDaoJdbc
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface lumis.doui.table.ITableDao
ITableDao.IRowProcessor
-
-
Constructor Summary
Constructors Constructor Description TableDaoJdbc()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
executeDelete(QueryDelete queryDelete, ITransaction transaction)
void
executeInsert(QueryInsert queryInsert, ITransaction transaction)
void
executeUpdate(QueryUpdate queryUpdate, ITransaction transaction)
org.w3c.dom.Node
getTotalInfo(QuerySelect querySelect, ITransaction transaction)
TabularData
readData(QuerySelect querySelect, ITransaction transaction)
Reads the data as specified in the given querySelect, and returns the result in aTabularData
.
-
-
-
Method Detail
-
executeInsert
public void executeInsert(QueryInsert queryInsert, ITransaction transaction) throws DaoException, PortalException
- Specified by:
executeInsert
in interfaceITableDao
- Throws:
DaoException
PortalException
-
executeUpdate
public void executeUpdate(QueryUpdate queryUpdate, ITransaction transaction) throws DaoException, PortalException
- Specified by:
executeUpdate
in interfaceITableDao
- Throws:
DaoException
PortalException
-
executeDelete
public void executeDelete(QueryDelete queryDelete, ITransaction transaction) throws DaoException, PortalException
- Specified by:
executeDelete
in interfaceITableDao
- Throws:
DaoException
PortalException
-
getTotalInfo
public org.w3c.dom.Node getTotalInfo(QuerySelect querySelect, ITransaction transaction) throws DaoException, PortalException
- Specified by:
getTotalInfo
in interfaceITableDao
- Throws:
DaoException
PortalException
-
readData
public TabularData readData(QuerySelect querySelect, ITransaction transaction) throws DaoException, PortalException
Description copied from interface:ITableDao
Reads the data as specified in the given querySelect, and returns the result in aTabularData
.- Specified by:
readData
in interfaceITableDao
- Parameters:
querySelect
- the select query definition.transaction
- the transaction for persistence access.- Returns:
- the data retrieved by the select query.
- Throws:
DaoException
PortalException
-
-