java.lang.Object | |
↳ | com.atlassian.jira.user.UserFilterUtils |
Some utility functions for dealing with UserFilter
instances.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
GET_ROLE_ID_FUNCTION |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get the
ProjectRole objects sorted by role name. | |||||||||||
Intersect the groups of the userFilter with
groups . | |||||||||||
Convert the
userFilter to JSONObject |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object |
Get the ProjectRole
objects sorted by role name.
Intersect the groups of the userFilter with groups
.
If the filter is disabled and groups
is not empty, a new filter that's enabled and with the groups will be returned.
If the filter is enabled, its groups will be intersected with the incoming one and a new filter with the intersection will be returned.
userFilter | the user filter to applied the intersection of groups. Will not be changed |
---|---|
groups | a set of groups to be intersected with the filter |
Convert the userFilter
to JSONObject
userFilter | the user filter to be converted |
---|---|
projectRoleManager | optional, if provided, will be used to filter invalid project roles |
JSONException |
---|