Interface DeploymentVersionLinkedJiraIssueDao
-
- All Known Implementing Classes:
DeploymentVersionLinkedJiraIssueDaoImpl
public interface DeploymentVersionLinkedJiraIssueDao
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
delete(@NotNull DeploymentVersionDeletionAdapter deletionAdapter)
Delete DeploymentVersionLinkedJiraIssue records limited byDeletionSQLAdapter.getInClause()
.@NotNull List<String>
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 Detail
-
saveAll
void saveAll(@NotNull @NotNull Collection<MutableDeploymentVersionLinkedJiraIssue> linkedJiraIssues)
Save all records in the collection.- Parameters:
linkedJiraIssues
-
-
delete
int delete(@NotNull @NotNull DeploymentVersionDeletionAdapter deletionAdapter)
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
@NotNull @NotNull List<String> findJiraIssueKeysForProject(long deploymentProjectId)
- 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
-
-