public class DefaultUserFilterManager extends Object implements UserFilterManager
Constructor and Description |
---|
DefaultUserFilterManager(OfBizDelegator delegator) |
Modifier and Type | Method and Description |
---|---|
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.
|
public DefaultUserFilterManager(OfBizDelegator delegator)
public UserFilter getFilter(FieldConfig fieldConfig)
UserFilterManager
Create an empty selection with UserFilter.DISABLED
if not found.
getFilter
in interface UserFilterManager
fieldConfig
- the custom field configuration of the user filterpublic void updateFilter(FieldConfig fieldConfig, UserFilter filter)
UserFilterManager
updateFilter
in interface UserFilterManager
fieldConfig
- the custom field configuration of which the user filter is to be updatedfilter
- contains the new user filter values to be updatedpublic void removeFilter(Long customFieldId)
UserFilterManager
removeFilter
in interface UserFilterManager
customFieldId
- the id of the custom fieldCopyright © 2002-2022 Atlassian. All Rights Reserved.