Class PaymentDAOHibernate
java.lang.Object
com.softslate.commerce.daos.core.BaseDAO
com.softslate.commerce.daos.payment.PaymentDAOHibernate
- All Implemented Interfaces:
DAOInterface
,PaymentDAO
Generic DAO to manage the
sscPayment
table of the database.- Author:
- David Tobey
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
deletePayment
(boolean commit) void
void
insertPayment
(boolean commit) void
void
setPayment
(Payment payment) void
void
updatePayment
(boolean commit) Methods inherited from class com.softslate.commerce.daos.core.BaseDAO
deleteObject, doWorkToSetConnection, editAssignment, evictCache, formatDateTime, getAppComponents, getAppSettings, getConnection, getDaoFactory, getDAOUtils, getDataSource, getImportExportSQL, getImportExportSqlMap, getInjector, getNamedQuery, getSettings, getSQL, getSqlMap, initialize, insertObject, loadAll, loadAll, loadObject, parseDateTime, setAppComponents, setAppSettings, setConnection, setDaoFactory, setDAOUtils, setDataSource, setImportExportSqlMap, setInjector, setSettings, setSqlMap, updateObject
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.softslate.commerce.daos.core.DAOInterface
deleteObject, formatDateTime, getAppComponents, getAppSettings, getConnection, getDaoFactory, getDAOUtils, getDataSource, getInjector, getSettings, getSqlMap, initialize, insertObject, loadAll, loadAll, loadObject, parseDateTime, setAppComponents, setAppSettings, setConnection, setDaoFactory, setDAOUtils, setDataSource, setInjector, setSettings, setSqlMap, updateObject
-
Field Details
-
log
static org.apache.commons.logging.Log log -
payment
-
-
Constructor Details
-
PaymentDAOHibernate
public PaymentDAOHibernate()
-
-
Method Details
-
getPayment
- Specified by:
getPayment
in interfacePaymentDAO
-
setPayment
- Specified by:
setPayment
in interfacePaymentDAO
-
loadPaymentFromID
- Specified by:
loadPaymentFromID
in interfacePaymentDAO
- Throws:
Exception
-
loadNumberByID
- Throws:
DataAccessException
-
insertPayment
- Specified by:
insertPayment
in interfacePaymentDAO
- Throws:
DataAccessException
-
insertPayment
- Specified by:
insertPayment
in interfacePaymentDAO
- Throws:
DataAccessException
-
updatePayment
- Specified by:
updatePayment
in interfacePaymentDAO
- Throws:
DataAccessException
-
updatePayment
- Specified by:
updatePayment
in interfacePaymentDAO
- Throws:
DataAccessException
-
deletePayment
- Specified by:
deletePayment
in interfacePaymentDAO
- Throws:
DataAccessException
-
deletePayment
- Specified by:
deletePayment
in interfacePaymentDAO
- Throws:
DataAccessException
-