com.atlassian.jira.util.ofbiz
Class GenericValueUtils
java.lang.Object
com.atlassian.jira.util.ofbiz.GenericValueUtils
public class GenericValueUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericValueUtils
public GenericValueUtils()
transformToLongIds
public static Long[] transformToLongIds(Collection genericValues)
transformToLongIdsList
public static List transformToLongIdsList(Collection genericValues)
transformToStrings
public static String[] transformToStrings(Collection genericValues,
String fieldName)
transformToStringIds
public static String[] transformToStringIds(Collection genericValues)
transformToStringIdsList
public static List transformToStringIdsList(Collection genericValues)
getCommaSeparatedList
public static String getCommaSeparatedList(Collection genericValues,
String key)
- Returns a String containing a comma and space (for display)
separated list of the key property values in the given collection of GenericValues.
- Parameters:
genericValues
- Collection of GenericValue
objects.key
- We pull this property out of each GV for our return values.
- Returns:
- a String containing a comma separated list of the key property values in the given collection of GenericValues.
- Since:
- v3.13
Copyright © 2002-2008 Atlassian. All Rights Reserved.