com.ibm.btt.bc.cm.dao.mem
Class CDTotalDAOMemImpl
java.lang.Object
com.ibm.btt.bc.cm.dao.mem.CDTotalDAOMemImpl
- All Implemented Interfaces:
- CDTotalDAO
public class CDTotalDAOMemImpl
- extends java.lang.Object
- implements CDTotalDAO
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CDTotalDAOMemImpl
public CDTotalDAOMemImpl()
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
(c) Copyright IBM Corporation 1998, 2009