public class

LongIdsValueHolder

extends LinkedList<E>
java.lang.Object
   ↳ java.util.AbstractCollection<E>
     ↳ java.util.AbstractList<E>
       ↳ java.util.AbstractSequentialList<E>
         ↳ java.util.LinkedList<E>
           ↳ com.atlassian.jira.issue.fields.LongIdsValueHolder

Class Overview

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).

Summary

Constants
String NEW_VALUE_PREFIX
[Expand]
Inherited Fields
From class java.util.AbstractList
Public Constructors
LongIdsValueHolder(List<Long> componentIds)
LongIdsValueHolder(String[] value)
LongIdsValueHolder(Collection<String> value)
Public Methods
void addBadId(Long componentId)
static LongIdsValueHolder fromFieldValuesHolder(String id, Map params)
String getInputText()
Set<String> getValuesToAdd()
void setValuesToAdd(Set<String> values)
void validateIds(Predicate<Long> predicate)
[Expand]
Inherited Methods
From class java.util.LinkedList
From class java.util.AbstractSequentialList
From class java.util.AbstractList
From class java.util.AbstractCollection
From class java.lang.Object
From interface java.lang.Iterable
From interface java.util.Collection
From interface java.util.Deque
From interface java.util.List
From interface java.util.Queue

Constants

public static final String NEW_VALUE_PREFIX

Constant Value: "nv_"

Public Constructors

public LongIdsValueHolder (List<Long> componentIds)

public LongIdsValueHolder (String[] value)

public LongIdsValueHolder (Collection<String> value)

Public Methods

public void addBadId (Long componentId)

public static LongIdsValueHolder fromFieldValuesHolder (String id, Map params)

public String getInputText ()

public Set<String> getValuesToAdd ()

public void setValuesToAdd (Set<String> values)

public void validateIds (Predicate<Long> predicate)