public class

CustomFieldParamsImpl

extends Object
implements CustomFieldParams
java.lang.Object
   ↳ com.atlassian.jira.issue.customfields.view.CustomFieldParamsImpl

Summary

Public Constructors
CustomFieldParamsImpl()
CustomFieldParamsImpl(CustomField customField)
CustomFieldParamsImpl(CustomField customField, Object paramsObject)
Public Methods
void addValue(String key, Collection<String> values)
void addValue(Collection<String> values)
boolean contains(String key, String value)
boolean containsKey(String key)
boolean equals(Object o)
Set<String> getAllKeys()
Collection getAllValues()
Return all values of all keys, flattened into a single collection.
CustomField getCustomField()
Object getFirstValueForKey(String key)
Object getFirstValueForNullKey()
Map getKeysAndValues()
String getQueryString()
Collection<String> getValuesForKey(String key)
Return the values associated with the given key in the parameters.
Collection getValuesForNullKey()
Return the values of the custom field.
int hashCode()
boolean isEmpty()
void put(String key, Collection<String> value)
Put the values in.
void remove(String key)
void setCustomField(CustomField customField)
String toString()
void transform(Transformer transformer)
static void transformMultiMap(Transformer transformer, Map parameterMap)
void transformObjectsToStrings()
void transformStringsToObjects()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.issue.customfields.view.CustomFieldParams
From interface com.atlassian.jira.issue.transport.CollectionParams
From interface com.atlassian.jira.issue.transport.FieldParams
From interface com.atlassian.jira.issue.transport.FieldTransportParams

Public Constructors

public CustomFieldParamsImpl ()

public CustomFieldParamsImpl (CustomField customField)

public CustomFieldParamsImpl (CustomField customField, Object paramsObject)

Public Methods

public void addValue (String key, Collection<String> values)

public void addValue (Collection<String> values)

public boolean contains (String key, String value)

public boolean containsKey (String key)

public boolean equals (Object o)

public Set<String> getAllKeys ()

public Collection getAllValues ()

Return all values of all keys, flattened into a single collection. Use getValuesForNullKey() instead if, for example, you just need the values of the custom field.

public CustomField getCustomField ()

public Object getFirstValueForKey (String key)

public Object getFirstValueForNullKey ()

public Map getKeysAndValues ()

public String getQueryString ()

public Collection<String> getValuesForKey (String key)

Return the values associated with the given key in the parameters.

Depending on the type of field, additional keys might be introduced in addition to the null key. JIRA might also add additional keys into the parameters. For example, issue id and project id might be passed into the parameters under separate keys during custom field validation.

public Collection getValuesForNullKey ()

Return the values of the custom field.

The values associated with the null key represents the values of the custom field. For example, the user selected in a single user picker, or the list of users selected in a multiple user picker.

Note that unlike getAllValues(), this method does not return values associated with other non-null keys.

public int hashCode ()

public boolean isEmpty ()

public void put (String key, Collection<String> value)

Put the values in.

Parameters
key for mapping
value a Collection of Strings.

public void remove (String key)

public void setCustomField (CustomField customField)

public String toString ()

public void transform (Transformer transformer)

public static void transformMultiMap (Transformer transformer, Map parameterMap)

public void transformObjectsToStrings ()

public void transformStringsToObjects ()