]> source.dussan.org Git - sonarqube.git/commit
SONAR-8134 improve PermissionTemplateDao
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Mon, 17 Oct 2016 16:02:46 +0000 (18:02 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Thu, 20 Oct 2016 13:10:13 +0000 (15:10 +0200)
commit8981c0fe32abe0a5fc34f9ed74f41e8280a818ce
tree0a10313d717592eac04d40f77603e243e0386960
parentbc1570062f5f636fcbf00256e9487dd0e13bdcd2
SONAR-8134 improve PermissionTemplateDao

- deprecate the methods that do not support organizations

- do not commit session in DAO
server/sonar-server/src/main/java/org/sonar/server/permission/ws/template/UpdateTemplateAction.java
sonar-db/src/main/java/org/sonar/db/permission/template/PermissionTemplateDao.java
sonar-db/src/main/resources/org/sonar/db/permission/template/PermissionTemplateMapper.xml
sonar-db/src/test/java/org/sonar/db/permission/template/PermissionTemplateDaoTest.java