Modifier and Type | Class and Description |
---|---|
class |
MockOption |
Modifier and Type | Method and Description |
---|---|
static Option |
MockOption._getMockParent2Option() |
Option |
MockOption.getParentOption() |
Modifier and Type | Method and Description |
---|---|
void |
MockOption.setParentOption(Option parentOption) |
Constructor and Description |
---|
MockOption(Option parentOption,
List childOptions,
Long sequence,
String value,
FieldConfig relatedField,
Long optionId) |
Modifier and Type | Method and Description |
---|---|
Set<Long> |
MultipleSettableCustomFieldType.getIssueIdsWithValue(CustomField field,
Option option)
Returns a Set of issue ids (
Long ) that have the given option selected. |
void |
MultipleSettableCustomFieldType.removeValue(CustomField field,
Issue issue,
Option optionObject)
Perform any actions required if the option selected by the issue is removed.
|
Modifier and Type | Method and Description |
---|---|
Option |
SelectConverterImpl.getObject(String stringValue) |
Option |
SelectConverter.getObject(String stringValue) |
Modifier and Type | Method and Description |
---|---|
SearchContext |
SelectConverterImpl.getPossibleSearchContextFromValue(Option value,
CustomField customField) |
SearchContext |
SelectConverter.getPossibleSearchContextFromValue(Option value,
CustomField customField) |
String |
SelectConverterImpl.getString(Option value) |
String |
SelectConverter.getString(Option value) |
Modifier and Type | Method and Description |
---|---|
protected Option |
MultiSelectCFType.convertDbValueToType(Object dbValue) |
Option |
SelectCFType.getDefaultValue(FieldConfig fieldConfig) |
protected Option |
SelectCFType.getObjectFromDbValue(Object databaseValue) |
Option |
SelectCFType.getSingularObjectFromString(String string) |
Option |
CascadingSelectCFType.getSingularObjectFromString(String string) |
Option |
MultiSelectCFType.getSingularObjectFromString(String string) |
Modifier and Type | Method and Description |
---|---|
Map<String,Option> |
CascadingSelectCFType.getDefaultValue(FieldConfig fieldConfig) |
Collection<Option> |
MultiSelectCFType.getDefaultValue(FieldConfig fieldConfig) |
protected Comparator<Option> |
MultiSelectCFType.getTypeComparator() |
Map<String,Option> |
CascadingSelectCFType.getValueFromCustomFieldParams(CustomFieldParams relevantParams) |
Collection<Option> |
MultiSelectCFType.getValueFromCustomFieldParams(CustomFieldParams parameters) |
Map<String,Option> |
CascadingSelectCFType.getValueFromIssue(CustomField field,
Issue issue) |
Modifier and Type | Method and Description |
---|---|
int |
CascadingSelectCFType.compareOption(Option option1,
Option option2) |
protected Object |
MultiSelectCFType.convertTypeToDbValue(Option value) |
String |
SelectCFType.getChangelogString(CustomField field,
Option value) |
protected Object |
SelectCFType.getDbValueFromObject(Option customFieldObject) |
Set<Long> |
SelectCFType.getIssueIdsWithValue(CustomField field,
Option option) |
Set<Long> |
CascadingSelectCFType.getIssueIdsWithValue(CustomField field,
Option option)
Returns a list of Issue Ids matching the "value" note that the value in this instance is the single object
|
Set<Long> |
MultiSelectCFType.getIssueIdsWithValue(CustomField field,
Option option) |
String |
SelectCFType.getStringFromSingularObject(Option optionObject) |
String |
CascadingSelectCFType.getStringFromSingularObject(Option optionObject) |
String |
MultiSelectCFType.getStringFromSingularObject(Option optionObject) |
void |
SelectCFType.removeValue(CustomField field,
Issue issue,
Option option)
This default implementation will remove all values from the custom field for an issue.
|
void |
CascadingSelectCFType.removeValue(CustomField field,
Issue issue,
Option option) |
void |
MultiSelectCFType.removeValue(CustomField field,
Issue issue,
Option option) |
void |
SelectCFType.setDefaultValue(FieldConfig fieldConfig,
Option option) |
Modifier and Type | Method and Description |
---|---|
int |
CascadingSelectCFType.compare(Map<String,Option> o1,
Map<String,Option> o2,
FieldConfig fieldConfig) |
int |
CascadingSelectCFType.compare(Map<String,Option> o1,
Map<String,Option> o2,
FieldConfig fieldConfig) |
void |
CascadingSelectCFType.createValue(CustomField field,
Issue issue,
Map<String,Option> cascadingOptions)
Create a cascading select-list instance for an issue.
|
String |
MultiSelectCFType.getChangelogString(CustomField field,
Collection<Option> value) |
String |
CascadingSelectCFType.getChangelogValue(CustomField field,
Map<String,Option> cascadingOptions) |
void |
MultiSelectCFType.setDefaultValue(FieldConfig fieldConfig,
Collection<Option> value) |
void |
CascadingSelectCFType.setDefaultValue(FieldConfig fieldConfig,
Map<String,Option> cascadingOptions) |
void |
CascadingSelectCFType.updateValue(CustomField field,
Issue issue,
Map<String,Option> cascadingOptions) |
boolean |
MultiSelectCFType.valuesEqual(Collection<Option> v1,
Collection<Option> v2) |
boolean |
MultiSelectCFType.valuesEqual(Collection<Option> v1,
Collection<Option> v2) |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Option> |
CascadingSelectCustomFieldOperationsHandler.getInitialCreateValue(IssueContext issueCtx)
compute the "currentValue" to be passed to applyOperation()
|
protected Map<String,Option> |
CascadingSelectCustomFieldOperationsHandler.getInitialValue(Issue issue,
ErrorCollection errors)
compute the "currentValue" to be passed to applyOperation()
|
protected Map<String,Option> |
CascadingSelectCustomFieldOperationsHandler.handleSetOperation(IssueContext issueCtx,
Issue issue,
Map<String,Option> currentFieldValue,
JsonData operationValue,
ErrorCollection errors) |
Modifier and Type | Method and Description |
---|---|
protected void |
CascadingSelectCustomFieldOperationsHandler.finaliseOperation(Map<String,Option> finalValue,
IssueInputParameters parameters,
ErrorCollection errors) |
protected Map<String,Option> |
CascadingSelectCustomFieldOperationsHandler.handleSetOperation(IssueContext issueCtx,
Issue issue,
Map<String,Option> currentFieldValue,
JsonData operationValue,
ErrorCollection errors) |
Modifier and Type | Method and Description |
---|---|
Option |
CachedOptionsManager.createOption(FieldConfig fieldConfig,
Long parentOptionId,
Long sequence,
String value) |
Option |
DefaultOptionsManager.createOption(FieldConfig fieldConfig,
Long parentOptionId,
Long sequence,
String value) |
Option |
OptionsManager.createOption(FieldConfig fieldConfig,
Long parentOptionId,
Long sequence,
String value) |
Option |
CachedOptionsManager.findByOptionId(Long optionId) |
Option |
DefaultOptionsManager.findByOptionId(Long optionId) |
Option |
OptionsManager.findByOptionId(Long optionId) |
Modifier and Type | Method and Description |
---|---|
List<Option> |
CachedOptionsManager.findByOptionValue(String value) |
List<Option> |
DefaultOptionsManager.findByOptionValue(String value) |
List<Option> |
OptionsManager.findByOptionValue(String value)
Finds all options with the given value.
|
List<Option> |
CachedOptionsManager.findByParentId(Long parentOptionId) |
List<Option> |
DefaultOptionsManager.findByParentId(Long parentOptionId) |
List<Option> |
OptionsManager.findByParentId(Long parentOptionId) |
List<Option> |
CachedOptionsManager.getAllOptions() |
List<Option> |
DefaultOptionsManager.getAllOptions() |
List<Option> |
OptionsManager.getAllOptions()
Retreives all
Option in the system. |
Modifier and Type | Method and Description |
---|---|
void |
CachedOptionsManager.deleteOptionAndChildren(Option option) |
void |
DefaultOptionsManager.deleteOptionAndChildren(Option option) |
void |
OptionsManager.deleteOptionAndChildren(Option option) |
void |
CachedOptionsManager.disableOption(Option option) |
void |
DefaultOptionsManager.disableOption(Option option) |
void |
OptionsManager.disableOption(Option option)
Set an option to disabled.
|
void |
CachedOptionsManager.enableOption(Option option) |
void |
DefaultOptionsManager.enableOption(Option option) |
void |
OptionsManager.enableOption(Option option)
Set an option to enabled.
|
void |
CachedOptionsManager.setValue(Option option,
String value) |
void |
DefaultOptionsManager.setValue(Option option,
String value) |
void |
OptionsManager.setValue(Option option,
String value) |
Modifier and Type | Method and Description |
---|---|
void |
CachedOptionsManager.updateOptions(Collection<Option> options) |
void |
DefaultOptionsManager.updateOptions(Collection<Option> options) |
void |
OptionsManager.updateOptions(Collection<Option> options)
Update a set of options.
|
Modifier and Type | Class and Description |
---|---|
class |
LazyLoadedOption |
Modifier and Type | Method and Description |
---|---|
Option |
OptionsImpl.addOption(Option parent,
String value) |
Option |
Options.addOption(Option parent,
String value) |
Option |
MockOptionsManager.createOption(FieldConfig fieldConfig,
Long parentOptionId,
Long sequence,
String value) |
Option |
MockOptionsManager.findByOptionId(Long optionId) |
Option |
OptionsImpl.getOptionById(Long optionId) |
Option |
Options.getOptionById(Long optionId) |
Option |
OptionsImpl.getOptionForValue(String value,
Long parentOptionId) |
Option |
Options.getOptionForValue(String value,
Long parentOptionId) |
Option |
LazyLoadedOption.getParentOption() |
Option |
Option.getParentOption() |
Modifier and Type | Method and Description |
---|---|
List<Option> |
MockOptionsManager.findByOptionValue(String value) |
List<Option> |
MockOptionsManager.findByParentId(Long parentOptionId) |
List<Option> |
MockOptionsManager.getAllOptions() |
List<Option> |
LazyLoadedOption.getChildOptions() |
List<Option> |
Option.getChildOptions()
Return a list of options that exist under this option (i.e.
|
List<Option> |
OptionsImpl.getRootOptions() |
List<Option> |
Options.getRootOptions()
This is the same as
getOptions(null) |
List<Option> |
LazyLoadedOption.retrieveAllChildren(List<Option> listToAddTo) |
List<Option> |
Option.retrieveAllChildren(List<Option> listToAddTo) |
Modifier and Type | Method and Description |
---|---|
Option |
OptionsImpl.addOption(Option parent,
String value) |
Option |
Options.addOption(Option parent,
String value) |
int |
LazyLoadedOption.compareTo(Option o) |
void |
OptionsImpl.decrementSequence(Option option) |
void |
Options.decrementSequence(Option option) |
void |
MockOptionsManager.deleteOptionAndChildren(Option option) |
void |
MockOptionsManager.disableOption(Option option) |
void |
OptionsImpl.disableOption(Option option) |
void |
Options.disableOption(Option option) |
void |
MockOptionsManager.enableOption(Option option) |
void |
OptionsImpl.enableOption(Option option) |
void |
Options.enableOption(Option option) |
void |
OptionsImpl.incrementSequence(Option option) |
void |
Options.incrementSequence(Option option) |
void |
OptionsImpl.moveToLastSequence(Option option) |
void |
Options.moveToLastSequence(Option option) |
void |
OptionsImpl.moveToStartSequence(Option option) |
void |
Options.moveToStartSequence(Option option) |
void |
OptionsImpl.removeOption(Option option) |
void |
Options.removeOption(Option option) |
void |
MockOptionsManager.setValue(Option option,
String value) |
void |
OptionsImpl.setValue(Option option,
String value) |
void |
Options.setValue(Option option,
String value) |
void |
OptionsImpl.sortOptionsByValue(Option parentOption) |
void |
Options.sortOptionsByValue(Option parentOption) |
void |
MockOptionsManager.store(Option option) |
Modifier and Type | Method and Description |
---|---|
void |
OptionsImpl.moveOptionToPosition(Map<Integer,Option> positionsToOptions) |
void |
Options.moveOptionToPosition(Map<Integer,Option> positionsToOptions) |
static List<String> |
MockOptionsManager.optionsToPaths(Iterable<? extends Option> options) |
List<Option> |
LazyLoadedOption.retrieveAllChildren(List<Option> listToAddTo) |
List<Option> |
Option.retrieveAllChildren(List<Option> listToAddTo) |
void |
MockOptionsManager.updateOptions(Collection<Option> options) |
Constructor and Description |
---|
OptionsImpl(List<Option> options,
FieldConfig relatedField,
OptionsManager optionsManager) |
Modifier and Type | Method and Description |
---|---|
Option |
CascadingOption.getChild() |
Option |
CascadingOption.getParent() |
Option |
SelectStatisticsMapper.getValueFromLuceneField(String documentValue) |
Modifier and Type | Method and Description |
---|---|
Comparator<Option> |
SelectStatisticsMapper.getComparator() |
static Comparator<Option> |
CascadingOptionComparator.getComparator() |
SearchRequestAppender<Option> |
SelectStatisticsMapper.getSearchRequestAppender() |
Comparator<Option> |
SelectStatisticsMapper.getValueComparator() |
Modifier and Type | Method and Description |
---|---|
int |
OptionValueComparator.compare(Option o1,
Option o2) |
int |
OptionComparator.compare(Option o1,
Option o2) |
SearchRequest |
SelectStatisticsMapper.getSearchUrlSuffix(Option option,
SearchRequest searchRequest)
Deprecated.
Use #getSearchRequestAppender().appendInclusiveSingleValueClause()
|
protected String |
SelectStatisticsMapper.getSearchValue(Option value) |
boolean |
SelectStatisticsMapper.isValidValue(Option value) |
Constructor and Description |
---|
CascadingOption(Option parent,
Option child) |
Modifier and Type | Method and Description |
---|---|
static CustomFieldOptionJsonBean |
CustomFieldOptionJsonBean.shortBean(Option option,
JiraBaseUrls urls) |
static CustomFieldOptionJsonBean |
CustomFieldOptionJsonBean.shortBean(Option parent,
Option child,
JiraBaseUrls urls)
Method for building a cascading option with a specific child.
|
Modifier and Type | Method and Description |
---|---|
static Collection<CustomFieldOptionJsonBean> |
CustomFieldOptionJsonBean.shortBeans(Collection<Option> allowedValues,
JiraBaseUrls baseUrls) |
Modifier and Type | Method and Description |
---|---|
Option |
CustomFieldOptionResolver.get(Long id) |
Modifier and Type | Method and Description |
---|---|
Collection<Option> |
CustomFieldOptionResolver.getAll() |
Modifier and Type | Method and Description |
---|---|
Option |
JqlSelectOptionsUtil.getOptionById(Long optionId) |
Modifier and Type | Method and Description |
---|---|
List<Option> |
JqlSelectOptionsUtil.getOptions(CustomField customField,
ApplicationUser user,
QueryLiteral literal,
boolean checkOptionIds)
Returns the options that are represented by the
QueryLiteral that are visible to
the User on the CustomField . |
List<Option> |
JqlSelectOptionsUtil.getOptions(CustomField customField,
QueryContext queryContext,
QueryLiteral literal,
boolean checkOptionIds)
Returns the options that are represented by the
QueryLiteral that are visible in
the QueryContext for a particular CustomField . |
List<Option> |
JqlSelectOptionsUtil.getOptions(CustomField customField,
QueryLiteral literal,
boolean checkOptionIds)
Returns all the options possible represented by the
QueryLiteral for a particular CustomField . |
List<Option> |
JqlSelectOptionsUtil.getOptionsForScheme(FieldConfigScheme fieldConfigScheme)
Retreives all the options for the
FieldConfigScheme . |
Modifier and Type | Method and Description |
---|---|
List<QueryLiteral> |
JqlCascadingSelectLiteralUtil.createQueryLiteralsFromOptions(Operand sourceOperand,
Collection<Option> positiveOptions,
Collection<Option> negativeOptions)
Given a list of
Option s that should be in the result (positive) and a list of Option s that shouldn't (negative)
creates a list of QueryLiteral s that represent the positive and negative options and be used
for generating the query. |
List<QueryLiteral> |
JqlCascadingSelectLiteralUtil.createQueryLiteralsFromOptions(Operand sourceOperand,
Collection<Option> positiveOptions,
Collection<Option> negativeOptions)
Given a list of
Option s that should be in the result (positive) and a list of Option s that shouldn't (negative)
creates a list of QueryLiteral s that represent the positive and negative options and be used
for generating the query. |
Modifier and Type | Method and Description |
---|---|
protected List<Option> |
CascadingSelectCustomFieldValidator.getOptionsFromLiteral(ApplicationUser searcher,
QueryLiteral literal) |
protected List<Option> |
SelectCustomFieldValidator.getOptionsFromLiteral(ApplicationUser searcher,
QueryLiteral literal) |
Modifier and Type | Method and Description |
---|---|
CustomFieldOptionBeanBuilder |
CustomFieldOptionBeanBuilder.customFieldOption(Option customFieldOption)
Sets the issue type.
|
Modifier and Type | Method and Description |
---|---|
Option |
EditCustomFieldOptions.getSelectedOption() |
Option |
EditCustomFieldOptions.getSelectedParentOption() |
Modifier and Type | Method and Description |
---|---|
String |
EditCustomFieldOptions.getDoActionUrl(Option option,
String action) |
Copyright © 2002-2016 Atlassian. All Rights Reserved.