Interface ErrorReportRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<ErrorReport,UUID>, org.springframework.data.jpa.repository.JpaRepository<ErrorReport,UUID>, org.springframework.data.repository.PagingAndSortingRepository<ErrorReport,UUID>, org.springframework.data.repository.query.QueryByExampleExecutor<ErrorReport>, org.springframework.data.repository.Repository<ErrorReport,UUID>

public interface ErrorReportRepository extends org.springframework.data.jpa.repository.JpaRepository<ErrorReport,UUID>
The ErrorRepository interface declares the repository for the ErrorReport domain type.
Author:
Marcus Portmann
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deleteById(UUID errorReportId)
    Delete the error report.

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

    count, delete, deleteAll, deleteAll, deleteAllById, existsById, findById, save

    Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

    deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, saveAll, saveAllAndFlush, saveAndFlush

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

    findAll

    Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findOne
  • Method Details

    • deleteById

      @Modifying @Query("delete from ErrorReport er where er.id = :errorReportId") void deleteById(@Param("errorReportId") UUID errorReportId)
      Delete the error report.
      Specified by:
      deleteById in interface org.springframework.data.repository.CrudRepository<ErrorReport,UUID>
      Parameters:
      errorReportId - the ID for the error report