Package org.tailormap.api.repository
Interface ConfigurationRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Configuration,
,String> org.springframework.data.jpa.repository.JpaRepository<Configuration,
,String> org.springframework.data.repository.ListCrudRepository<Configuration,
,String> org.springframework.data.repository.ListPagingAndSortingRepository<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
Modifier and TypeMethodDescriptionvoid
deleteConfigurationByKey
(String configKey) default String
default String
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
-
findByKey
-
get
-
get
-
getAvailableForViewer
@PreAuthorize("permitAll()") @Query("from Configuration c where c.key = :key and c.availableForViewer = true") Optional<Configuration> getAvailableForViewer(@Param("key") String key) -
deleteConfigurationByKey
-