com.atlassian.jira.issue.customfields
Class CustomFieldUtils
java.lang.Object
com.atlassian.jira.issue.customfields.CustomFieldUtils
- public class CustomFieldUtils
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CUSTOM_FIELD_PREFIX
public static final java.lang.String CUSTOM_FIELD_PREFIX
- See Also:
- Constant Field Values
CustomFieldUtils
public CustomFieldUtils()
updateCustomFieldValues
public static java.util.List updateCustomFieldValues(org.ofbiz.core.entity.GenericValue issue,
java.util.Map customFieldValues)
createCustomFieldValues
public static java.util.List createCustomFieldValues(org.ofbiz.core.entity.GenericValue issue,
java.util.Map customFieldValues)
- Parameters:
issue
- Issue to create field values forcustomFieldValues
- a non-null Map keyed by CustomField
objects.
- Returns:
- An (always empty currently?) List of change items
validateParams
public static void validateParams(ErrorCollection action,
java.util.Map actionParameters,
java.util.Map customFieldValuesHolder,
java.util.Collection customFields)
getCustomFieldSearchParamType
public static java.lang.String getCustomFieldSearchParamType(java.lang.String searchParamKey)
getCustomFieldKey
public static java.lang.String getCustomFieldKey(java.lang.String searchParamKey)
getCustomFieldId
public static java.lang.Long getCustomFieldId(java.lang.String key)
getCustomFieldEditHelper
public static CustomFieldEditHelper getCustomFieldEditHelper(FieldLayoutItem fieldLayoutItem,
CustomFieldValuesAware action,
ProjectIssueType projectIssueType)
isCollectionNotEmpty
public static boolean isCollectionNotEmpty(java.util.Collection stringCollection)
isValueSelected
public static boolean isValueSelected(java.lang.Object selectValue)
parseCustomFieldValuesFromActionParams
public static java.util.Map parseCustomFieldValuesFromActionParams(java.util.Map actionParameters,
java.util.List customFields)
throws org.ofbiz.core.entity.GenericEntityException,
CustomFieldValidationException
- Parses action paramaters (Map of Collections of Strings with [:]> as key)
- Parameters:
actionParameters
- customFields
-
- Returns:
-
- Throws:
org.ofbiz.core.entity.GenericEntityException
CustomFieldValidationException
- Since:
- 3.1-DEV
Copyright © 2002-2005 Atlassian. All Rights Reserved.