Class SearchRepositoryImpl<T,​I extends Serializable>

  • All Implemented Interfaces:
    SearchRepository<T,​I>, org.springframework.data.mongodb.repository.MongoRepository<T,​I>, org.springframework.data.repository.CrudRepository<T,​I>, org.springframework.data.repository.PagingAndSortingRepository<T,​I>, org.springframework.data.repository.query.QueryByExampleExecutor<T>, org.springframework.data.repository.Repository<T,​I>

    public class SearchRepositoryImpl<T,​I extends Serializable>
    extends org.springframework.data.mongodb.repository.support.SimpleMongoRepository<T,​I>
    implements SearchRepository<T,​I>
    • Constructor Summary

      Constructors 
      Constructor Description
      SearchRepositoryImpl​(org.springframework.data.mongodb.repository.query.MongoEntityInformation<T,​I> entityInformation, org.springframework.data.mongodb.core.MongoOperations mongoOperations)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.data.domain.Page<T> findAll​(String search, org.springframework.data.domain.Pageable pageable)  
      org.springframework.data.domain.Page<T> findAll​(org.springframework.data.mongodb.core.query.Criteria criteria, org.springframework.data.domain.Pageable pageable)  
      org.springframework.data.domain.Page<T> findAll​(org.springframework.data.mongodb.core.query.Query query, org.springframework.data.domain.Pageable pageable)  
      • Methods inherited from class org.springframework.data.mongodb.repository.support.SimpleMongoRepository

        count, count, delete, deleteAll, deleteAll, deleteAllById, deleteById, exists, existsById, findAll, findAll, findAll, findAll, findAll, findAll, findAllById, findById, findOne, insert, insert, save, saveAll
      • Methods inherited from interface org.springframework.data.repository.CrudRepository

        count, delete, deleteAll, deleteAll, deleteAllById, 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
    • Constructor Detail

      • SearchRepositoryImpl

        public SearchRepositoryImpl​(org.springframework.data.mongodb.repository.query.MongoEntityInformation<T,​I> entityInformation,
                                    org.springframework.data.mongodb.core.MongoOperations mongoOperations)
    • Method Detail

      • findAll

        public org.springframework.data.domain.Page<T> findAll​(org.springframework.data.mongodb.core.query.Query query,
                                                               org.springframework.data.domain.Pageable pageable)
        Specified by:
        findAll in interface SearchRepository<T,​I extends Serializable>
      • findAll

        public org.springframework.data.domain.Page<T> findAll​(org.springframework.data.mongodb.core.query.Criteria criteria,
                                                               org.springframework.data.domain.Pageable pageable)
        Specified by:
        findAll in interface SearchRepository<T,​I extends Serializable>
      • findAll

        public org.springframework.data.domain.Page<T> findAll​(String search,
                                                               org.springframework.data.domain.Pageable pageable)
        Specified by:
        findAll in interface SearchRepository<T,​I extends Serializable>