com.atlassian.jira.user
Class DefaultUserFilterManager

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

public class DefaultUserFilterManager
extends Object
implements UserFilterManager

Since:
v6.2

Constructor Summary
DefaultUserFilterManager(OfBizDelegator delegator)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultUserFilterManager

public DefaultUserFilterManager(OfBizDelegator delegator)
Method Detail

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


Copyright © 2002-2014 Atlassian. All Rights Reserved.