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

All Superinterfaces:
java.util.Collection, 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)
           
 CustomField getRelatedCustomField()
           
 java.util.Collection getRootOptions()
          This is the same as getOptions(null)
 void incrementSequence(Option option)
           
 void removeOption(Option option)
           
 
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

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

Returns:

getOptionById

public Option getOptionById(java.lang.Long optionId)

getOptionForValue

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

addOption

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

removeOption

public void removeOption(Option option)

incrementSequence

public void incrementSequence(Option option)

decrementSequence

public void decrementSequence(Option option)

getRelatedCustomField

public CustomField getRelatedCustomField()


Copyright © 2002-2005 Atlassian. All Rights Reserved.