Interface ProtectedContentRepository

  • All Superinterfaces:
    org.springframework.data.repository.CrudRepository<ProtectedContent,​Long>, org.springframework.data.jpa.repository.JpaRepository<ProtectedContent,​Long>, org.springframework.data.repository.PagingAndSortingRepository<ProtectedContent,​Long>, org.springframework.data.repository.query.QueryByExampleExecutor<ProtectedContent>, org.springframework.data.repository.Repository<ProtectedContent,​Long>

    @Repository
    public interface ProtectedContentRepository
    extends org.springframework.data.jpa.repository.JpaRepository<ProtectedContent,​Long>
    Spring Data repository for the ProtectedContent entity.
    • Method Detail

      • findByCertificateId

        @Query(name="ProtectedContent.findByCertificateId")
        List<ProtectedContent> findByCertificateId​(@Param("certId")
                                                   Long certId)
      • findByCSRId

        @Query(name="ProtectedContent.findByCSRId")
        List<ProtectedContent> findByCSRId​(@Param("csrId")
                                           Long csrId)
      • findByValidToPassed

        @Query(name="ProtectedContent.findByValidToPassed")
        List<ProtectedContent> findByValidToPassed​(@Param("validTo")
                                                   Instant validTo)
      • findByDeleteAfterPassed

        @Query(name="ProtectedContent.findByDeleteAfterPassed")
        List<ProtectedContent> findByDeleteAfterPassed​(@Param("deleteAfter")
                                                       Instant deleteAfter)