IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

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

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

public class BatchDAOImpl
extends DAOBase
implements BatchDAO


Nested Class Summary
(package private)  class BatchDAOImpl.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
BatchDAOImpl(ConnectionPool connectionPool, java.lang.String schema)
           
 
Method Summary
 void deleteBatchesInBin(java.lang.String branchId, java.lang.String drawerId, java.lang.String binType)
           
 Batch find(java.lang.String branchId, java.lang.String drawerId, java.lang.String binType, int batchId)
           
 java.util.List<Batch> getBatchesInBin(java.lang.String branchId, java.lang.String drawerId, java.lang.String binType)
           
 Batch getNew()
           
 Batch getOpenBatchInBin(java.lang.String branchId, java.lang.String drawerId, java.lang.String binType)
           
 int save(java.lang.String branchId, java.lang.String drawerId, java.lang.String binType, Batch newBatch)
           
 int update(Batch aBatch)
           
 
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

BatchDAOImpl

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

find

public Batch find(java.lang.String branchId,
                  java.lang.String drawerId,
                  java.lang.String binType,
                  int batchId)
           throws DAOException
Specified by:
find in interface BatchDAO
Throws:
DAOException

getBatchesInBin

public java.util.List<Batch> getBatchesInBin(java.lang.String branchId,
                                             java.lang.String drawerId,
                                             java.lang.String binType)
                                      throws DAOException
Specified by:
getBatchesInBin in interface BatchDAO
Throws:
DAOException

deleteBatchesInBin

public void deleteBatchesInBin(java.lang.String branchId,
                               java.lang.String drawerId,
                               java.lang.String binType)
                        throws DAOException
Specified by:
deleteBatchesInBin in interface BatchDAO
Throws:
DAOException

getNew

public Batch getNew()
Specified by:
getNew in interface BatchDAO

getOpenBatchInBin

public Batch getOpenBatchInBin(java.lang.String branchId,
                               java.lang.String drawerId,
                               java.lang.String binType)
                        throws DAOException
Specified by:
getOpenBatchInBin in interface BatchDAO
Throws:
DAOException

save

public int save(java.lang.String branchId,
                java.lang.String drawerId,
                java.lang.String binType,
                Batch newBatch)
         throws DAOException
Specified by:
save in interface BatchDAO
Throws:
DAOException

update

public int update(Batch aBatch)
Specified by:
update in interface BatchDAO

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011