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