public class LabelsRestFieldOperationsHandler extends AbstractFieldOperationsHandler<Collection<String>>
i18nHelper
Constructor and Description |
---|
LabelsRestFieldOperationsHandler(I18nHelper i18nHelper) |
Modifier and Type | Method and Description |
---|---|
protected void |
finaliseOperation(Collection<String> finalValue,
IssueInputParameters parameters,
ErrorCollection errors)
takes the valuye returnd by a call to applyOperation() and puts it into the inputparams
|
protected List<String> |
getInitialCreateValue()
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,
String fieldId,
Collection<String> currentFieldValue,
JsonData operationValue,
ErrorCollection errors) |
protected Collection<String> |
handleRemoveOperation(IssueContext issueCtx,
Issue issue,
String fieldId,
Collection<String> currentFieldValue,
JsonData operationValue,
ErrorCollection errors) |
protected Collection<String> |
handleSetOperation(IssueContext issueCtx,
Issue issue,
String fieldId,
Collection<String> currentFieldValue,
JsonData operationValue,
ErrorCollection errors) |
applyOperation, toLongIds, updateIssueInputParameters
public LabelsRestFieldOperationsHandler(I18nHelper i18nHelper)
public Set<String> getSupportedOperations()
RestFieldOperationsHandler
protected Collection<String> handleRemoveOperation(IssueContext issueCtx, Issue issue, String fieldId, Collection<String> currentFieldValue, JsonData operationValue, ErrorCollection errors)
handleRemoveOperation
in class AbstractFieldOperationsHandler<Collection<String>>
protected Collection<String> handleSetOperation(IssueContext issueCtx, Issue issue, String fieldId, Collection<String> currentFieldValue, JsonData operationValue, ErrorCollection errors)
handleSetOperation
in class AbstractFieldOperationsHandler<Collection<String>>
protected Collection<String> handleAddOperation(IssueContext issueCtx, Issue issue, String fieldId, Collection<String> currentFieldValue, JsonData operationValue, ErrorCollection errors)
handleAddOperation
in class AbstractFieldOperationsHandler<Collection<String>>
protected List<String> getInitialCreateValue()
AbstractFieldOperationsHandler
getInitialCreateValue
in class AbstractFieldOperationsHandler<Collection<String>>
protected List<String> getInitialValue(Issue issue, ErrorCollection errors)
AbstractFieldOperationsHandler
getInitialValue
in class AbstractFieldOperationsHandler<Collection<String>>
protected void finaliseOperation(Collection<String> finalValue, IssueInputParameters parameters, ErrorCollection errors)
AbstractFieldOperationsHandler
finaliseOperation
in class AbstractFieldOperationsHandler<Collection<String>>
Copyright © 2002-2017 Atlassian. All Rights Reserved.