Interface ConfigurationRepository

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

    public interface ConfigurationRepository
    extends org.springframework.data.jpa.repository.JpaRepository<Configuration,​String>
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      void deleteConfigurationByKey​(String configKey)  
      Optional<Configuration> findByKey​(String key)  
      default String get​(String key)  
      default String get​(String key, String defaultValue)  
      • 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
      • 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 Detail

      • get

        @PreAuthorize("permitAll()")
        default String get​(String key)
      • get

        @PreAuthorize("permitAll()")
        default String get​(String key,
                           String defaultValue)
      • deleteConfigurationByKey

        void deleteConfigurationByKey​(String configKey)