public class

CascadingSelectCustomFieldOperationsHandler

extends AbstractCustomFieldOperationsHandler<T>
java.lang.Object
   ↳ com.atlassian.jira.issue.customfields.impl.rest.AbstractCustomFieldOperationsHandler<T>
     ↳ com.atlassian.jira.issue.customfields.impl.rest.CascadingSelectCustomFieldOperationsHandler

Summary

[Expand]
Inherited Fields
From class com.atlassian.jira.issue.customfields.impl.rest.AbstractCustomFieldOperationsHandler
Public Constructors
CascadingSelectCustomFieldOperationsHandler(OptionsManager optionsManager, CustomField field, I18nHelper i18nHelper)
Public Methods
Set<String> getSupportedOperations()
Returns a list of operation names which are supported by this field.
Protected Methods
void finaliseOperation(Map<StringOption> finalValue, IssueInputParameters parameters, ErrorCollection errors)
takes the value returnd by a call to applyOperation() and puts it into the inputparams
Map<StringOption> getInitialCreateValue(IssueContext issueCtx)
compute the "currentValue" to be passed to applyOperation()
Map<StringOption> getInitialValue(Issue issue, ErrorCollection errors)
compute the "currentValue" to be passed to applyOperation()
Map<StringOption> handleSetOperation(IssueContext issueCtx, Issue issue, Map<StringOption> currentFieldValue, JsonData operationValue, ErrorCollection errors)
[Expand]
Inherited Methods
From class com.atlassian.jira.issue.customfields.impl.rest.AbstractCustomFieldOperationsHandler
From class java.lang.Object
From interface com.atlassian.jira.issue.fields.rest.RestFieldOperationsHandler

Public Constructors

public CascadingSelectCustomFieldOperationsHandler (OptionsManager optionsManager, CustomField field, I18nHelper i18nHelper)

Public Methods

public Set<String> getSupportedOperations ()

Returns a list of operation names which are supported by this field.

Returns
  • a set of supported Operations

Protected Methods

protected void finaliseOperation (Map<StringOption> finalValue, IssueInputParameters parameters, ErrorCollection errors)

takes the value returnd by a call to applyOperation() and puts it into the inputparams

protected Map<StringOption> getInitialCreateValue (IssueContext issueCtx)

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

protected Map<StringOption> getInitialValue (Issue issue, ErrorCollection errors)

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

protected Map<StringOption> handleSetOperation (IssueContext issueCtx, Issue issue, Map<StringOption> currentFieldValue, JsonData operationValue, ErrorCollection errors)