com.jdon.model.query.block
Class BlockQueryJDBCTemp

java.lang.Object
  extended by com.jdon.model.query.block.BlockQueryJDBCTemp
All Implemented Interfaces:
BlockQueryJDBC

public class BlockQueryJDBCTemp
extends java.lang.Object
implements BlockQueryJDBC

Batch query JDBC Template this class can be directly by application system.


Constructor Summary
BlockQueryJDBCTemp(javax.sql.DataSource dataSource)
           
 
Method Summary
 int fetchDataAllCount(QueryConditonDatakey qcd)
          execute sql that fetch all count
 java.util.List fetchDatas(QueryConditonDatakey qcdk)
          execute sql that fetch all ID's collection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockQueryJDBCTemp

public BlockQueryJDBCTemp(javax.sql.DataSource dataSource)
Method Detail

fetchDataAllCount

public int fetchDataAllCount(QueryConditonDatakey qcd)
Description copied from interface: BlockQueryJDBC
execute sql that fetch all count

Specified by:
fetchDataAllCount in interface BlockQueryJDBC
Returns:
int the count

fetchDatas

public java.util.List fetchDatas(QueryConditonDatakey qcdk)
Description copied from interface: BlockQueryJDBC
execute sql that fetch all ID's collection

Specified by:
fetchDatas in interface BlockQueryJDBC
Returns:
PageIterator create a PageIterator instance