Package com.logicaldoc.report
Interface ReportDAO
- 
- All Superinterfaces:
- com.logicaldoc.core.PersistentObjectDAO<Report>
 - All Known Implementing Classes:
- HibernateReportDAO
 
 public interface ReportDAO extends com.logicaldoc.core.PersistentObjectDAO<Report> DAO forReporthandling.- Since:
- 7.3.1
- Author:
- Marco Meschieri - LogicalDOC
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcleanZombies(long tenantId)Cleans the status of zombie reportsReportfindByName(String name, long tenantId)Finds the report with the given nameList<Report>findZombies(long tenantId)Retrieves all the reports that are running for more than one hourbooleanstore(Report report, File design)Stores the report and it's design file- 
Methods inherited from interface com.logicaldoc.core.PersistentObjectDAObulkUpdate, delete, delete, deleteAll, deleteAll, findAll, findAll, findAllIds, findAllIds, findById, findById, findByObjectQuery, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDbms, initialize, isOracle, jdbcUpdate, jdbcUpdate, query, queryForInt, queryForList, queryForList, queryForLong, queryForObject, queryForRowSet, queryForString, store
 
- 
 
- 
- 
- 
Method Detail- 
storeboolean store(Report report, File design) throws com.logicaldoc.core.PersistenceException Stores the report and it's design file- Parameters:
- report- the report to store
- design- the file containing the report's design
- Returns:
- if the report has been correctly stored
- Throws:
- com.logicaldoc.core.PersistenceException- error in the database
 
 - 
findByNameReport findByName(String name, long tenantId) Finds the report with the given name- Parameters:
- name- unique name of the report
- tenantId- identifier of the tenant
- Returns:
- the found report
 
 - 
findZombiesList<Report> findZombies(long tenantId) Retrieves all the reports that are running for more than one hour- Parameters:
- tenantId- identifier of the tenant
- Returns:
- list of reports
 
 - 
cleanZombiesvoid cleanZombies(long tenantId) Cleans the status of zombie reports- Parameters:
- tenantId- identifier of the tenant
 
 
- 
 
-