tot.dao.jdbc
类 KeywordsDaoImplJDBC

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

public class KeywordsDaoImplJDBC
extends AbstractDao


构造函数摘要
KeywordsDaoImplJDBC()
          Creates a new instance of KeywordsDaoImplJDBC
 
方法摘要
 boolean addKeywords(java.lang.String title, java.lang.String url)
          add Keywords
 void batDel(java.lang.String[] s)
           
 boolean delKeywords(int id)
           
 java.util.Collection getKeywords()
          get all keywords
 DataField getKeywords(int id)
           
 java.util.Collection getKeywordsList_Limit(int currentpage, int pagesize)
           
 int getLastId()
           
 int getTotalCount(int categoryid)
           
 boolean modKeywords(int id, java.lang.String title, java.lang.String url)
           
 
从类 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
 

构造函数详细信息

KeywordsDaoImplJDBC

public KeywordsDaoImplJDBC()
Creates a new instance of KeywordsDaoImplJDBC

方法详细信息

getLastId

public int getLastId()

addKeywords

public boolean addKeywords(java.lang.String title,
                           java.lang.String url)
add Keywords


modKeywords

public boolean modKeywords(int id,
                           java.lang.String title,
                           java.lang.String url)

delKeywords

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

getKeywords

public java.util.Collection getKeywords()
get all keywords


getKeywordsList_Limit

public java.util.Collection getKeywordsList_Limit(int currentpage,
                                                  int pagesize)

getKeywords

public DataField getKeywords(int id)

getTotalCount

public int getTotalCount(int categoryid)

batDel

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