tot.dao.jdbc
类 SourceDaoImplJDBC

java.lang.Object
  继承者 tot.dao.AbstractDao
      继承者 tot.dao.jdbc.SourceDaoImplJDBC

public class SourceDaoImplJDBC
extends AbstractDao


构造函数摘要
SourceDaoImplJDBC()
          Creates a new instance of SourDaoImplJDBC
 
方法摘要
 boolean addSource(java.lang.String title, java.lang.String stype)
           
 void batDel(java.lang.String[] s)
           
 boolean delSource(int id)
           
 java.lang.String getSelect(java.lang.String stype, int currentid)
           
 java.lang.String getSelectInt(java.lang.String stype, int currentid)
           
 DataField getSource(int id)
           
 java.util.Collection getSourceList_Limit(java.lang.String stype, int currentpage, int pagesize)
           
 java.util.Collection getSources(java.lang.String stype)
           
 int getTotalCount(java.lang.String stype)
           
 boolean modSource(int id, java.lang.String title, java.lang.String stype)
           
 
从类 tot.dao.AbstractDao 继承的方法
bat, exe, exeTransaction, findByPrimaryKey, getData, getDataCount, getDataList_Limit_Normal, getDataList_mysqlLimit, getFirstData
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造函数详细信息

SourceDaoImplJDBC

public SourceDaoImplJDBC()
Creates a new instance of SourDaoImplJDBC

方法详细信息

addSource

public boolean addSource(java.lang.String title,
                         java.lang.String stype)

modSource

public boolean modSource(int id,
                         java.lang.String title,
                         java.lang.String stype)

delSource

public boolean delSource(int id)
                  throws ObjectNotFoundException,
                         DatabaseException
抛出:
ObjectNotFoundException
DatabaseException

getSource

public DataField getSource(int id)

getSources

public java.util.Collection getSources(java.lang.String stype)

getSelect

public java.lang.String getSelect(java.lang.String stype,
                                  int currentid)

getSelectInt

public java.lang.String getSelectInt(java.lang.String stype,
                                     int currentid)

getTotalCount

public int getTotalCount(java.lang.String stype)

getSourceList_Limit

public java.util.Collection getSourceList_Limit(java.lang.String stype,
                                                int currentpage,
                                                int pagesize)

batDel

public void batDel(java.lang.String[] s)