Interface JpaExportLobRepository<D extends JpaExportLob>
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<D,
,String> org.springframework.data.repository.Repository<D,
String>
@Repository
public interface JpaExportLobRepository<D extends JpaExportLob>
extends org.springframework.data.repository.CrudRepository<D,String>
JPA domain-specific implementation of
ExportRepository
.- Author:
- Samarth Dhruva (samarthd)
-
Method Summary
Modifier and TypeMethodDescriptionfindByPath
(String path) Finds the exports whoseExport.status
matches one of the givenstatuses
and whoseExport.lastUpdated
is before the givencutoff
.Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAll
-
Method Details
-
findByPath
Finds the exports whoseExport.status
matches one of the givenstatuses
and whoseExport.lastUpdated
is before the givencutoff
.- Parameters:
statuses
- the results will be filtered to only include those exports whoseExport.status
matches one of these valuescutoff
- the results will be filtered to only include those exports whoseExport.lastUpdated
is before this value- Returns:
- the exports which have one of the given
statuses
and have aExport.lastUpdated
before the givencutoff
-