com.atlassian.jira.issue.customfields.option
Interface Options

All Superinterfaces:
java.util.Collection, java.lang.Iterable, java.util.List
All Known Implementing Classes:
GenericImmutableOptions, OptionsImpl

public interface Options
extends java.util.List


Method Summary
 Option addOption(Option parent, java.lang.String value)
           
 void decrementSequence(Option option)
           
 Option getOptionById(java.lang.Long optionId)
           
 Option getOptionForValue(java.lang.String value, java.lang.Long parentOptionId)
           
 FieldConfig getRelatedFieldConfig()
           
 java.util.List getRootOptions()
          This is the same as getOptions(null)
 void incrementSequence(Option option)
           
 void moveOptionToPosition(java.util.Map positionsToOptions)
           
 void moveToLastSequence(Option option)
           
 void moveToStartSequence(Option option)
           
 void removeOption(Option option)
           
 void sortOptionsByValue(Option parentOption)
           
 
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
 

Method Detail

getRootOptions

java.util.List getRootOptions()
This is the same as getOptions(null)


getOptionById

Option getOptionById(java.lang.Long optionId)

getOptionForValue

Option getOptionForValue(java.lang.String value,
                         java.lang.Long parentOptionId)

addOption

Option addOption(Option parent,
                 java.lang.String value)

removeOption

void removeOption(Option option)

moveToStartSequence

void moveToStartSequence(Option option)

incrementSequence

void incrementSequence(Option option)

decrementSequence

void decrementSequence(Option option)

moveToLastSequence

void moveToLastSequence(Option option)

getRelatedFieldConfig

FieldConfig getRelatedFieldConfig()

sortOptionsByValue

void sortOptionsByValue(Option parentOption)

moveOptionToPosition

void moveOptionToPosition(java.util.Map positionsToOptions)


Copyright © 2002-2010 Atlassian. All Rights Reserved.