|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserManager
Simple user utilities that do not require an implementation with too many dependencies. An injectible wrapper over the osuser UserManager.
Method Summary | |
---|---|
Set<Group> |
getAllGroups()
Returns all groups defined in JIRA. |
Set<User> |
getAllUsers()
Returns all users defined in JIRA, regardless of whether they are active or not. |
Group |
getGroup(String groupName)
Returns a Group based on user name. |
int |
getTotalUserCount()
Returns the total number of users defined in JIRA, regardless of whether they are active or not. |
User |
getUser(String userName)
Returns a User based on user name. |
Method Detail |
---|
int getTotalUserCount()
@NotNull Set<User> getAllUsers()
User getUser(@Nullable String userName)
User
based on user name.
userName
- the user name of the user
Set<Group> getAllGroups()
Group getGroup(@Nullable String groupName)
Group
based on user name.
groupName
- the user name of the group
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |