com.atlassian.bamboo.deployments.versions.persistence.issues
Interface DeploymentVersionLinkedJiraIssueDao

All Known Implementing Classes:
DeploymentVersionLinkedJiraIssueDaoImpl

public interface DeploymentVersionLinkedJiraIssueDao


Method Summary
 int delete(DeploymentVersionDeletionAdapter deletionAdapter)
          Delete DeploymentVersionLinkedJiraIssue records limited by DeletionSQLAdapter.getInClause().
 java.util.List<java.lang.String> findJiraIssueKeysForProject(long deploymentProjectId)
           
 java.util.List<MutableDeploymentVersionLinkedJiraIssue> findJiraIssueLinksForDeploymentVersion(long deploymentVersionId)
           
 int getJiraIssueCountForDeploymentVersion(long deploymentVersionId)
           
 void saveAll(java.util.Collection<MutableDeploymentVersionLinkedJiraIssue> linkedJiraIssues)
          Save all records in the collection.
 

Method Detail

saveAll

void saveAll(@NotNull
             java.util.Collection<MutableDeploymentVersionLinkedJiraIssue> linkedJiraIssues)
Save all records in the collection.

Parameters:
linkedJiraIssues -

delete

int delete(@NotNull
           DeploymentVersionDeletionAdapter deletionAdapter)
Delete DeploymentVersionLinkedJiraIssue records limited by DeletionSQLAdapter.getInClause().

Parameters:
deletionAdapter - DeletionSQLAdapter.getInClause() should provide range of DeploymentVersionLinkedJiraIssue to remove
Returns:
number of deleted DeploymentVersionLinkedJiraIssue records

findJiraIssueLinksForDeploymentVersion

@NotNull
java.util.List<MutableDeploymentVersionLinkedJiraIssue> findJiraIssueLinksForDeploymentVersion(long deploymentVersionId)
Parameters:
deploymentVersionId -
Returns:
list of all JIRA issues associated with a deployment version

findJiraIssueKeysForProject

@NotNull
java.util.List<java.lang.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


Copyright © 2014 Atlassian Software Systems Pty Ltd. All Rights Reserved.