com.atlassian.bamboo.resultsummary.vcs
Interface RepositoryChangesetDao

All Superinterfaces:
BambooObjectDao<RepositoryChangeset>
All Known Implementing Classes:
RepositoryChangesetHibernateDao

public interface RepositoryChangesetDao
extends BambooObjectDao<RepositoryChangeset>


Method Summary
 RepositoryChangeset findById(long id)
           
 RepositoryChangeset findChangesetByResultId(long resultsSummaryId)
          Deprecated. since 3.3 only for backward compatibility in import
 java.util.List<RepositoryChangeset> getChangesetsForBuildNumberRange(PlanKey planKey, int firstBuildNumber, int lastBuildNumber)
          Finds and returns all repository change sets related with build results from specified range.
 void removeRepositoryChangesets(RepositoryDataEntity repositoryDataEntity)
           
 void saveRelevantChangesets(java.util.List<RelevantChangeset> relevantChangesets)
          Deprecated. 
 long scrollChangesetsForExport(com.google.common.base.Function<RepositoryChangeset,java.lang.Void> function)
          Deprecated. 
 long scrollRelevantChangesetsForExport(com.google.common.base.Function<RelevantChangeset,java.lang.Void> function)
          Deprecated. 
 
Methods inherited from interface com.atlassian.bamboo.persistence3.BambooObjectDao
delete, deleteAll, executeReturnLong, findAll, findById, save, saveAll
 

Method Detail

findById

@Nullable
RepositoryChangeset findById(long id)

removeRepositoryChangesets

void removeRepositoryChangesets(RepositoryDataEntity repositoryDataEntity)

findChangesetByResultId

@Deprecated
RepositoryChangeset findChangesetByResultId(long resultsSummaryId)
Deprecated. since 3.3 only for backward compatibility in import

Parameters:
resultsSummaryId -
Returns:

scrollChangesetsForExport

@Deprecated
long scrollChangesetsForExport(com.google.common.base.Function<RepositoryChangeset,java.lang.Void> function)
Deprecated. 


scrollRelevantChangesetsForExport

@Deprecated
long scrollRelevantChangesetsForExport(com.google.common.base.Function<RelevantChangeset,java.lang.Void> function)
Deprecated. 


saveRelevantChangesets

@Deprecated
void saveRelevantChangesets(java.util.List<RelevantChangeset> relevantChangesets)
Deprecated. 


getChangesetsForBuildNumberRange

java.util.List<RepositoryChangeset> getChangesetsForBuildNumberRange(@NotNull
                                                                     PlanKey planKey,
                                                                     int firstBuildNumber,
                                                                     int lastBuildNumber)
Finds and returns all repository change sets related with build results from specified range. Once off results are skipped.

Parameters:
planKey -
firstBuildNumber -
lastBuildNumber -
Returns:
Since:
5.0


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