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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<ProtectedContent>findByCertificateId(Long certId)List<ProtectedContent>findByCSRId(Long csrId)org.springframework.data.domain.Page<ProtectedContent>findByDeleteAfterPassed(org.springframework.data.domain.Pageable pageable, Instant deleteAfter)List<ProtectedContent>findByTypeRelationContentB64(ProtectedContentType type, ContentRelationType relationType, String contentB64)List<ProtectedContent>findByTypeRelationId(ProtectedContentType type, ContentRelationType relationType, Long id)org.springframework.data.domain.Page<ProtectedContent>findByValidToPassed(org.springframework.data.domain.Pageable pageable, Instant validTo)-
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, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlush
-
-
-
-
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)
-
findByTypeRelationId
@Query(name="ProtectedContent.findByTypeRelationId") List<ProtectedContent> findByTypeRelationId(@Param("type") ProtectedContentType type, @Param("relationType") ContentRelationType relationType, @Param("id") Long id)
-
findByTypeRelationContentB64
@Query(name="ProtectedContent.findByTypeRelationContentB64") List<ProtectedContent> findByTypeRelationContentB64(@Param("type") ProtectedContentType type, @Param("relationType") ContentRelationType relationType, @Param("contentB64") String contentB64)
-
findByValidToPassed
@Query(name="ProtectedContent.findByValidToPassed") org.springframework.data.domain.Page<ProtectedContent> findByValidToPassed(org.springframework.data.domain.Pageable pageable, @Param("validTo") Instant validTo)
-
findByDeleteAfterPassed
@Query(name="ProtectedContent.findByDeleteAfterPassed") org.springframework.data.domain.Page<ProtectedContent> findByDeleteAfterPassed(org.springframework.data.domain.Pageable pageable, @Param("deleteAfter") Instant deleteAfter)
-
-