Interface TestPlansRepository

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

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

    Modifier and Type
    Method
    Description
     
     
     
     

    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

      TestPlan findByUuid(UUID uuid)
    • findAllByProjectId

      List<TestPlan> findAllByProjectId(UUID projectId)
    • findByProjectIdAndName

      TestPlan findByProjectIdAndName(UUID uuid, String name)
    • findNameAndUuidAndProjectUuidByUuid

      @Query(fields="{\'name\': 1, \'projectId\': 1, \'uuid\': 1}") TestPlan findNameAndUuidAndProjectUuidByUuid(UUID uuid)