Interface NotificationDeliveryLogRepositoryBase<T extends NotificationDeliveryLogBase>

Type Parameters:
T - 應用宣告的具體遞送稽核 entity(繼承 NotificationDeliveryLogBase
All Superinterfaces:
org.springframework.data.repository.CrudRepository<T,UUID>, org.springframework.data.jpa.repository.JpaRepository<T,UUID>, org.springframework.data.repository.ListCrudRepository<T,UUID>, org.springframework.data.repository.ListPagingAndSortingRepository<T,UUID>, org.springframework.data.repository.PagingAndSortingRepository<T,UUID>, org.springframework.data.repository.query.QueryByExampleExecutor<T>, org.springframework.data.repository.Repository<T,UUID>

@NoRepositoryBean public interface NotificationDeliveryLogRepositoryBase<T extends NotificationDeliveryLogBase> extends org.springframework.data.jpa.repository.JpaRepository<T,UUID>

遞送稽核 log 資料存取基底

ADR-017:jar 不擁有 具體 @Entity,本介面為 @NoRepositoryBean 泛型基底,由應用帶入具體 entity 型參成為可注入 repository。

Since:
4.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    查某 Outbox 列的完整嘗試歷程(依嘗試序)

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

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

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

    deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush

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

    findAll, findAllById, saveAll

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

    findAll

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

    findAll

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

    count, exists, findAll, findBy, findOne
  • Method Details

    • findByOutboxIdOrderByAttemptNoAsc

      List<T> findByOutboxIdOrderByAttemptNoAsc(UUID outboxId)
      查某 Outbox 列的完整嘗試歷程(依嘗試序)
      Parameters:
      outboxId - Outbox 列 ID
      Returns:
      該列的所有嘗試 log