public class MultiGroupCustomFieldOperationsHandler extends AbstractCustomFieldOperationsHandler<Collection<String>>
field, i18nHelper
Constructor and Description |
---|
MultiGroupCustomFieldOperationsHandler(CustomField field,
I18nHelper i18nHelper) |
Modifier and Type | Method and Description |
---|---|
protected void |
finaliseOperation(Collection<String> finalValue,
IssueInputParameters parameters,
ErrorCollection errors)
takes the value returnd by a call to applyOperation() and puts it into the inputparams
|
protected List<String> |
getInitialCreateValue(IssueContext issueCtx)
compute the "currentValue" to be passed to applyOperation()
|
protected List<String> |
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 Collection<String> |
handleAddOperation(IssueContext issueCtx,
Issue issue,
Collection<String> currentValue,
JsonData operationValue,
ErrorCollection errors) |
protected Collection<String> |
handleRemoveOperation(IssueContext issueCtx,
Issue issue,
Collection<String> currentValue,
JsonData operationValue,
ErrorCollection errors) |
protected Collection<String> |
handleSetOperation(IssueContext issueCtx,
Issue issue,
Collection<String> currentFieldValue,
JsonData operationValue,
ErrorCollection errors) |
applyOperation, updateIssueInputParameters
public MultiGroupCustomFieldOperationsHandler(CustomField field, I18nHelper i18nHelper)
public Set<String> getSupportedOperations()
RestFieldOperationsHandler
getSupportedOperations
in interface RestFieldOperationsHandler
getSupportedOperations
in class AbstractCustomFieldOperationsHandler<Collection<String>>
protected Collection<String> handleSetOperation(IssueContext issueCtx, Issue issue, Collection<String> currentFieldValue, JsonData operationValue, ErrorCollection errors)
handleSetOperation
in class AbstractCustomFieldOperationsHandler<Collection<String>>
protected Collection<String> handleAddOperation(IssueContext issueCtx, Issue issue, Collection<String> currentValue, JsonData operationValue, ErrorCollection errors)
handleAddOperation
in class AbstractCustomFieldOperationsHandler<Collection<String>>
protected Collection<String> handleRemoveOperation(IssueContext issueCtx, Issue issue, Collection<String> currentValue, JsonData operationValue, ErrorCollection errors)
handleRemoveOperation
in class AbstractCustomFieldOperationsHandler<Collection<String>>
protected List<String> getInitialCreateValue(IssueContext issueCtx)
AbstractCustomFieldOperationsHandler
getInitialCreateValue
in class AbstractCustomFieldOperationsHandler<Collection<String>>
protected List<String> getInitialValue(Issue issue, ErrorCollection errors)
AbstractCustomFieldOperationsHandler
getInitialValue
in class AbstractCustomFieldOperationsHandler<Collection<String>>
protected void finaliseOperation(Collection<String> finalValue, IssueInputParameters parameters, ErrorCollection errors)
AbstractCustomFieldOperationsHandler
finaliseOperation
in class AbstractCustomFieldOperationsHandler<Collection<String>>
Copyright © 2002-2021 Atlassian. All Rights Reserved.