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 Type
    Method
    Description
    Finds the exports whose Export.status matches one of the given statuses and whose Export.lastUpdated is before the given cutoff.

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAll
  • Method Details

    • findByPath

      Optional<D> findByPath(String path)
      Finds the exports whose Export.status matches one of the given statuses and whose Export.lastUpdated is before the given cutoff.
      Parameters:
      statuses - the results will be filtered to only include those exports whose Export.status matches one of these values
      cutoff - the results will be filtered to only include those exports whose Export.lastUpdated is before this value
      Returns:
      the exports which have one of the given statuses and have a Export.lastUpdated before the given cutoff