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