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 TypeMethodDescriptionvoiddeleteConfigurationByKey(String configKey) default Stringdefault StringMethods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods 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
-