java.lang.Object | |
↳ | com.atlassian.jira.web.bean.BulkEditMultiSelectFieldBeanImpl |
Used in the BulkEdit Wizard.
Stores the change mode options' values selected for the multi-select/multiple values system fields (Labels, Affects Versions, Fix Versions, Components).
The change mode options are available in the BulkEditMultiSelectFieldOption
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | ADD_ID | ||||||||||
String | CHANGE_MODE_FIELD_PREFIX | ||||||||||
String | REMOVEALL_ID | ||||||||||
String | REMOVE_ID | ||||||||||
String | REPLACE_ID |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
BULK_EDIT_FIELDS_WITH_CHANGE_MODE_SELECTION | List representing Multi-Select System Fields for which user should be able to select change mode. | ||||||||||
addOption | |||||||||||
changeModeOptions | |||||||||||
multiSelectChangeModeOptions | |||||||||||
removeAllOption | |||||||||||
removeOption | |||||||||||
replaceOption |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the field name to be used in template for the change mode selection for the multi-select/multiple values system 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 | |||||||||||
Returns change mode option for given option id.
| |||||||||||
Returns list of change mode options which are available for Multi-Select System Fields.
| |||||||||||
Returns the default change mode option for multi-select/multiple values system field.
| |||||||||||
Returns I18n key representing action description for field for Bulk Edit Wizard Confirmation screen.
| |||||||||||
Checks if the change mode selection is allowed for the field.
| |||||||||||
Sets the change mode for multi-select/multiple values system field.
| |||||||||||
Sets the change mode for the multi-select/multiple values system field from the Map of parameters.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
List representing Multi-Select System Fields for which user should be able to select change mode.
Returns the field name to be used in template for the change mode selection for the multi-select/multiple values system field.
field | The field for which field name is retrieved. |
---|
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
field | The field for which change mode option is retrieved. |
---|
BulkEditMultiSelectFieldOption
set for the field or null
Returns change mode option for given option id.
id | The option id for which BulkEditMultiSelectFieldOption is retrieved. |
---|
BulkEditMultiSelectFieldOption
for given option id
Returns list of change mode options which are available for Multi-Select System Fields.
BulkEditMultiSelectFieldOption
to be visible in Bulk Edit Wizard
Returns the default change mode option for multi-select/multiple values system field.
BulkEditMultiSelectFieldOption
which is the default for the Bulk Edit Wizard
Returns I18n key representing action description for field for Bulk Edit Wizard Confirmation screen.
field | The field for which action description is retrieved. |
---|
Checks if the change mode selection is allowed for the field.
Returns true if the field is multi-select/multiple values system field (defined in BulkEditMultiSelectFieldBean
). Returns false in all other cases.
field | The field for which change mode selection allowance is retrieved. |
---|
Sets the change mode for multi-select/multiple values system field.
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 field |
---|
Sets the change mode for the multi-select/multiple values system field from the Map of parameters. The parameters contain key-value pairs where the key is fieldId and the value is change mode option name.
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 name |
IllegalArgumentException | in case the field is not multi-select/multiple values system field |
---|