public class DeploymentVersionVcsCommitDaoImpl extends StatelessSessionHibernateDaoSupport implements DeploymentVersionVcsCommitDao
| Constructor and Description |
|---|
DeploymentVersionVcsCommitDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCommitsCountForVersion(long deploymentVersionId) |
List<MutableDeploymentVersionVcsCommitImpl> |
getCommitsForVersion(long deploymentVersionId,
int maxCommits)
Aggregates
DeploymentVersionVcsCommit from all DeploymentVersionVcsChangeset associated with a DeploymentVersion |
long |
scrollCommitsForExport(@NotNull Consumer<MutableDeploymentVersionVcsCommit> consumer)
Scroll through and execute function for each of MutableDeploymentVersionVcsCommitImpl
Objects passed to function are not fully initialized.
|
getCacheAwareHibernateTemplatepublic List<MutableDeploymentVersionVcsCommitImpl> getCommitsForVersion(long deploymentVersionId, int maxCommits)
DeploymentVersionVcsCommitDaoDeploymentVersionVcsCommit from all DeploymentVersionVcsChangeset associated with a DeploymentVersiongetCommitsForVersion in interface DeploymentVersionVcsCommitDaomaxCommits - maximum number of commitsDeploymentVersionpublic int getCommitsCountForVersion(long deploymentVersionId)
getCommitsCountForVersion in interface DeploymentVersionVcsCommitDaoDeploymentVersionpublic long scrollCommitsForExport(@NotNull
@NotNull Consumer<MutableDeploymentVersionVcsCommit> consumer)
DeploymentVersionVcsCommitDaoscrollCommitsForExport in interface DeploymentVersionVcsCommitDaoconsumer - consumer to accept each of the MutableDeploymentVersionVcsCommitImplCopyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.