Package com.epam.ta.reportportal.dao
Interface ActivityRepositoryCustom
-
- All Superinterfaces:
FilterableRepository<Activity>
- All Known Subinterfaces:
ActivityRepository
- All Known Implementing Classes:
ActivityRepositoryCustomImpl
public interface ActivityRepositoryCustom extends FilterableRepository<Activity>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteModifiedLaterAgo(java.lang.Long projectId, java.time.Duration period)Delete outdated activitiesjava.util.List<Activity>findByFilterWithSortingAndLimit(Queryable filter, org.springframework.data.domain.Sort sort, int limit)Find limiting count of results-
Methods inherited from interface com.epam.ta.reportportal.dao.FilterableRepository
findByFilter, findByFilter
-
-
-
-
Method Detail
-
deleteModifiedLaterAgo
void deleteModifiedLaterAgo(java.lang.Long projectId, java.time.Duration period)Delete outdated activities- Parameters:
projectId- ID of projectperiod- Time period
-
findByFilterWithSortingAndLimit
java.util.List<Activity> findByFilterWithSortingAndLimit(Queryable filter, org.springframework.data.domain.Sort sort, int limit)
Find limiting count of results- Parameters:
filter- Filtersort- Sorting detailslimit- Maximum number of returning items- Returns:
- Found activities
-
-