|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.atlassian.jira.issue.customfields.CustomFieldUtils
Field Summary | |
static java.text.DateFormat |
CUSTOMFIELD_DATEFORMATTER
|
Constructor Summary | |
CustomFieldUtils()
|
Method Summary | |
static ChangeItemBean |
createCustomFieldValue(org.ofbiz.core.entity.GenericValue issue,
java.lang.Object value,
org.ofbiz.core.entity.GenericValue customField)
Create a new custom field value. |
static java.util.List |
createUpdateCustomFieldValues(org.ofbiz.core.entity.GenericValue issue,
java.util.Map customFieldValues)
This method will create and update the custom field values for an issue. |
static java.util.Map |
getCustomFieldValues(java.util.Collection customFields)
Return a map filled with the current default custom field values. |
static java.util.Map |
getCustomFieldValues(org.ofbiz.core.entity.GenericValue issue,
java.util.Collection customFields)
Return a map filled with the current custom field values from a given issue. |
static java.lang.String |
getStringValue(org.ofbiz.core.entity.GenericValue customFieldValue)
|
static java.lang.Object |
getTypedValue(org.ofbiz.core.entity.GenericValue customField,
java.lang.String value)
|
static void |
setCustomFields(CustomFieldValuesAware action,
java.util.Map params)
This method sets up the CustomFieldValuesHolder with correct values from incoming parameters. |
static ChangeItemBean |
updateCustomFieldValue(org.ofbiz.core.entity.GenericValue customFieldValue,
java.lang.Object value,
org.ofbiz.core.entity.GenericValue customField)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.text.DateFormat CUSTOMFIELD_DATEFORMATTER
Constructor Detail |
public CustomFieldUtils()
Method Detail |
public static java.lang.Object getTypedValue(org.ofbiz.core.entity.GenericValue customField, java.lang.String value)
public static java.lang.String getStringValue(org.ofbiz.core.entity.GenericValue customFieldValue) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public static java.util.Map getCustomFieldValues(java.util.Collection customFields) throws java.lang.Exception
java.lang.Exception
public static java.util.Map getCustomFieldValues(org.ofbiz.core.entity.GenericValue issue, java.util.Collection customFields) throws java.lang.Exception
java.lang.Exception
public static void setCustomFields(CustomFieldValuesAware action, java.util.Map params) throws java.lang.Exception
action
- A WebWork action that implements CustomFieldValuesAwareparams
- A map of parameters, usually retrieved from ActionContext.getContext().getParameters()
java.lang.Exception
CustomFieldValuesAware
public static java.util.List createUpdateCustomFieldValues(org.ofbiz.core.entity.GenericValue issue, java.util.Map customFieldValues) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public static ChangeItemBean updateCustomFieldValue(org.ofbiz.core.entity.GenericValue customFieldValue, java.lang.Object value, org.ofbiz.core.entity.GenericValue customField) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public static ChangeItemBean createCustomFieldValue(org.ofbiz.core.entity.GenericValue issue, java.lang.Object value, org.ofbiz.core.entity.GenericValue customField) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |