public class PlanBranchPullRequestDaoImpl extends Object implements PlanBranchPullRequestDao
Constructor and Description |
---|
PlanBranchPullRequestDaoImpl() |
Modifier and Type | Method and Description |
---|---|
@NotNull MutablePlanBranchPullRequest |
create(@NotNull ChainBranch chainBranch,
@NotNull MutableVcsPullRequest vcsPullRequest) |
boolean |
deleteForChainBranch(long branchId) |
boolean |
deleteForChainBranch(@NotNull PlanKey planKey) |
int |
deleteForVcsPullRequest(long pullRequestId) |
@NotNull List<MutablePlanBranchPullRequest> |
findAll() |
@NotNull Optional<MutablePlanBranchPullRequest> |
findForChainAndPullRequest(long chainId,
long pullRequestId) |
@NotNull Optional<MutablePlanBranchPullRequest> |
findForChainAndPullRequest(@NotNull PlanKey chainKey,
long pullRequestId) |
@NotNull Optional<MutablePlanBranchPullRequest> |
findForChainBranch(long branchId) |
@NotNull Optional<MutablePlanBranchPullRequest> |
findForChainBranch(@NotNull PlanKey branchKey) |
@NotNull List<MutablePlanBranchPullRequest> |
findForPullRequest(long pullRequestId) |
@NotNull public @NotNull Optional<MutablePlanBranchPullRequest> findForChainBranch(long branchId)
findForChainBranch
in interface PlanBranchPullRequestDao
@NotNull public @NotNull Optional<MutablePlanBranchPullRequest> findForChainBranch(@NotNull @NotNull PlanKey branchKey)
findForChainBranch
in interface PlanBranchPullRequestDao
@NotNull public @NotNull Optional<MutablePlanBranchPullRequest> findForChainAndPullRequest(long chainId, long pullRequestId)
findForChainAndPullRequest
in interface PlanBranchPullRequestDao
@NotNull public @NotNull Optional<MutablePlanBranchPullRequest> findForChainAndPullRequest(@NotNull @NotNull PlanKey chainKey, long pullRequestId)
findForChainAndPullRequest
in interface PlanBranchPullRequestDao
@NotNull public @NotNull List<MutablePlanBranchPullRequest> findForPullRequest(long pullRequestId)
findForPullRequest
in interface PlanBranchPullRequestDao
@NotNull public @NotNull List<MutablePlanBranchPullRequest> findAll()
findAll
in interface PlanBranchPullRequestDao
@NotNull public @NotNull MutablePlanBranchPullRequest create(@NotNull @NotNull ChainBranch chainBranch, @NotNull @NotNull MutableVcsPullRequest vcsPullRequest)
create
in interface PlanBranchPullRequestDao
public boolean deleteForChainBranch(long branchId)
deleteForChainBranch
in interface PlanBranchPullRequestDao
public boolean deleteForChainBranch(@NotNull @NotNull PlanKey planKey)
deleteForChainBranch
in interface PlanBranchPullRequestDao
public int deleteForVcsPullRequest(long pullRequestId)
deleteForVcsPullRequest
in interface PlanBranchPullRequestDao
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.