Interface ConfigValueRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<ConfigurationValues,,Long> org.springframework.data.jpa.repository.JpaRepository<ConfigurationValues,,Long> org.springframework.data.repository.PagingAndSortingRepository<ConfigurationValues,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<ConfigurationValues>,org.springframework.data.repository.Repository<ConfigurationValues,Long>
@Repository
public interface ConfigValueRepository
extends org.springframework.data.jpa.repository.JpaRepository<ConfigurationValues,Long>
Repository for queries for Configuration Values.
-
Method Summary
Modifier and TypeMethodDescriptionfindAllByProductAndConfigurable(String product, Boolean configurable) Find all configuration values by product type.Methods 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, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlushMethods 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
-
findAllByProductAndConfigurable
Find all configuration values by product type.- Parameters:
product- product typeconfigurable- configurable flag- Returns:
- All configuration values
-