Interface DeploymentVersionVcsChangesetDao
-
- All Known Implementing Classes:
DeploymentVersionVcsChangesetDaoImpl
public interface DeploymentVersionVcsChangesetDao
Dao forDeploymentVersionVcsChangeset
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
delete(@NotNull DeploymentVersionDeletionAdapter deletionAdapter)
Delete DeploymentVersionVcsChangeset records limited byDeletionSQLAdapter.getInClause()
.void
delete(MutableDeploymentVersionVcsChangeset deploymentVersionVcsChangeset)
@NotNull List<MutableDeploymentVersionVcsChangeset>
getChangesetsForDeploymentVersion(long deploymentVersionId)
@Nullable Long
getRepositoryDataIdForChangeset(long changesetId)
long
getSkippedCommitsCountForVersion(long deploymentVersionId)
void
save(@NotNull MutableDeploymentVersionVcsChangeset deploymentVersionVcsChangeset)
void
saveAll(@NotNull Collection<MutableDeploymentVersionVcsChangeset> changesets)
-
-
-
Method Detail
-
save
void save(@NotNull @NotNull MutableDeploymentVersionVcsChangeset deploymentVersionVcsChangeset)
-
saveAll
void saveAll(@NotNull @NotNull Collection<MutableDeploymentVersionVcsChangeset> changesets)
-
delete
void delete(MutableDeploymentVersionVcsChangeset deploymentVersionVcsChangeset)
-
delete
int delete(@NotNull @NotNull DeploymentVersionDeletionAdapter deletionAdapter)
Delete DeploymentVersionVcsChangeset records limited byDeletionSQLAdapter.getInClause()
. Deletion is performed using DELETE queries- Parameters:
deletionAdapter
-DeletionSQLAdapter.getInClause()
should provide range of DeploymentVersions- Returns:
- number of deleted records
-
getChangesetsForDeploymentVersion
@NotNull @NotNull List<MutableDeploymentVersionVcsChangeset> getChangesetsForDeploymentVersion(long deploymentVersionId)
- Parameters:
deploymentVersionId
-- Returns:
- all changesets associated with a
DeploymentVersion
-
getRepositoryDataIdForChangeset
@Nullable @Nullable Long getRepositoryDataIdForChangeset(long changesetId)
- Parameters:
changesetId
-- Returns:
- id repository of
RepositoryDataEntity
associated with this changeset or null if changeset does not exist.
-
getSkippedCommitsCountForVersion
long getSkippedCommitsCountForVersion(long deploymentVersionId)
- Parameters:
deploymentVersionId
-- Returns:
- sum of skippedCommitCounts across all
DeploymentVersionVcsChangeset
associated with aDeploymentVersion
-
-