@ExperimentalApi
public interface BulkEditMultiSelectFieldBean
BulkEditMultiSelectFieldOption
Modifier and Type | Method and Description |
---|---|
String |
getChangeModeFieldName(OrderableField field)
Returns the field name to be used in template for the change mode selection for the multi-select/multiple values system field.
|
io.atlassian.fugue.Option<BulkEditMultiSelectFieldOption> |
getChangeModeForField(OrderableField field)
Returns the
BulkEditMultiSelectFieldOption for the multi-select/multiple values system field
or null in case the field is not multi-select/multiple values system field |
BulkEditMultiSelectFieldOption |
getChangeModeOptionById(String id)
Returns the change mode option for option id.
|
Collection<BulkEditMultiSelectFieldOption> |
getChangeModeOptions()
Returns the list of change mode options which are available for the multi-select/multiple values system field.
|
BulkEditMultiSelectFieldOption |
getDefaultChangeModeOption()
Returns the default change mode option for multi-select/multiple values system field.
|
String |
getMultiSelectFieldActionDescription(OrderableField field)
Returns the action description for multi-select/multiple values system field based on set change mode for Bulk Edit confirmation screen.
|
boolean |
isChangeModeSelectionAllowed(OrderableField field)
Checks if the change mode selection is allowed for the field.
|
void |
setChangeModeForField(OrderableField field,
BulkEditMultiSelectFieldOption changeMode)
Sets the change mode for multi-select/multiple values system field.
|
void |
setChangeModeFromParams(OrderableField field,
Map<String,String[]> params)
Sets the change mode for the multi-select/multiple values system field from the Map of parameters.
|
boolean isChangeModeSelectionAllowed(OrderableField field)
BulkEditMultiSelectFieldBean
). Returns false in all other cases.field
- The field for which change mode selection allowance is retrieved.String getChangeModeFieldName(OrderableField field)
field
- The field for which field name is retrieved.void setChangeModeForField(OrderableField field, BulkEditMultiSelectFieldOption changeMode) throws IllegalArgumentException
field
- The field for which change mode is set.changeMode
- option to be set for field. The options defined by BulkEditMultiSelectFieldOption
IllegalArgumentException
- in case field is not multi-select/multiple values system fieldio.atlassian.fugue.Option<BulkEditMultiSelectFieldOption> getChangeModeForField(OrderableField field)
BulkEditMultiSelectFieldOption
for the multi-select/multiple values system field
or null
in case the field is not multi-select/multiple values system fieldfield
- The field for which change mode option is retrieved.BulkEditMultiSelectFieldOption
set for the field or null
void setChangeModeFromParams(OrderableField field, Map<String,String[]> params) throws IllegalArgumentException
field
- The field for which change mode option is set.params
- The map of parameters where the key is fieldId and the value is change mode option nameIllegalArgumentException
- in case the field is not multi-select/multiple values system fieldCollection<BulkEditMultiSelectFieldOption> getChangeModeOptions()
BulkEditMultiSelectFieldOption
to be visible in the Bulk Edit WizardBulkEditMultiSelectFieldOption getDefaultChangeModeOption()
BulkEditMultiSelectFieldOption
which is the default for the Bulk Edit WizardBulkEditMultiSelectFieldOption getChangeModeOptionById(String id)
id
- The option id for which BulkEditMultiSelectFieldOption
is retrieved.BulkEditMultiSelectFieldOption
which is the default for the Bulk Edit WizardString getMultiSelectFieldActionDescription(OrderableField field)
field
- The field for which action description is retrieved.Copyright © 2002-2019 Atlassian. All Rights Reserved.