| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
delete(URLEntry entry)
删除
|
URLEntry |
findByID(long id)
根据ID查找
|
protected java.lang.Class |
getEntryClass() |
protected int |
getEntryType() |
static URLEntryDAO |
getInstance() |
void |
save(URLEntry entry)
保存
|
void |
transfer(URLEntry entry)
转移
|
dealSession, deleteByID, findAll, save, saveOrUpdatecloseSession, createSession, createSession, rollbackSessionpublic static URLEntryDAO getInstance()
public void save(URLEntry entry) throws java.lang.Exception
entry - java.lang.Exceptionpublic void transfer(URLEntry entry) throws java.lang.Exception
entry - java.lang.Exceptionpublic boolean delete(URLEntry entry) throws java.lang.Exception
entry - java.lang.Exceptionpublic URLEntry findByID(long id) throws java.lang.Exception
id - java.lang.Exceptionprotected java.lang.Class getEntryClass()
getEntryClass 在类中 EntryDAO<URLEntry>protected int getEntryType()
getEntryType 在类中 EntryDAO<URLEntry>