Tim-connector: new search method added

findByOrderElementAndChildrenFilteredByDate added, to find all workReportLines of an order between 2 dates
This commit is contained in:
Miciele Ghiorghis 2013-01-17 09:36:28 +01:00 committed by Manuel Rego Casasnovas
parent 9463d94a84
commit 1ce4477c84

View file

@ -76,5 +76,12 @@ public interface IWorkReportLineDAO extends
List<WorkReportLine> findByOrderElementAndWorkReports(
OrderElement orderElement, List<WorkReport> workReports);
/**
* Returns the {@link WorkReportLine}s of the specified
* <code>orderElement</code> specified between <code>start</code> date and
* <code>end</code> date
*/
List<WorkReportLine> findByOrderElementAndChildrenFilteredByDate(
OrderElement orderElement, Date start, Date end, boolean sortByDate);
}