com.softslate.commerce.daos.payment
Class PaymentDAOHibernate

java.lang.Object
  extended by com.softslate.commerce.daos.core.BaseDAO
      extended by 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
           
 
Constructor Summary
PaymentDAOHibernate()
           
 
Method Summary
 void deletePayment()
           
 void deletePayment(boolean commit)
           
 Payment getPayment()
           
 void insertPayment()
           
 void insertPayment(boolean commit)
           
 java.lang.String loadNumberByID()
           
 void loadPaymentFromID()
           
 void setPayment(Payment payment)
           
 void updatePayment()
           
 void updatePayment(boolean commit)
           
 
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
 

Field Detail

log

static org.apache.commons.logging.Log log

payment

private Payment payment
Constructor Detail

PaymentDAOHibernate

public PaymentDAOHibernate()
Method Detail

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 2003–2005