限定符和类型 | 方法和说明 |
---|---|
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, saveOrUpdate
closeSession, createSession, createSession, rollbackSession
public static FileEntryDAO getInstance()
public void save(FileEntry entry) throws java.lang.Exception
entry
- java.lang.Exception
public void transfer(FileEntry entry) throws java.lang.Exception
entry
- java.lang.Exception
public boolean delete(FileEntry entry) throws java.lang.Exception
entry
- java.lang.Exception
public FileEntry findByID(long id) throws java.lang.Exception
id
- java.lang.Exception
protected java.lang.Class getEntryClass()
getEntryClass
在类中 EntryDAO<FileEntry>
protected int getEntryType()
getEntryType
在类中 EntryDAO<FileEntry>