Interface JobRepository

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

    @Repository
    public interface JobRepository
    extends org.springframework.data.mongodb.repository.MongoRepository<Job,​java.lang.String>
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<Job> findAllJobByStatus​(java.lang.String status)  
      • 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, findBy, findOne
    • Method Detail

      • findAllJobByStatus

        @Query("{status: ?0 }")
        java.util.List<Job> findAllJobByStatus​(java.lang.String status)