Interface DeploymentVersionLinkedJiraIssueDao
- All Known Implementing Classes:
DeploymentVersionLinkedJiraIssueDaoImpl
public interface DeploymentVersionLinkedJiraIssueDao
-
Method Summary
Modifier and TypeMethodDescriptionint
delete
(@NotNull DeploymentVersionDeletionAdapter deletionAdapter) Delete DeploymentVersionLinkedJiraIssue records limited byDeletionSQLAdapter.getInClause()
.findJiraIssueKeysForProject
(long deploymentProjectId) @NotNull List<MutableDeploymentVersionLinkedJiraIssue>
findJiraIssueLinksForDeploymentVersion
(long deploymentVersionId) int
getJiraIssueCountForDeploymentVersion
(long deploymentVersionId) void
saveAll
(@NotNull Collection<MutableDeploymentVersionLinkedJiraIssue> linkedJiraIssues) Save all records in the collection.
-
Method Details
-
saveAll
void saveAll(@NotNull @NotNull Collection<MutableDeploymentVersionLinkedJiraIssue> linkedJiraIssues) Save all records in the collection.- Parameters:
linkedJiraIssues
-
-
delete
Delete DeploymentVersionLinkedJiraIssue records limited byDeletionSQLAdapter.getInClause()
.- Parameters:
deletionAdapter
-DeletionSQLAdapter.getInClause()
should provide range of DeploymentVersionLinkedJiraIssue to remove- Returns:
- number of deleted DeploymentVersionLinkedJiraIssue records
-
findJiraIssueLinksForDeploymentVersion
@NotNull @NotNull List<MutableDeploymentVersionLinkedJiraIssue> findJiraIssueLinksForDeploymentVersion(long deploymentVersionId) - Parameters:
deploymentVersionId
-- Returns:
- list of all JIRA issues associated with a deployment version
-
findJiraIssueKeysForProject
- Parameters:
deploymentProjectId
-- Returns:
- list of all JIRA issue keys associated with a project
-
getJiraIssueCountForDeploymentVersion
int getJiraIssueCountForDeploymentVersion(long deploymentVersionId) - Parameters:
deploymentVersionId
-- Returns:
- count of all JIRA issues associated with a deployment version
-