public class CascadingSelectCustomFieldOperationsHandler extends AbstractCustomFieldOperationsHandler<Map<String,Option>>
field, i18nHelper
Constructor and Description |
---|
CascadingSelectCustomFieldOperationsHandler(OptionsManager optionsManager,
CustomField field,
I18nHelper i18nHelper) |
Modifier and Type | Method and Description |
---|---|
protected void |
finaliseOperation(Map<String,Option> finalValue,
IssueInputParameters parameters,
ErrorCollection errors)
takes the value returnd by a call to applyOperation() and puts it into the inputparams
|
protected Map<String,Option> |
getInitialCreateValue(IssueContext issueCtx)
compute the "currentValue" to be passed to applyOperation()
|
protected Map<String,Option> |
getInitialValue(Issue issue,
ErrorCollection errors)
compute the "currentValue" to be passed to applyOperation()
|
Set<String> |
getSupportedOperations()
Returns a list of operation names which are supported by this field.
|
protected Map<String,Option> |
handleSetOperation(IssueContext issueCtx,
Issue issue,
Map<String,Option> currentFieldValue,
JsonData operationValue,
ErrorCollection errors) |
applyOperation, handleAddOperation, handleRemoveOperation, updateIssueInputParameters
public CascadingSelectCustomFieldOperationsHandler(OptionsManager optionsManager, CustomField field, I18nHelper i18nHelper)
public Set<String> getSupportedOperations()
RestFieldOperationsHandler
getSupportedOperations
in interface RestFieldOperationsHandler
getSupportedOperations
in class AbstractCustomFieldOperationsHandler<Map<String,Option>>
protected Map<String,Option> handleSetOperation(IssueContext issueCtx, Issue issue, Map<String,Option> currentFieldValue, JsonData operationValue, ErrorCollection errors)
handleSetOperation
in class AbstractCustomFieldOperationsHandler<Map<String,Option>>
protected Map<String,Option> getInitialValue(Issue issue, ErrorCollection errors)
getInitialValue
in class AbstractCustomFieldOperationsHandler<Map<String,Option>>
protected Map<String,Option> getInitialCreateValue(IssueContext issueCtx)
getInitialCreateValue
in class AbstractCustomFieldOperationsHandler<Map<String,Option>>
issueCtx
- protected void finaliseOperation(Map<String,Option> finalValue, IssueInputParameters parameters, ErrorCollection errors)
AbstractCustomFieldOperationsHandler
finaliseOperation
in class AbstractCustomFieldOperationsHandler<Map<String,Option>>
Copyright © 2002-2022 Atlassian. All Rights Reserved.