Interface BookingRuleRepositoryMongodb

  • All Superinterfaces:
    org.springframework.data.repository.CrudRepository<RuleMongoEntity,​String>, org.springframework.data.mongodb.repository.MongoRepository<RuleMongoEntity,​String>, org.springframework.data.repository.PagingAndSortingRepository<RuleMongoEntity,​String>, org.springframework.data.repository.query.QueryByExampleExecutor<RuleMongoEntity>, org.springframework.data.repository.Repository<RuleMongoEntity,​String>

    @Repository
    @Profile({"mongo","fongo"})
    public interface BookingRuleRepositoryMongodb
    extends org.springframework.data.mongodb.repository.MongoRepository<RuleMongoEntity,​String>
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.springframework.data.domain.Page<RuleMongoEntity> findAll​(org.springframework.data.domain.Pageable pageable)  
      Optional<RuleMongoEntity> findByRuleId​(String ruleId)  
      List<RuleMongoEntity> findByUserId​(String userId)  
      • Methods inherited from interface org.springframework.data.repository.CrudRepository

        count, delete, deleteAll, deleteAll, deleteById, existsById, findAllById, findById, save
      • Methods inherited from interface org.springframework.data.mongodb.repository.MongoRepository

        findAll, findAll, findAll, findAll, insert, insert, saveAll
      • Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

        count, exists, findAll, findOne