aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2018-12-12 10:16:11 +0100
committersonartech <sonartech@sonarsource.com>2018-12-20 11:41:52 +0100
commit347f6c674430812b544478140297d80027dd6d85 (patch)
treeec2671ab068f81429c4e5661476d9a720200dcd8 /server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
parent0b64e0734312efd38de8393f9a482d380634fd85 (diff)
downloadsonarqube-347f6c674430812b544478140297d80027dd6d85.tar.gz
sonarqube-347f6c674430812b544478140297d80027dd6d85.zip
SONAR-11579 Create WS to store/load user settings
Diffstat (limited to 'server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java')
-rw-r--r--server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java b/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
index 5d9bf7277bd..2a056737912 100644
--- a/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
+++ b/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
@@ -77,6 +77,7 @@ import org.sonar.db.user.GroupMembershipDao;
import org.sonar.db.user.RoleDao;
import org.sonar.db.user.UserDao;
import org.sonar.db.user.UserGroupDao;
+import org.sonar.db.user.UserPropertiesDao;
import org.sonar.db.user.UserTokenDao;
import org.sonar.db.webhook.WebhookDao;
import org.sonar.db.webhook.WebhookDeliveryDao;
@@ -103,6 +104,7 @@ public class DbClient {
private final UserDao userDao;
private final UserGroupDao userGroupDao;
private final UserTokenDao userTokenDao;
+ private final UserPropertiesDao userPropertiesDao;
private final GroupMembershipDao groupMembershipDao;
private final RoleDao roleDao;
private final GroupPermissionDao groupPermissionDao;
@@ -172,6 +174,7 @@ public class DbClient {
userDao = getDao(map, UserDao.class);
userGroupDao = getDao(map, UserGroupDao.class);
userTokenDao = getDao(map, UserTokenDao.class);
+ userPropertiesDao = getDao(map, UserPropertiesDao.class);
groupMembershipDao = getDao(map, GroupMembershipDao.class);
roleDao = getDao(map, RoleDao.class);
groupPermissionDao = getDao(map, GroupPermissionDao.class);
@@ -301,6 +304,10 @@ public class DbClient {
return userTokenDao;
}
+ public UserPropertiesDao userPropertiesDao() {
+ return userPropertiesDao;
+ }
+
public GroupMembershipDao groupMembershipDao() {
return groupMembershipDao;
}