Interface BookingRuleRepositoryJpa
-
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<RuleJpaEntity,String>,org.springframework.data.jpa.repository.JpaRepository<RuleJpaEntity,String>,org.springframework.data.repository.PagingAndSortingRepository<RuleJpaEntity,String>,org.springframework.data.repository.query.QueryByExampleExecutor<RuleJpaEntity>,org.springframework.data.repository.Repository<RuleJpaEntity,String>
@Repository @Profile("jpa") public interface BookingRuleRepositoryJpa extends org.springframework.data.jpa.repository.JpaRepository<RuleJpaEntity,String>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<RuleJpaEntity>findByRuleId(String ruleId)List<RuleJpaEntity>findByUserId(String userId)-
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteById, existsById, findById, save
-
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush
-
-
-
-
Method Detail
-
findByUserId
List<RuleJpaEntity> findByUserId(String userId)
-
findByRuleId
Optional<RuleJpaEntity> findByRuleId(String ruleId)
-
-