diff options
Diffstat (limited to 'sonar-db/src/main/java/org/sonar/db/rule/RuleDao.java')
-rw-r--r-- | sonar-db/src/main/java/org/sonar/db/rule/RuleDao.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sonar-db/src/main/java/org/sonar/db/rule/RuleDao.java b/sonar-db/src/main/java/org/sonar/db/rule/RuleDao.java index cf4be7e8278..1a7026281f0 100644 --- a/sonar-db/src/main/java/org/sonar/db/rule/RuleDao.java +++ b/sonar-db/src/main/java/org/sonar/db/rule/RuleDao.java @@ -70,6 +70,10 @@ public class RuleDao implements Dao { mapper(session).selectEnabledAndNonManual(resultHandler); } + public List<RuleDto> selectAll(DbSession session) { + return mapper(session).selectAll(); + } + public void insert(DbSession session, RuleDto dto) { mapper(session).insert(dto); } |