Package com.logicaldoc.report
Class HibernateReportDAO
- java.lang.Object
- 
- com.logicaldoc.core.HibernatePersistentObjectDAO<Report>
- 
- com.logicaldoc.report.HibernateReportDAO
 
 
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidcleanZombies(long tenantId)Cleans the status of zombie reportsbooleandelete(long reportId, int code)ReportfindByName(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 hourstatic FileresolveDesignFile(long reportId)Deprecated.booleanstore(Report report)booleanstore(Report report, File design)Stores the report and it's design file- 
Methods inherited from class com.logicaldoc.core.HibernatePersistentObjectDAObulkUpdate, delete, deleteAll, deleteAll, findAll, findAll, findAllIds, findAllIds, findById, findById, findByObjectQuery, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDbms, getSessionFactory, initialize, isOracle, jdbcUpdate, jdbcUpdate, query, queryForInt, queryForList, queryForList, queryForLong, queryForObject, queryForRowSet, queryForString, setSessionFactory
 - 
Methods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.logicaldoc.core.PersistentObjectDAObulkUpdate, 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
 
- 
 
- 
- 
- 
Method Detail- 
resolveDesignFile@Deprecated(since="9") public static File resolveDesignFile(long reportId) Deprecated.
 - 
deletepublic boolean delete(long reportId, int code)
 - 
findByNamepublic Report findByName(String name, long tenantId) Description copied from interface:ReportDAOFinds the report with the given name- Specified by:
- findByNamein interface- ReportDAO
- Parameters:
- name- unique name of the report
- tenantId- identifier of the tenant
- Returns:
- the found report
 
 - 
storepublic boolean store(Report report, File design) throws com.logicaldoc.core.PersistenceException Description copied from interface:ReportDAOStores the report and it's design file
 - 
storepublic boolean store(Report report) throws com.logicaldoc.core.PersistenceException 
 - 
findZombiespublic List<Report> findZombies(long tenantId) Description copied from interface:ReportDAORetrieves all the reports that are running for more than one hour- Specified by:
- findZombiesin interface- ReportDAO
- Parameters:
- tenantId- identifier of the tenant
- Returns:
- list of reports
 
 - 
cleanZombiespublic void cleanZombies(long tenantId) Description copied from interface:ReportDAOCleans the status of zombie reports- Specified by:
- cleanZombiesin interface- ReportDAO
- Parameters:
- tenantId- identifier of the tenant
 
 
- 
 
-