@Internal public class GenericValueUtils extends Object
Constructor and Description |
---|
GenericValueUtils()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static String |
getCommaSeparatedList(Collection<org.ofbiz.core.entity.GenericValue> genericValues,
String key)
Deprecated.
Returns a String containing a comma and space (for display)
separated list of the key property values in the given collection of GenericValues.
|
static Long[] |
transformToLongIds(Collection<org.ofbiz.core.entity.GenericValue> genericValues)
Deprecated.
|
static List<Long> |
transformToLongIdsList(Collection<org.ofbiz.core.entity.GenericValue> genericValues)
Deprecated.
|
static String[] |
transformToStringIds(Collection<org.ofbiz.core.entity.GenericValue> genericValues)
Deprecated.
|
static List<String> |
transformToStringIdsList(Collection<org.ofbiz.core.entity.GenericValue> genericValues)
Deprecated.
|
static String[] |
transformToStrings(Collection<org.ofbiz.core.entity.GenericValue> genericValues,
String fieldName)
Deprecated.
|
public static Long[] transformToLongIds(Collection<org.ofbiz.core.entity.GenericValue> genericValues)
public static List<Long> transformToLongIdsList(Collection<org.ofbiz.core.entity.GenericValue> genericValues)
public static String[] transformToStrings(Collection<org.ofbiz.core.entity.GenericValue> genericValues, String fieldName)
public static String[] transformToStringIds(Collection<org.ofbiz.core.entity.GenericValue> genericValues)
public static List<String> transformToStringIdsList(Collection<org.ofbiz.core.entity.GenericValue> genericValues)
public static String getCommaSeparatedList(Collection<org.ofbiz.core.entity.GenericValue> genericValues, String key)
genericValues
- Collection of GenericValue
objects.key
- We pull this property out of each GV for our return values.Copyright © 2002-2019 Atlassian. All Rights Reserved.