java.lang.Object | |
↳ | com.atlassian.jira.bc.user.search.DefaultAssigneeService |
The main implementation of AssigneeService
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get assignable Users based on a query string and issue.
| |||||||||||
Get assignable Users based on a query string and project.
| |||||||||||
Gets ids of this issue's recent assignees, including the current assignee.
| |||||||||||
Get users keys that the given user has recently assigned issues to.
| |||||||||||
Gets the names of this issue's recent assignees, including the current assignee.
| |||||||||||
Get users names that the given user has recently assigned issues to.
| |||||||||||
Returns a list of suggested Assignee
User s for a given Issue and logged-in User. | |||||||||||
Given a set of suggested names and an ordered list of assignable users, returns an order list of suggested users.
| |||||||||||
Returns a list of suggested Assignee
User s for a given Issue and logged-in User. | |||||||||||
Converts a collection of Users to a Map where the key is the User full name and the value is true or false.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.jira.bc.user.search.AssigneeService
|
Get assignable Users based on a query string and issue.
Matches on the start of username, Each word in Full Name & email.
Results are sorted according to the UserCachingComparator
.
query | String to search for. |
---|---|
issue | Issue to check Assignee permissions against |
actionDescriptor | an com.opensymphony.workflow.loader.ActionDescriptor describing the context in which the Assignee is being searched |
User
objects that match criteria.
Get assignable Users based on a query string and project.
Matches on the start of username, Each word in Full Name & email.
Results are sorted according to the UserCachingComparator
.
query | String to search for. |
---|---|
project | Project check Assignee permissions against |
User
objects that match criteria.
Get all User
s that may have all of the given Issue
s assigned to them, for a
given workflow state.
The ActionDescriptor may be used to check for workflow states that only allow a subset of normally-assignable users.
Note: This method is exactly equivalent to getAssignableUsers(Issue, ActionDescriptor)
,
but returns only those users that are assignable for all of the issues. This is
significantly more efficient than calling getAssignableUsers(Issue, ActionDescriptor)
multiple times and filtering the lists yourself.
issues | the Issues to find assignable users for |
---|---|
actionDescriptor | workflow action descriptor to filter users on |
Get all User
s that may have an Issue
assigned to them, for a given workflow state.
The ActionDescriptor may be used to check for workflow states that only allow a subset of normally-assignable users.
issue | the Issue to find assignable users for |
---|---|
actionDescriptor | workflow action descriptor to filter users on |
Gets ids of this issue's recent assignees, including the current assignee.
issue | an issue to get the change history of |
---|
Get users keys that the given user has recently assigned issues to.
remoteUser | a User |
---|
Gets the names of this issue's recent assignees, including the current assignee.
issue | an issue to get the change history of |
---|
Get users names that the given user has recently assigned issues to.
remoteUser | a User |
---|
Returns a list of suggested Assignee User
s for a given Issue and logged-in User.
This version accepts a pre-populated list of assignable Users to filter.
issue | Issue to get suggested Assignees for |
---|---|
loggedInUser | the user getting the suggestions, whose Assignee history may be queried |
assignableUsers | a list of User s to filter |
User
objects deemed relevant to the given Issue and User.
Given a set of suggested names and an ordered list of assignable users, returns an order list of suggested users.
suggestedAssigneeNames | the names of the users to return |
---|---|
assignableUsers | a list of Users to filter by the suggested assignee names |
Returns a list of suggested Assignee User
s for a given Issue and logged-in User.
This version accepts a pre-populated list of assignable Users to filter.
issue | Issue to get suggested Assignees for |
---|---|
loggedInUser | the user getting the suggestions, whose Assignee history may be queried |
actionDescriptor | workflow action descriptor to filter users on |
User
objects deemed relevant to the given Issue and User, sorted by UserBestNameComparator
Converts a collection of Users to a Map where the key is the User full name and the value is true or false.
The value will be true if no other user with that exact full name exists. The value will be false if at least one other user with that exact full name exists.
users | a collection of Users that may contain multiple users with the same full name |
---|