Interface MultipleSettableCustomFieldType<T,S>
- Type Parameters:
T
- Transport Object SeeCustomFieldType
for more information.S
- Single Form of Transport Object. SeeCustomFieldType
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.
-
Field Summary
Fields inherited from interface com.atlassian.jira.issue.customfields.CustomFieldType
DEFAULT_VALUE_TYPE, RESOURCE_PREVIEW
-
Method Summary
Modifier and TypeMethodDescriptiongetIssueIdsWithValue
(CustomField field, Option option) Returns a Set of issue ids (Long
) that have the given option selected.void
removeValue
(CustomField field, Issue issue, Option optionObject) Perform any actions required if the option selected by the issue is removed.Methods inherited from interface com.atlassian.jira.issue.customfields.CustomFieldType
areAllRequiredParametersPresent, availableForBulkEdit, createValue, getChangelogString, getChangelogValue, getCloneOptionConfiguration, getCloneValue, getConfigurationItemTypes, getDefaultValue, getDescription, getDescriptor, getKey, getName, getNonNullCustomFieldProvider, getRelatedIndexers, getSingularObjectFromString, getStringFromSingularObject, getStringValueFromCustomFieldParams, getValueFromCustomFieldParams, getValueFromIssue, getVelocityParameters, init, isRenderable, isUserInputRequiredForMove, remove, setDefaultValue, updateValue, validateFromParams, valuesEqual
Methods inherited from interface com.atlassian.jira.issue.customfields.MultipleCustomFieldType
getOptions, getOptions
-
Method Details
-
getIssueIdsWithValue
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
Perform any actions required if the option selected by the issue is removed.- Parameters:
field
- being editedissue
- to remove stuff fromoptionObject
- option being removed.
-