IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.bc.cm.dao.mem
Class CDTotalDAOMemImpl

java.lang.Object
  extended by com.ibm.btt.bc.cm.dao.mem.CDTotalDAOMemImpl
All Implemented Interfaces:
CDTotalDAO

public class CDTotalDAOMemImpl
extends java.lang.Object
implements CDTotalDAO


Constructor Summary
CDTotalDAOMemImpl()
           
 
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 entity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CDTotalDAOMemImpl

public CDTotalDAOMemImpl()
Method Detail

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

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

update

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

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

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009