Interface DefectsRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<Defect,UUID>, org.springframework.data.mongodb.repository.MongoRepository<Defect,UUID>, org.springframework.data.repository.PagingAndSortingRepository<Defect,UUID>, org.springframework.data.repository.query.QueryByExampleExecutor<Defect>, org.springframework.data.repository.Repository<Defect,UUID>

@Repository public interface DefectsRepository extends org.springframework.data.mongodb.repository.MongoRepository<Defect,UUID>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
     
     
     

    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 Details

    • findByUuid

      Defect findByUuid(UUID uuid)
    • deleteByUuid

      void deleteByUuid(UUID uuid)
    • findAllByProjectId

      List<Defect> findAllByProjectId(UUID projectId)
    • findProjectIdByUuid

      @Query(fields="{\'projectId\': 1}") Defect findProjectIdByUuid(UUID uuid)