com.atlassian.jira.issue.fields.rest
Class FixForVersionsRestFieldOperationsHandler

java.lang.Object
  extended by com.atlassian.jira.issue.fields.rest.AbstractFieldOperationsHandler<Collection<String>>
      extended by com.atlassian.jira.issue.fields.rest.AbstractVersionsRestFieldOperationsHandler
          extended by com.atlassian.jira.issue.fields.rest.FixForVersionsRestFieldOperationsHandler
All Implemented Interfaces:
RestFieldOperationsHandler

public class FixForVersionsRestFieldOperationsHandler
extends AbstractVersionsRestFieldOperationsHandler

Since:
v5.0

Field Summary
 
Fields inherited from class com.atlassian.jira.issue.fields.rest.AbstractFieldOperationsHandler
i18nHelper
 
Constructor Summary
FixForVersionsRestFieldOperationsHandler(VersionManager versionManager, I18nHelper i18nHelper)
           
 
Method Summary
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  String getFieldName()
           
protected  List<String> getInitialValue(Issue issue, ErrorCollection errors)
          compute the "currentValue" to be passed to applyOperation()
 
Methods inherited from class com.atlassian.jira.issue.fields.rest.AbstractVersionsRestFieldOperationsHandler
getInitialCreateValue, getSupportedOperations, handleAddOperation, handleRemoveOperation, handleSetOperation, toVersionIds
 
Methods inherited from class com.atlassian.jira.issue.fields.rest.AbstractFieldOperationsHandler
applyOperation, toLongIds, updateIssueInputParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixForVersionsRestFieldOperationsHandler

public FixForVersionsRestFieldOperationsHandler(VersionManager versionManager,
                                                I18nHelper i18nHelper)
Method Detail

getFieldName

protected String getFieldName()
Specified by:
getFieldName in class AbstractVersionsRestFieldOperationsHandler

getInitialValue

protected List<String> getInitialValue(Issue issue,
                                       ErrorCollection errors)
Description copied from class: AbstractFieldOperationsHandler
compute the "currentValue" to be passed to applyOperation()

Specified by:
getInitialValue in class AbstractFieldOperationsHandler<Collection<String>>

finaliseOperation

protected void finaliseOperation(Collection<String> finalValue,
                                 IssueInputParameters parameters,
                                 ErrorCollection errors)
Description copied from class: AbstractFieldOperationsHandler
takes the valuye returnd by a call to applyOperation() and puts it into the inputparams

Specified by:
finaliseOperation in class AbstractFieldOperationsHandler<Collection<String>>


Copyright © 2002-2014 Atlassian. All Rights Reserved.