org.squashtest.csp.tm.domain.report.common.hibernate
Class HibernateExecutionProgressQuery
java.lang.Object
org.squashtest.csp.tm.domain.report.query.hibernate.HibernateReportQuery
org.squashtest.csp.tm.domain.report.common.hibernate.HibernateExecutionProgressQuery
- All Implemented Interfaces:
- ReportQuery
public class HibernateExecutionProgressQuery
- extends HibernateReportQuery
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateExecutionProgressQuery
public HibernateExecutionProgressQuery()
createHibernateQuery
public org.hibernate.criterion.DetachedCriteria createHibernateQuery()
- Specified by:
createHibernateQuery in class HibernateReportQuery
- Returns:
- a DetachedCriteria to run in a Hibernate Dao, or null.
doInSession
public List<?> doInSession(org.hibernate.Session session)
- Description copied from class:
HibernateReportQuery
- if you really need it. Will be executed if createHibernateQuery() returned null;
- Specified by:
doInSession in class HibernateReportQuery
- Returns:
convertToDto
public List<?> convertToDto(List<?> rawData)
- Description copied from class:
HibernateReportQuery
- This method will convert the raw results from Hibernate into a suitable list of Dto object that the view will process in turn.
Should also use the DataFilteringService if need be.
- Specified by:
convertToDto in class HibernateReportQuery
- Parameters:
rawData - a List of Hibernate entities.
- Returns:
- a List of Dtos.
filterUnwantedDataOut
protected List<Campaign> filterUnwantedDataOut(List<Campaign> list)
Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.