Package com.epam.ta.reportportal.dao
Interface FilterableRepository<T>
-
- All Known Subinterfaces:
ActivityRepository,ActivityRepositoryCustom,IntegrationRepository,IntegrationRepositoryCustom,LaunchRepository,LaunchRepositoryCustom,LogRepository,LogRepositoryCustom,ProjectRepository,ProjectRepositoryCustom,TestItemRepository,TestItemRepositoryCustom,UserRepository,UserRepositoryCustom
- All Known Implementing Classes:
ActivityRepositoryCustomImpl,IntegrationRepositoryCustomImpl,LaunchRepositoryCustomImpl,LogRepositoryCustomImpl,ProjectRepositoryCustomImpl,TestItemRepositoryCustomImpl,UserRepositoryCustomImpl
public interface FilterableRepository<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<T>findByFilter(Queryable filter)Executes query built for given filterorg.springframework.data.domain.Page<T>findByFilter(Queryable filter, org.springframework.data.domain.Pageable pageable)Executes query built for given filter and maps result for given page
-
-
-
Method Detail
-
findByFilter
java.util.List<T> findByFilter(Queryable filter)
Executes query built for given filter- Parameters:
filter- Filter to build a query- Returns:
- List of mapped entries found
-
findByFilter
org.springframework.data.domain.Page<T> findByFilter(Queryable filter, org.springframework.data.domain.Pageable pageable)
Executes query built for given filter and maps result for given page- Parameters:
filter- Filter to build a querypageable-Pageable- Returns:
- List of mapped entries found
-
-