org.sonar.core.duplication
Class DuplicationDao

java.lang.Object
  extended by org.sonar.core.duplication.DuplicationDao
All Implemented Interfaces:
BatchComponent, ServerComponent

public class DuplicationDao
extends Object
implements BatchComponent, ServerComponent


Constructor Summary
DuplicationDao(MyBatis mybatis)
           
 
Method Summary
 void insert(Collection<DuplicationUnitDto> units)
          Insert rows in the table DUPLICATIONS_INDEX.
 List<DuplicationUnitDto> selectCandidates(int resourceSnapshotId, Integer lastSnapshotId, String language)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DuplicationDao

public DuplicationDao(MyBatis mybatis)
Method Detail

selectCandidates

public List<DuplicationUnitDto> selectCandidates(int resourceSnapshotId,
                                                 Integer lastSnapshotId,
                                                 String language)

insert

public void insert(Collection<DuplicationUnitDto> units)
Insert rows in the table DUPLICATIONS_INDEX. Note that generated ids are not returned.



Copyright © 2009-2012 SonarSource. All Rights Reserved.