com.atlassian.jira.issue.customfields
Class CustomFieldValuesHolder

java.lang.Object
  extended bycom.atlassian.jira.issue.customfields.CustomFieldValuesHolder

public class CustomFieldValuesHolder
extends java.lang.Object

This is a useful class for holding temporary custom field values.

See Also:
CreateIssue, EditIssue

Constructor Summary
CustomFieldValuesHolder(GenericValue issue, java.util.Locale locale)
           
CustomFieldValuesHolder(java.util.Locale locale)
           
CustomFieldValuesHolder(java.lang.String issueType, java.lang.Long project, java.util.Locale locale)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.util.Collection getCustomFields()
           
 java.lang.String getCustomFieldValue(GenericValue customField)
           
 java.util.Map getCustomFieldValues()
           
 java.lang.String getPrefixedId(java.lang.String id)
           
 boolean hasCustomFieldValue(GenericValue customField)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CustomFieldValuesHolder

public CustomFieldValuesHolder(java.util.Locale locale)

CustomFieldValuesHolder

public CustomFieldValuesHolder(GenericValue issue,
                               java.util.Locale locale)

CustomFieldValuesHolder

public CustomFieldValuesHolder(java.lang.String issueType,
                               java.lang.Long project,
                               java.util.Locale locale)
Method Detail

getCustomFields

public java.util.Collection getCustomFields()
                                     throws GenericEntityException
Throws:
GenericEntityException

hasCustomFieldValue

public boolean hasCustomFieldValue(GenericValue customField)
                            throws GenericEntityException
Throws:
GenericEntityException

getCustomFieldValue

public java.lang.String getCustomFieldValue(GenericValue customField)
                                     throws GenericEntityException
Throws:
GenericEntityException

getCustomFieldValues

public java.util.Map getCustomFieldValues()
                                   throws GenericEntityException
Throws:
GenericEntityException

getPrefixedId

public java.lang.String getPrefixedId(java.lang.String id)

toString

public java.lang.String toString()

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()