Interface ExecutionRequestRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<ExecutionRequest,,UUID> org.springframework.data.mongodb.repository.MongoRepository<ExecutionRequest,,UUID> org.springframework.data.repository.PagingAndSortingRepository<ExecutionRequest,,UUID> org.springframework.data.repository.query.QueryByExampleExecutor<ExecutionRequest>,org.springframework.data.repository.Repository<ExecutionRequest,UUID>
@Repository
public interface ExecutionRequestRepository
extends org.springframework.data.mongodb.repository.MongoRepository<ExecutionRequest,UUID>
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteAllByUuidIn(List<UUID> executionRequestIds) voiddeleteByUuid(UUID uuid) findAllByArrivedBetweenAndProjectId(Timestamp timestamp, UUID projectId) findAllByJointExecutionKey(String jointExecutionKey) findAllByProjectIdAndExecutionStatusNotIn(UUID projectId, List<ExecutionStatuses> statuses) findAllByProjectIdAndExecutionStatusNotInAndFinishDateAfter(UUID projectId, List<ExecutionStatuses> statuses, Timestamp timestamp, org.springframework.data.domain.Pageable page) findAllByTestPlanId(UUID testPlanId) findAllByTestPlanId(UUID testPlanId, org.springframework.data.domain.Pageable pageable) findAllByTestPlanIdAndAnalyzedByQaEquals(UUID testPlanId, boolean analyzedByQa, org.springframework.data.domain.Pageable pageable) findAllByTestPlanIdAndFinishDateBetween(UUID testPlanId, Timestamp start, Timestamp end, org.springframework.data.domain.Pageable pageable) findAllByTestPlanIdAndFinishDateBetweenAndAnalyzedByQa(UUID testPlanId, Timestamp start, Timestamp end, boolean analyzedByQa, org.springframework.data.domain.Pageable page) findAllByTestPlanIdAndStartDateBetween(UUID testPlanId, Timestamp start, Timestamp end, org.springframework.data.domain.Pageable pageable) findAllByTestScopeId(UUID scopeId) findAllByUuidIn(Collection<UUID> uuids) findByNameAndTestPlanId(String name, UUID testPlanId) findByUuid(UUID uuid) findLabelTemplateIdByUuid(UUID executionRequestId) findLimitRequestsByProjectIdAndExecutionStatusNotIn(UUID projectId, List<ExecutionStatuses> statuses, org.springframework.data.domain.Pageable page) findNameStartDatePreviousErIdByUuid(UUID executionRequestId) findProjectIdByUuid(UUID executionRequestId) findProjectIdByUuidIn(Set<UUID> executionRequestId) findRequestsIdByExecutionStatusIn(List<ExecutionStatuses> executionStatuses) findUuidByProjectId(UUID projectId) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAllById, findById, saveMethods inherited from interface org.springframework.data.mongodb.repository.MongoRepository
findAll, findAll, findAll, findAll, insert, insert, saveAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findUuidByProjectId
-
findByUuid
-
findAllByInitialExecutionRequestId
-
deleteByUuid
-
findByNameAndTestPlanId
-
findAllByTestPlanId
-
findAllByTestPlanId
List<ExecutionRequest> findAllByTestPlanId(UUID testPlanId, org.springframework.data.domain.Pageable pageable) -
findAllByProjectIdAndExecutionStatusNotIn
List<ExecutionRequest> findAllByProjectIdAndExecutionStatusNotIn(UUID projectId, List<ExecutionStatuses> statuses) -
findLimitRequestsByProjectIdAndExecutionStatusNotIn
List<ExecutionRequest> findLimitRequestsByProjectIdAndExecutionStatusNotIn(UUID projectId, List<ExecutionStatuses> statuses, org.springframework.data.domain.Pageable page) -
findAllByProjectIdAndExecutionStatusNotInAndFinishDateAfter
List<ExecutionRequest> findAllByProjectIdAndExecutionStatusNotInAndFinishDateAfter(UUID projectId, List<ExecutionStatuses> statuses, Timestamp timestamp, org.springframework.data.domain.Pageable page) -
findAllByArrivedBetweenAndProjectId
@Query(value="{\'startDate\': { $lte:?0 }, \'projectId\': ?1}", fields="{\'_id\': 1}") List<ExecutionRequest> findAllByArrivedBetweenAndProjectId(Timestamp timestamp, UUID projectId) -
deleteAllByUuidIn
-
findAllByTestPlanIdAndStartDateBetween
List<ExecutionRequest> findAllByTestPlanIdAndStartDateBetween(UUID testPlanId, Timestamp start, Timestamp end, org.springframework.data.domain.Pageable pageable) -
findAllByTestPlanIdAndFinishDateBetween
List<ExecutionRequest> findAllByTestPlanIdAndFinishDateBetween(UUID testPlanId, Timestamp start, Timestamp end, org.springframework.data.domain.Pageable pageable) -
findAllByUuidIn
-
findAllByTestPlanIdAndFinishDateBetweenAndAnalyzedByQa
List<ExecutionRequest> findAllByTestPlanIdAndFinishDateBetweenAndAnalyzedByQa(UUID testPlanId, Timestamp start, Timestamp end, boolean analyzedByQa, org.springframework.data.domain.Pageable page) -
findAllByTestPlanIdAndAnalyzedByQaEquals
List<ExecutionRequest> findAllByTestPlanIdAndAnalyzedByQaEquals(UUID testPlanId, boolean analyzedByQa, org.springframework.data.domain.Pageable pageable) -
findRequestsIdByExecutionStatusIn
@Query(fields="{\'uuid\': 1}") List<ExecutionRequest> findRequestsIdByExecutionStatusIn(List<ExecutionStatuses> executionStatuses) -
findAllByTestScopeId
-
findNameStartDatePreviousErIdByUuid
@Query(fields="{\'name\': 1, \'startDate\': 1, \'previousExecutionRequestId\': 1}") ExecutionRequest findNameStartDatePreviousErIdByUuid(UUID executionRequestId) -
findLabelTemplateIdByUuid
@Query(fields="{\'labelTemplateId\': 1}") ExecutionRequest findLabelTemplateIdByUuid(UUID executionRequestId) -
findProjectIdByUuid
-
findProjectIdByUuidIn
@Query(fields="{\'projectId\': 1}") List<ExecutionRequest> findProjectIdByUuidIn(Set<UUID> executionRequestId) -
findAllByJointExecutionKey
-
findAllByUuidInOrderByStartDate
-