com.atlassian.jira.issue.customfields
Interface MultipleSettableCustomFieldType<T,S>
- Type Parameters:
T
- Transport Object See CustomFieldType
for more information.S
- Single Form of Transport Object. See CustomFieldType
for more information.
- All Superinterfaces:
- CustomFieldType<T,S>, MultipleCustomFieldType<T,S>
- All Known Implementing Classes:
- AbstractMultiSettableCFType, CascadingSelectCFType, MultiSelectCFType, SelectCFType
@PublicSpi
public interface MultipleSettableCustomFieldType<T,S>
- extends MultipleCustomFieldType<T,S>
Custom field which can have multiple Options to select from.
Provides support for removing a possible option from the Field configuration.
Methods inherited from interface com.atlassian.jira.issue.customfields.CustomFieldType |
availableForBulkEdit, createValue, getChangelogString, getChangelogValue, getConfigurationItemTypes, getDefaultValue, getDescription, getDescriptor, getKey, getName, getRelatedIndexers, getSingularObjectFromString, getStringFromSingularObject, getStringValueFromCustomFieldParams, getValueFromCustomFieldParams, getValueFromIssue, getVelocityParameters, init, isRenderable, remove, setDefaultValue, updateValue, validateFromParams, valuesEqual |
getIssueIdsWithValue
Set<Long> getIssueIdsWithValue(CustomField field,
Option option)
- Returns a Set of issue ids (
Long
) that have the given option selected.
- Parameters:
field
- the CustomField to search onoption
- the Object representing a single value to search on.
- Returns:
- Set of Longs
removeValue
void removeValue(CustomField field,
Issue issue,
Option optionObject)
- Perform any actions required if the option selected by the issue is removed.
- Parameters:
field
- being editedissue
- to remove stuff fromoptionObject
- option being removed.
Copyright © 2002-2014 Atlassian. All Rights Reserved.