tot.dao.jdbc
类 DownloadCommenDaoImplJDBC

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

public class DownloadCommenDaoImplJDBC
extends AbstractDao


构造函数摘要
DownloadCommenDaoImplJDBC()
          Creates a new instance of DownloadCommenDaoImplJDBC
 
方法摘要
 boolean add(int objid, java.lang.String author, java.lang.String content, java.lang.String ip, java.sql.Timestamp moditime)
          add GuestBook
 void baRecommend(java.lang.String[] s, int val)
           
 void batDel(java.lang.String[] s)
           
 boolean del(int id)
           
 DataField get(int id)
           
 java.util.Collection getListByLimit(int objid, int isrecommend, int currentpage, int pagesize)
           
 int getTotalCount(int objid, int isrecommend)
           
 boolean mod(int id, java.lang.String author, java.lang.String content)
           
 
从类 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
 

构造函数详细信息

DownloadCommenDaoImplJDBC

public DownloadCommenDaoImplJDBC()
Creates a new instance of DownloadCommenDaoImplJDBC

方法详细信息

add

public boolean add(int objid,
                   java.lang.String author,
                   java.lang.String content,
                   java.lang.String ip,
                   java.sql.Timestamp moditime)
add GuestBook


mod

public boolean mod(int id,
                   java.lang.String author,
                   java.lang.String content)

get

public DataField get(int id)

del

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

batDel

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

baRecommend

public void baRecommend(java.lang.String[] s,
                        int val)

getListByLimit

public java.util.Collection getListByLimit(int objid,
                                           int isrecommend,
                                           int currentpage,
                                           int pagesize)

getTotalCount

public int getTotalCount(int objid,
                         int isrecommend)