Interface MultipleSettableCustomFieldType<T,S>
- Type Parameters:
T- Transport Object SeeCustomFieldTypefor more information.S- Single Form of Transport Object. SeeCustomFieldTypefor 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.voidremoveValue(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, getIndexers, getKey, getName, getNonNullCustomFieldProvider, getSingularObjectFromString, getStringFromSingularObject, getStringValueFromCustomFieldParams, getValueFromCustomFieldParams, getValueFromIssue, getVelocityParameters, init, isRenderable, isUserInputRequiredForMove, remove, requiresAdditionalParams, setDefaultValue, updateValue, validateFromParams, valuesEqualMethods 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.
-