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