Package com.atlassian.jira.user
Class DefaultUserFilterManager
java.lang.Object
com.atlassian.jira.user.DefaultUserFilterManager
- All Implemented Interfaces:
UserFilterManager
- Since:
- v6.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFilter
(FieldConfig fieldConfig) Retrieve the user filter options of a custom field configuration.void
removeFilter
(Long customFieldId) Remove all the user filter options of a custom field.void
updateFilter
(FieldConfig fieldConfig, UserFilter filter) Update the user filter options of a custom field configuration.
-
Constructor Details
-
DefaultUserFilterManager
-
-
Method Details
-
getFilter
Description copied from interface:UserFilterManager
Retrieve the user filter options of a custom field configuration.Create an empty selection with
UserFilter.DISABLED
if not found.- Specified by:
getFilter
in interfaceUserFilterManager
- Parameters:
fieldConfig
- the custom field configuration of the user filter- Returns:
- the user filter associated with the given custom field configuration
-
updateFilter
Description copied from interface:UserFilterManager
Update the user filter options of a custom field configuration.- Specified by:
updateFilter
in interfaceUserFilterManager
- Parameters:
fieldConfig
- the custom field configuration of which the user filter is to be updatedfilter
- contains the new user filter values to be updated
-
removeFilter
Description copied from interface:UserFilterManager
Remove all the user filter options of a custom field.- Specified by:
removeFilter
in interfaceUserFilterManager
- Parameters:
customFieldId
- the id of the custom field
-