public class

DefaultUserFilterManager

extends Object
implements UserFilterManager
java.lang.Object
   ↳ com.atlassian.jira.user.DefaultUserFilterManager

Summary

Public Constructors
DefaultUserFilterManager(OfBizDelegator delegator)
Public Methods
UserFilter getFilter(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.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.user.UserFilterManager

Public Constructors

public DefaultUserFilterManager (OfBizDelegator delegator)

Public Methods

public UserFilter getFilter (FieldConfig fieldConfig)

Retrieve the user filter options of a custom field configuration.

Create an empty selection with DISABLED if not found.

Parameters
fieldConfig the custom field configuration of the user filter
Returns
  • the user filter associated with the given custom field configuration

public void removeFilter (Long customFieldId)

Remove all the user filter options of a custom field.

Parameters
customFieldId the id of the custom field

public void updateFilter (FieldConfig fieldConfig, UserFilter filter)

Update the user filter options of a custom field configuration.

Parameters
fieldConfig the custom field configuration of which the user filter is to be updated
filter contains the new user filter values to be updated