Class DefaultUserFilterManager

java.lang.Object
com.atlassian.jira.user.DefaultUserFilterManager
All Implemented Interfaces:
UserFilterManager

public class DefaultUserFilterManager extends Object implements UserFilterManager
Since:
v6.2
  • Constructor Details

    • DefaultUserFilterManager

      public DefaultUserFilterManager(OfBizDelegator delegator)
  • Method Details

    • getFilter

      public UserFilter getFilter(FieldConfig fieldConfig)
      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 interface UserFilterManager
      Parameters:
      fieldConfig - the custom field configuration of the user filter
      Returns:
      the user filter associated with the given custom field configuration
    • updateFilter

      public void updateFilter(FieldConfig fieldConfig, UserFilter filter)
      Description copied from interface: UserFilterManager
      Update the user filter options of a custom field configuration.
      Specified by:
      updateFilter in interface UserFilterManager
      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
    • removeFilter

      public void removeFilter(Long customFieldId)
      Description copied from interface: UserFilterManager
      Remove all the user filter options of a custom field.
      Specified by:
      removeFilter in interface UserFilterManager
      Parameters:
      customFieldId - the id of the custom field