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

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

public class NullCustomFieldParams
extends Object
implements CustomFieldParams


Field Summary
 
Fields inherited from interface com.atlassian.jira.issue.transport.FieldParams
log
 
Constructor Summary
NullCustomFieldParams()
           
 
Method Summary
 boolean contains(String key, String value)
           
 boolean containsKey(String key)
           
 Set getAllKeys()
           
 Collection getAllValues()
           
 CustomField getCustomField()
           
 Object getFirstValueForKey(String key)
           
 Object getFirstValueForNullKey()
           
 Map getKeysAndValues()
           
 String getQueryString()
           
 Collection getValuesForKey(String key)
           
 Collection getValuesForNullKey()
           
 boolean isEmpty()
           
 void put(String key, Object value)
           
 void remove(String key)
           
 void setCustomField(CustomField customField)
           
 void transform(org.apache.commons.collections.Transformer transformer)
           
 void transformObjectsToStrings()
           
 void transformStringsToObjects()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullCustomFieldParams

public NullCustomFieldParams()
Method Detail

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)

remove

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

getAllKeys

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

transformStringsToObjects

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

setCustomField

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

getCustomField

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

getValuesForKey

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

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

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

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

containsKey

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

getFirstValueForKey

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

transform

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


Copyright © 2002-2008 Atlassian. All Rights Reserved.