public class DeploymentVersionLinkedJiraIssueDaoImpl extends StatelessSessionHibernateDaoSupport implements DeploymentVersionLinkedJiraIssueDao
Constructor and Description |
---|
DeploymentVersionLinkedJiraIssueDaoImpl(TransactionAndHibernateTemplate transactionTemplate) |
Modifier and Type | Method and Description |
---|---|
int |
delete(DeploymentVersionDeletionAdapter deletionAdapter)
Delete DeploymentVersionLinkedJiraIssue records limited by
DeletionSQLAdapter.getInClause() . |
List<String> |
findJiraIssueKeysForProject(long deploymentProjectId) |
List<MutableDeploymentVersionLinkedJiraIssue> |
findJiraIssueLinksForDeploymentVersion(long deploymentVersionId) |
int |
getJiraIssueCountForDeploymentVersion(long deploymentVersionId) |
void |
saveAll(Collection<MutableDeploymentVersionLinkedJiraIssue> linkedJiraIssues)
Save all records in the collection.
|
getCacheAwareHibernateTemplate
public DeploymentVersionLinkedJiraIssueDaoImpl(TransactionAndHibernateTemplate transactionTemplate)
public void saveAll(@NotNull Collection<MutableDeploymentVersionLinkedJiraIssue> linkedJiraIssues)
DeploymentVersionLinkedJiraIssueDao
saveAll
in interface DeploymentVersionLinkedJiraIssueDao
public int delete(@NotNull DeploymentVersionDeletionAdapter deletionAdapter)
DeploymentVersionLinkedJiraIssueDao
DeletionSQLAdapter.getInClause()
.delete
in interface DeploymentVersionLinkedJiraIssueDao
deletionAdapter
- DeletionSQLAdapter.getInClause()
should provide range of DeploymentVersionLinkedJiraIssue to remove@NotNull public List<MutableDeploymentVersionLinkedJiraIssue> findJiraIssueLinksForDeploymentVersion(long deploymentVersionId)
findJiraIssueLinksForDeploymentVersion
in interface DeploymentVersionLinkedJiraIssueDao
@NotNull public List<String> findJiraIssueKeysForProject(long deploymentProjectId)
findJiraIssueKeysForProject
in interface DeploymentVersionLinkedJiraIssueDao
public int getJiraIssueCountForDeploymentVersion(long deploymentVersionId)
getJiraIssueCountForDeploymentVersion
in interface DeploymentVersionLinkedJiraIssueDao
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.