org.squashtest.csp.tm.domain.report.query
Interface ReportQueryFactory

All Known Implementing Classes:
ExecutionProgressQueryFactory, RequirementCoverageByTestsQueryFactory

public interface ReportQueryFactory

A ReportQueryFactory will create a ReportQuery for a given Report. Usually one instance of a ReportQueryFactory will generate an instance of an implementation of a ReportQuery dedicated to : - a given Report, - a given persistence layer. Implementing a ReportQueryFactory : =================================== the method setReport allows the ReportQueryFactory to call setQueryFactory() of the target Report if needed. the method makeReportQuery() must create an instance of an implementation of ReportQuery that must : - match a particular Report, namely the one to which this ReportQueryFactory is attached, - work for a given implementation of the underlying repository.

Author:
bsiri

Method Summary
 ReportQuery makeReportQuery()
           
 void setReport(Report report)
           
 

Method Detail

makeReportQuery

ReportQuery makeReportQuery()

setReport

void setReport(Report report)


Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.