From 9d5bcc6d3e6f71db3253603aab5ac209620a160e Mon Sep 17 00:00:00 2001 From: Evelina02 Date: Tue, 10 Feb 2026 16:04:11 +0300 Subject: [PATCH] EPMRPP-111882 find locked dashboards --- .../dao/UserFilterRepository.java | 40 ++++++++++++++----- 1 file changed, 30 insertions(+), 10 deletions(-) diff --git a/src/main/java/com/epam/ta/reportportal/dao/UserFilterRepository.java b/src/main/java/com/epam/ta/reportportal/dao/UserFilterRepository.java index fafa508e1..a7d0c53cb 100644 --- a/src/main/java/com/epam/ta/reportportal/dao/UserFilterRepository.java +++ b/src/main/java/com/epam/ta/reportportal/dao/UserFilterRepository.java @@ -20,6 +20,8 @@ import java.util.Collection; import java.util.List; import java.util.Optional; +import org.springframework.data.jpa.repository.Query; +import org.springframework.data.repository.query.Param; /** * @author Pavel Bortnik @@ -31,23 +33,20 @@ public interface UserFilterRepository extends ReportPortalRepository findByIdAndProjectId(Long id, Long projectId); /** * @param ids {@link Iterable} of the filter Ids - * @param projectId Id of the {@link com.epam.ta.reportportal.entity.project.Project} whose - * filters will be extracted + * @param projectId Id of the {@link com.epam.ta.reportportal.entity.project.Project} whose filters will be extracted * @return The {@link List} of the {@link UserFilter} */ List findAllByIdInAndProjectId(Collection ids, Long projectId); /** - * @param projectId Id of the {@link com.epam.ta.reportportal.entity.project.Project} whose - * filters will be extracted + * @param projectId Id of the {@link com.epam.ta.reportportal.entity.project.Project} whose filters will be extracted * @return The {@link List} of the {@link UserFilter} */ List findAllByProjectId(Long projectId); @@ -57,8 +56,8 @@ public interface UserFilterRepository extends ReportPortalRepository findLockedDashboardsByFilterId(@Param("filterId") Long filterId, @Param("projectId") Long projectId); }