public class FolderEntryDAO extends EntryDAO<FolderEntry>
限定符和类型 | 方法和说明 |
---|---|
boolean |
delete(FolderEntry entry)
删除持久化对象
|
FolderEntry |
findByID(long id)
根据id查找对象
|
protected java.lang.Class |
getEntryClass() |
protected int |
getEntryType() |
static FolderEntryDAO |
getInstance() |
void |
save(FolderEntry entry)
保存持久化对象
|
protected void |
sortByID(long[] ids,
DataAccessObjectSession session) |
void |
transfer(FolderEntry entry)
转移
|
dealSession, deleteByID, findAll, save, saveOrUpdate
closeSession, createSession, createSession, rollbackSession
public static FolderEntryDAO getInstance()
public void save(FolderEntry entry) throws java.lang.Exception
entry
- 要保存的对象java.lang.Exception
public void transfer(FolderEntry entry) throws java.lang.Exception
entry
- java.lang.Exception
public boolean delete(FolderEntry entry) throws java.lang.Exception
entry
- 要删除的对象java.lang.Exception
public FolderEntry findByID(long id) throws java.lang.Exception
java.lang.Exception
protected java.lang.Class getEntryClass()
getEntryClass
在类中 EntryDAO<FolderEntry>
protected void sortByID(long[] ids, DataAccessObjectSession session) throws java.lang.Exception
java.lang.Exception
protected int getEntryType()
getEntryType
在类中 EntryDAO<FolderEntry>