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