diff --git a/libreplan-business/src/main/java/org/libreplan/business/workreports/daos/IWorkReportLineDAO.java b/libreplan-business/src/main/java/org/libreplan/business/workreports/daos/IWorkReportLineDAO.java index 39f8ddd1f..b05924bcc 100644 --- a/libreplan-business/src/main/java/org/libreplan/business/workreports/daos/IWorkReportLineDAO.java +++ b/libreplan-business/src/main/java/org/libreplan/business/workreports/daos/IWorkReportLineDAO.java @@ -76,5 +76,12 @@ public interface IWorkReportLineDAO extends List findByOrderElementAndWorkReports( OrderElement orderElement, List workReports); + /** + * Returns the {@link WorkReportLine}s of the specified + * orderElement specified between start date and + * end date + */ + List findByOrderElementAndChildrenFilteredByDate( + OrderElement orderElement, Date start, Date end, boolean sortByDate); }