com.atlassian.jira.issue.customfields.view
Class CustomFieldParamsImpl

java.lang.Object
  extended by com.atlassian.jira.issue.customfields.view.CustomFieldParamsImpl
All Implemented Interfaces:
CustomFieldParams, CollectionParams, FieldParams, FieldTransportParams

public class CustomFieldParamsImpl
extends Object
implements CustomFieldParams


Constructor Summary
CustomFieldParamsImpl()
           
CustomFieldParamsImpl(CustomField customField)
           
CustomFieldParamsImpl(CustomField customField, Object paramsObject)
           
 
Method Summary
 void addValue(Collection values)
           
 void addValue(String key, Collection values)
           
 boolean contains(String key, String value)
           
 boolean containsKey(String key)
           
 boolean equals(Object o)
           
 Set getAllKeys()
           
 Collection getAllValues()
           
 CustomField getCustomField()
           
 Object getFirstValueForKey(String key)
           
 Object getFirstValueForNullKey()
           
 Map getKeysAndValues()
           
 String getQueryString()
           
 Collection getValuesForKey(String key)
           
 Collection getValuesForNullKey()
           
 int hashCode()
           
 boolean isEmpty()
           
 void put(String key, Object value)
           
 void remove(String key)
           
 void setCustomField(CustomField customField)
           
 String toString()
           
 void transform(org.apache.commons.collections.Transformer transformer)
           
static void transformMultiMap(org.apache.commons.collections.Transformer transformer, Map parameterMap)
           
 void transformObjectsToStrings()
           
 void transformStringsToObjects()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CustomFieldParamsImpl

public CustomFieldParamsImpl()

CustomFieldParamsImpl

public CustomFieldParamsImpl(CustomField customField)

CustomFieldParamsImpl

public CustomFieldParamsImpl(CustomField customField,
                             Object paramsObject)
Method Detail

getAllKeys

public Set getAllKeys()
Specified by:
getAllKeys in interface FieldParams

getCustomField

public CustomField getCustomField()
Specified by:
getCustomField in interface CustomFieldParams

setCustomField

public void setCustomField(CustomField customField)
Specified by:
setCustomField in interface CustomFieldParams

getValuesForKey

public Collection getValuesForKey(String key)
Specified by:
getValuesForKey in interface CollectionParams

getFirstValueForKey

public Object getFirstValueForKey(String key)
Specified by:
getFirstValueForKey in interface FieldTransportParams

getValuesForNullKey

public Collection getValuesForNullKey()
Specified by:
getValuesForNullKey in interface CollectionParams

getAllValues

public Collection getAllValues()
Specified by:
getAllValues in interface CollectionParams

getQueryString

public String getQueryString()
Specified by:
getQueryString in interface CustomFieldParams

addValue

public void addValue(String key,
                     Collection values)

addValue

public void addValue(Collection values)

put

public void put(String key,
                Object value)
Specified by:
put in interface CollectionParams
value - A String[], Collection of Strings or String else, it'll be put into a list (if not null)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface FieldParams

contains

public boolean contains(String key,
                        String value)
Specified by:
contains in interface CustomFieldParams

transformObjectsToStrings

public void transformObjectsToStrings()
Specified by:
transformObjectsToStrings in interface CustomFieldParams

transformStringsToObjects

public void transformStringsToObjects()
Specified by:
transformStringsToObjects in interface CustomFieldParams

transformMultiMap

public static void transformMultiMap(org.apache.commons.collections.Transformer transformer,
                                     Map parameterMap)

transform

public void transform(org.apache.commons.collections.Transformer transformer)
Specified by:
transform in interface CustomFieldParams

getFirstValueForNullKey

public Object getFirstValueForNullKey()
Specified by:
getFirstValueForNullKey in interface FieldTransportParams

getKeysAndValues

public Map getKeysAndValues()
Specified by:
getKeysAndValues in interface CustomFieldParams
Specified by:
getKeysAndValues in interface FieldParams

remove

public void remove(String key)
Specified by:
remove in interface CustomFieldParams

containsKey

public boolean containsKey(String key)
Specified by:
containsKey in interface FieldParams


Copyright © 2002-2007 Atlassian. All Rights Reserved.