public class ReportletEntryDAO extends EntryDAO<ReportletEntry>
限定符和类型 | 方法和说明 |
---|---|
boolean |
delete(ReportletEntry entry)
删除
|
ReportletEntry |
findByID(long id)
根据id查找
|
java.util.List |
findByName(java.lang.String name)
根据名字查找给**.cpt取的名字
|
java.util.List |
findByPath(java.lang.String path)
根据Path查找
|
java.util.List |
findByReportletPath(java.lang.String reportletPath)
根据文件路径查找
|
protected java.lang.Class |
getEntryClass() |
protected int |
getEntryType() |
static ReportletEntryDAO |
getInstance() |
java.util.List |
getReports() |
long |
save(ReportletEntry entry)
保存
|
void |
transfer(ReportletEntry entry)
转移
|
dealSession, deleteByID, findAll, save, saveOrUpdate
closeSession, createSession, createSession, rollbackSession
public static ReportletEntryDAO getInstance()
public long save(ReportletEntry entry) throws java.lang.Exception
entry
- java.lang.Exception
public void transfer(ReportletEntry entry) throws java.lang.Exception
entry
- java.lang.Exception
public java.util.List getReports() throws java.lang.Exception
java.lang.Exception
public boolean delete(ReportletEntry entry) throws java.lang.Exception
entry
- java.lang.Exception
public ReportletEntry findByID(long id) throws java.lang.Exception
id
- java.lang.Exception
public java.util.List findByPath(java.lang.String path) throws java.lang.Exception
path
- java.lang.Exception
public java.util.List findByReportletPath(java.lang.String reportletPath) throws java.lang.Exception
reportletPath
- java.lang.Exception
public java.util.List findByName(java.lang.String name)
name
- 名字protected java.lang.Class getEntryClass()
getEntryClass
在类中 EntryDAO<ReportletEntry>
protected int getEntryType()
getEntryType
在类中 EntryDAO<ReportletEntry>