public abstract class

AbstractVersionsRestFieldOperationsHandler

extends AbstractFieldOperationsHandler<T>
java.lang.Object
   ↳ com.atlassian.jira.issue.fields.rest.AbstractFieldOperationsHandler<T>
     ↳ com.atlassian.jira.issue.fields.rest.AbstractVersionsRestFieldOperationsHandler
Known Direct Subclasses

Summary

[Expand]
Inherited Fields
From class com.atlassian.jira.issue.fields.rest.AbstractFieldOperationsHandler
Public Constructors
AbstractVersionsRestFieldOperationsHandler(VersionManager versionManager, I18nHelper i18nHelper)
Public Methods
Set<String> getSupportedOperations()
Protected Methods
abstract String getFieldName()
Collection<String> getInitialCreateValue()
compute the "currentValue" to be passed to applyOperation()
Collection<String> handleAddOperation(IssueContext issueCtx, Issue issue, String fieldId, Collection<String> currentFieldValue, JsonData operationValue, ErrorCollection errors)
Collection<String> handleRemoveOperation(IssueContext issueCtx, Issue issue, String fieldId, Collection<String> currentFieldValue, JsonData operationValue, ErrorCollection errors)
Collection<String> handleSetOperation(IssueContext issueCtx, Issue issue, String fieldId, Collection<String> currentFieldValue, JsonData operationValue, ErrorCollection errors)
Long[] toVersionIds(Collection<String> ids, ErrorCollection errors)
[Expand]
Inherited Methods
From class com.atlassian.jira.issue.fields.rest.AbstractFieldOperationsHandler
From class java.lang.Object
From interface com.atlassian.jira.issue.fields.rest.RestFieldOperationsHandler

Public Constructors

public AbstractVersionsRestFieldOperationsHandler (VersionManager versionManager, I18nHelper i18nHelper)

Public Methods

public Set<String> getSupportedOperations ()

Protected Methods

protected abstract String getFieldName ()

protected Collection<String> getInitialCreateValue ()

compute the "currentValue" to be passed to applyOperation()

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)

protected Long[] toVersionIds (Collection<String> ids, ErrorCollection errors)