diff options
author | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-07-25 17:29:06 +0400 |
---|---|---|
committer | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-07-25 19:36:21 +0400 |
commit | df3a115737be44a003cff9a0289c34911cee8052 (patch) | |
tree | a8a73fea94e76a7a3fd7ebc4a91c378d4e1f1adb /sonar-plugin-api | |
parent | bb4da13a42bd96b130ace88a0f1973dd0907c965 (diff) | |
download | sonarqube-df3a115737be44a003cff9a0289c34911cee8052.tar.gz sonarqube-df3a115737be44a003cff9a0289c34911cee8052.zip |
Add method findById to UserFinder and make it available as BatchComponent
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/security/UserFinder.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/security/UserFinder.java b/sonar-plugin-api/src/main/java/org/sonar/api/security/UserFinder.java index 3f283ff504e..67432409761 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/security/UserFinder.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/security/UserFinder.java @@ -19,13 +19,16 @@ */ package org.sonar.api.security; +import org.sonar.api.BatchComponent; import org.sonar.api.ServerComponent; import org.sonar.api.database.model.User; /** * @since 2.10 */ -public interface UserFinder extends ServerComponent { +public interface UserFinder extends ServerComponent, BatchComponent { + + User findById(int id); User findByLogin(String login); |