Interface RuleRepositoryMongodb

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

    @Profile({"mongo-persistence","fongo"})
    @Repository("ruleRepositoryMongo")
    public interface RuleRepositoryMongodb
    extends org.springframework.data.mongodb.repository.MongoRepository<RuleEntity,​String>
    Created by alexg on 07.02.17.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Optional<RuleEntity> getRuleByRuleId​(String ruleId)  
      • 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.PagingAndSortingRepository

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

        count, exists, findAll, findOne