com.atlassian.jira.issue.fields
Class LongIdsValueHolder

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.AbstractSequentialList<E>
              extended by java.util.LinkedList<Long>
                  extended by com.atlassian.jira.issue.fields.LongIdsValueHolder
All Implemented Interfaces:
Serializable, Cloneable, Iterable<Long>, Collection<Long>, Deque<Long>, List<Long>, Queue<Long>

public class LongIdsValueHolder
extends LinkedList<Long>

A type of List<Long> that can be used as an entry in the fieldsvaluemap, but that can keep track of error values (and hence return them in error edithtmls).

Since:
v5.1
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
LongIdsValueHolder(Collection<String> value)
           
LongIdsValueHolder(List<Long> componentIds)
           
LongIdsValueHolder(String[] value)
           
 
Method Summary
 void addBadId(Long componentId)
           
static LongIdsValueHolder fromFieldValuesHolder(String id, Map params)
           
 List<Long> getComponentIds()
           
 String getInputText()
           
 void validateIds(com.google.common.base.Predicate<Long> predicate)
           
 
Methods inherited from class java.util.LinkedList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, toArray, toArray
 
Methods inherited from class java.util.AbstractSequentialList
iterator
 
Methods inherited from class java.util.AbstractList
equals, hashCode, listIterator, removeRange, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, retainAll, subList
 
Methods inherited from interface java.util.Deque
iterator
 

Constructor Detail

LongIdsValueHolder

public LongIdsValueHolder(List<Long> componentIds)

LongIdsValueHolder

public LongIdsValueHolder(String[] value)

LongIdsValueHolder

public LongIdsValueHolder(Collection<String> value)
Method Detail

fromFieldValuesHolder

public static LongIdsValueHolder fromFieldValuesHolder(String id,
                                                       Map params)

getComponentIds

public List<Long> getComponentIds()

getInputText

public String getInputText()

addBadId

public void addBadId(Long componentId)

validateIds

public void validateIds(com.google.common.base.Predicate<Long> predicate)


Copyright © 2002-2014 Atlassian. All Rights Reserved.