tot.dao.jdbc
类 AnswerDaoImplJDBC
java.lang.Object
tot.dao.AbstractDao
tot.dao.jdbc.AnswerDaoImplJDBC
public class AnswerDaoImplJDBC
- extends AbstractDao
|
方法摘要 |
boolean |
add(int askid,
java.lang.String userid,
java.lang.String content,
java.lang.String attach,
java.sql.Timestamp moditime,
int status)
add Keywords |
void |
batDel(java.lang.String[] s)
|
void |
batStatus(java.lang.String[] s,
int val)
|
boolean |
del(int id)
|
DataField |
get(int id)
|
int |
getLastId()
|
java.util.Collection |
getList(int askid,
int currentpage,
int pagesize)
|
DataField |
getShow(int id)
|
int |
getTotalCount(int askid)
|
boolean |
mod(int id,
java.lang.String content,
java.lang.String attach,
java.sql.Timestamp moditime)
|
void |
upStatus(int id,
int val)
|
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnswerDaoImplJDBC
public AnswerDaoImplJDBC()
- Creates a new instance of EduVersionDaoImplJDBC
getLastId
public int getLastId()
add
public boolean add(int askid,
java.lang.String userid,
java.lang.String content,
java.lang.String attach,
java.sql.Timestamp moditime,
int status)
- add Keywords
mod
public boolean mod(int id,
java.lang.String content,
java.lang.String attach,
java.sql.Timestamp moditime)
getList
public java.util.Collection getList(int askid,
int currentpage,
int pagesize)
get
public DataField get(int id)
getShow
public DataField getShow(int id)
getTotalCount
public int getTotalCount(int askid)
batDel
public void batDel(java.lang.String[] s)
batStatus
public void batStatus(java.lang.String[] s,
int val)
upStatus
public void upStatus(int id,
int val)
throws ObjectNotFoundException,
DatabaseException
- 抛出:
ObjectNotFoundException
DatabaseException
del
public boolean del(int id)
throws ObjectNotFoundException,
DatabaseException
- 抛出:
ObjectNotFoundException
DatabaseException