Interface HookConfigurationRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<HookConfiguration,Long>, org.springframework.data.jpa.repository.JpaRepository<HookConfiguration,Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<HookConfiguration>, org.springframework.data.repository.ListCrudRepository<HookConfiguration,Long>, org.springframework.data.repository.ListPagingAndSortingRepository<HookConfiguration,Long>, org.springframework.data.repository.PagingAndSortingRepository<HookConfiguration,Long>, org.springframework.data.repository.query.QueryByExampleExecutor<HookConfiguration>, org.springframework.data.repository.Repository<HookConfiguration,Long>

public interface HookConfigurationRepository extends org.springframework.data.jpa.repository.JpaRepository<HookConfiguration,Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<HookConfiguration>
  • Method Summary

    Modifier and Type
    Method
    Description
     

    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.jpa.repository.JpaSpecificationExecutor

    count, delete, exists, findAll, findAll, findAll, findBy, findOne

    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

    • findOneByHookIdAndFieldName

      @Query("select config.fieldValue from HookConfiguration config where config.hook.id = :hookId and config.fieldName = :fieldName") String findOneByHookIdAndFieldName(@Param("hookId") Long hookId, @Param("fieldName") String fieldName)