public interface LaunchRepository extends LaunchRepositoryCustom, ReportPortalRepository<Launch,java.lang.String>
Launch instances. Provides basic CRUD operations due to the
extension of CrudRepository| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FIND_BY_ID |
static java.lang.String |
FIND_BY_USER_PROJECT_QUERY |
static java.lang.String |
FIND_LAUNCH_ENTRY_BY_PROJECT_ID |
static java.lang.String |
NAME_NUMBER_MODE_FIELDS |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteByProjectRef(java.lang.String projectRef)
Deletes all launches of provided project
|
java.util.List<Launch> |
findByName(java.lang.String name)
Find Launch by given name.
|
java.util.List<Launch> |
findLaunchIdsByProjectId(java.lang.String id)
Finds launches IDs by provided project ID
|
Launch |
findNameNumberAndModeById(java.lang.String id)
Finds Number and Mode of Launch by its ID
|
Launch |
loadStatusProjectRefAndStartTime(java.lang.String id)
Find
Launch by id, load only next fields:
id;
startTime;
status. |
java.util.stream.Stream<Launch> |
streamIdsByProject(java.lang.String id)
Streaming launches by provided project ID
|
cumulativeStatisticsGroupedByTag, dropIssueStatisticsType, findByFilterWithSortingAndLimit, findByUserRef, findDistinctValues, findGroupedLaunchesByOwner, findIdsByFilter, findIdsByFilter, findIdsByFilter, findLastLaunch, findLastLaunch, findLatestLaunch, findLatestLaunches, findLatestWithCallback, findLaunchesByProjectId, findLaunchesQuantity, findLaunchesWithSpecificStat, findLaunchIdsByProject, findLaunchIdsByProjectIds, findModifiedLaterAgo, findModifiedLaterAgo, findValuesWithMode, hasItems, hasItems, updateUserRefdeleteExecutionStatistics, deleteIssueStatistics, resetExecutionStatistics, resetIssueStatistics, updateExecutionStatistics, updateIssueStatisticscountByFilter, delete, exists, find, findByFilter, findByFilter, findByFilterExcluding, findByFilterWithSorting, findEntryById, findOneNoJoin, findOneNullSafe, getPageNumber, loadWithCallback, partialUpdatefindAll, findAll, findAll, findAll, insert, insert, savefindAllstatic final java.lang.String FIND_BY_USER_PROJECT_QUERY
static final java.lang.String FIND_LAUNCH_ENTRY_BY_PROJECT_ID
static final java.lang.String FIND_BY_ID
static final java.lang.String NAME_NUMBER_MODE_FIELDS
@Query(value="{ \'projectRef\': ?0 }",
fields="{\'id\' : 1}")
java.util.stream.Stream<Launch> streamIdsByProject(java.lang.String id)
id - java.util.List<Launch> findByName(java.lang.String name)
name - Launch nameLaunch@Query(value="{ \'projectRef\': ?0 }",
fields="{\'id\' : 1}")
java.util.List<Launch> findLaunchIdsByProjectId(java.lang.String id)
id - ID of ProjectLaunch@Query(value="{ \'_id\' : ?0 }",
fields="{\'number\' : 1, \'name\' : 1, \'mode\' : 1, \'start_time\' : 1, \'status\' : 1}")
Launch findNameNumberAndModeById(java.lang.String id)
id - ID of LaunchLaunch@Query(value="{ \'_id\': ?0 }",
fields="{\'id\' : 1, \'startTime\':1, \'status\':1, \'projectRef\':1 }")
Launch loadStatusProjectRefAndStartTime(java.lang.String id)
id - ID of LaunchLaunchvoid deleteByProjectRef(java.lang.String projectRef)
projectRef - Project Name