com.atlassian.jira.issue.customfields.option
Class OptionsImpl
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
com.atlassian.jira.issue.customfields.option.OptionsImpl
- All Implemented Interfaces:
- Options, java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess
public class OptionsImpl
- extends java.util.ArrayList
- implements Options
- See Also:
- Serialized Form
Fields inherited from class java.util.AbstractList |
modCount |
Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
containsAll, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
OptionsImpl
public OptionsImpl(java.util.List<Option> options,
FieldConfig relatedField,
CollectionReorderer<Option> reorderer,
OptionsManager optionsManager)
getRootOptions
public java.util.List<Option> getRootOptions()
- Description copied from interface:
Options
- This is the same as
getOptions(null)
- Specified by:
getRootOptions
in interface Options
getOptionForValue
public Option getOptionForValue(java.lang.String value,
java.lang.Long parentOptionId)
- Specified by:
getOptionForValue
in interface Options
addOption
public Option addOption(Option parent,
java.lang.String value)
- Specified by:
addOption
in interface Options
removeOption
public void removeOption(Option option)
- Specified by:
removeOption
in interface Options
sortOptionsByValue
public void sortOptionsByValue(Option parentOption)
- Specified by:
sortOptionsByValue
in interface Options
moveOptionToPosition
public void moveOptionToPosition(java.util.Map positionsToOptions)
- Specified by:
moveOptionToPosition
in interface Options
moveToStartSequence
public void moveToStartSequence(Option option)
- Specified by:
moveToStartSequence
in interface Options
incrementSequence
public void incrementSequence(Option option)
- Specified by:
incrementSequence
in interface Options
decrementSequence
public void decrementSequence(Option option)
- Specified by:
decrementSequence
in interface Options
moveToLastSequence
public void moveToLastSequence(Option option)
- Specified by:
moveToLastSequence
in interface Options
getOptionById
public Option getOptionById(java.lang.Long optionId)
- Specified by:
getOptionById
in interface Options
getRelatedFieldConfig
public FieldConfig getRelatedFieldConfig()
- Specified by:
getRelatedFieldConfig
in interface Options
Copyright © 2002-2011 Atlassian. All Rights Reserved.