IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.bc.cm.dao.db2
Class CDTotalDAOImpl

java.lang.Object
  extended by com.ibm.btt.bc.cm.dao.db2.DAOBase
      extended by com.ibm.btt.bc.cm.dao.db2.CDTotalDAOImpl
All Implemented Interfaces:
CDTotalDAO

public class CDTotalDAOImpl
extends DAOBase
implements CDTotalDAO


Nested Class Summary
(package private)  class CDTotalDAOImpl.ResultSetProcessor
           
 
Nested classes/interfaces inherited from class com.ibm.btt.bc.cm.dao.db2.DAOBase
DAOBase.ProcessResultSet<T>
 
Field Summary
 
Fields inherited from class com.ibm.btt.bc.cm.dao.db2.DAOBase
batchTableName, binTableName, cashDrawerTableName, cashTrayTableName, cdTotalTableName, denominationTableName
 
Constructor Summary
CDTotalDAOImpl(ConnectionPool connectionPool, java.lang.String schema)
           
 
Method Summary
 CDTotal find(java.lang.String branchId, java.lang.String drawerId, java.lang.String totalType)
           
 java.util.List<CDTotal> getCDTotalsInCashDrawer(java.lang.String branchId, java.lang.String drawerId)
           
 CDTotal getNew()
           
 void resetCDTotalsInCashDrawer(java.lang.String branchId, java.lang.String drawerId)
          Set field 'amount' and 'count' of all CDTotals in a cash drawer to zero.
 java.lang.String save(CDTotal newCDTotal)
           
 void update(java.lang.String branchId, java.lang.String drawerId, CDTotal total)
           
 
Methods inherited from class com.ibm.btt.bc.cm.dao.db2.DAOBase
deleteAll, execute, query, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CDTotalDAOImpl

public CDTotalDAOImpl(ConnectionPool connectionPool,
                      java.lang.String schema)
Method Detail

find

public CDTotal find(java.lang.String branchId,
                    java.lang.String drawerId,
                    java.lang.String totalType)
             throws DAOException
Specified by:
find in interface CDTotalDAO
Throws:
DAOException

getNew

public CDTotal getNew()
Specified by:
getNew in interface CDTotalDAO

resetCDTotalsInCashDrawer

public void resetCDTotalsInCashDrawer(java.lang.String branchId,
                                      java.lang.String drawerId)
                               throws DAOException
Description copied from interface: CDTotalDAO
Set field 'amount' and 'count' of all CDTotals in a cash drawer to zero.

Specified by:
resetCDTotalsInCashDrawer in interface CDTotalDAO
Throws:
DAOException

save

public java.lang.String save(CDTotal newCDTotal)
                      throws DAOException
Specified by:
save in interface CDTotalDAO
Throws:
DAOException

update

public void update(java.lang.String branchId,
                   java.lang.String drawerId,
                   CDTotal total)
            throws DAOException
Specified by:
update in interface CDTotalDAO
Throws:
DAOException

getCDTotalsInCashDrawer

public java.util.List<CDTotal> getCDTotalsInCashDrawer(java.lang.String branchId,
                                                       java.lang.String drawerId)
                                                throws DAOException
Specified by:
getCDTotalsInCashDrawer in interface CDTotalDAO
Throws:
DAOException

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009