diff options
Diffstat (limited to 'sonar-db/src/main/java/org/sonar/db/component/ComponentDao.java')
-rw-r--r-- | sonar-db/src/main/java/org/sonar/db/component/ComponentDao.java | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sonar-db/src/main/java/org/sonar/db/component/ComponentDao.java b/sonar-db/src/main/java/org/sonar/db/component/ComponentDao.java index 6742bec2cc0..af24457c602 100644 --- a/sonar-db/src/main/java/org/sonar/db/component/ComponentDao.java +++ b/sonar-db/src/main/java/org/sonar/db/component/ComponentDao.java @@ -345,8 +345,16 @@ public class ComponentDao implements Dao { insert(session, Lists.asList(item, others)); } - public void update(DbSession session, ComponentDto item) { - mapper(session).update(item); + public void update(DbSession session, ComponentUpdateDto component) { + mapper(session).update(component); + } + + public void applyBChangesForRootComponentUuid(DbSession session, String projectUuid) { + mapper(session).applyBChangesForRootComponentUuid(projectUuid); + } + + public void resetBChangedForRootComponentUuid(DbSession session, String projectUuid) { + mapper(session).resetBChangedForRootComponentUuid(projectUuid); } public void delete(DbSession session, long componentId) { |