| org.emforge.report.dao.ReportDaoInterface
All known Subclasses: org.emforge.report.dao.ReportDaoHibernateImpl,
ReportDaoInterface | public interface ReportDaoInterface (Code) | | Report DAO interface.
author: szakusov, 10.04.2008: created. |
delete | public void delete(Report i_report)(Code) | | Deletes the specified report from the data store
Parameters: i_report - is a report to delete |
delete | public void delete(String i_name)(Code) | | Deletes the specified report from the data store
Parameters: i_name - is a name of report to delete |
getAll | public Collection<Report> getAll()(Code) | | Returns a list of all reports in the system
java.util.Collection of reports |
getById | public Report getById(Long i_id)(Code) | | Retrieves a report object by identifier
Parameters: i_id - is a report identifier Found report or null if required report will not be found. |
getByName | public Report getByName(String i_name)(Code) | | Retrieves a report object by name
Parameters: i_name - is a name of required report Found report or null if required report will not be found. |
save | public Report save(Report i_report)(Code) | | Saves the specified report. If specified report does not exist in the data store then we should insert it, else
just update it
Parameters: i_report - is a report to save Synchronized report object |
save | public Report save(ReportTO i_report)(Code) | | Finds a report by name like name of the specified report and updates found report or just creates a new one.
REM: if report with specified name does not exist in the data store then it will be created.
Parameters: i_report - is a report transfer object to save Synchronized report object |
|
|