com.atlassian.jira.util.ofbiz
Class GenericValueUtils

java.lang.Object
  extended by com.atlassian.jira.util.ofbiz.GenericValueUtils

Deprecated. Use API methods that don't require GenericValues instead, or copy/paste these methods as we intend to pull this out of the API. Since v6.1.

@Internal
public class GenericValueUtils
extends Object

Only included in APi because it was required by some implementations in order to compile.


Constructor Summary
GenericValueUtils()
          Deprecated.  
 
Method Summary
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.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericValueUtils

public GenericValueUtils()
Deprecated. 
Method Detail

transformToLongIds

public static Long[] transformToLongIds(Collection<org.ofbiz.core.entity.GenericValue> genericValues)
Deprecated. 

transformToLongIdsList

public static List<Long> transformToLongIdsList(Collection<org.ofbiz.core.entity.GenericValue> genericValues)
Deprecated. 

transformToStrings

public static String[] transformToStrings(Collection<org.ofbiz.core.entity.GenericValue> genericValues,
                                          String fieldName)
Deprecated. 

transformToStringIds

public static String[] transformToStringIds(Collection<org.ofbiz.core.entity.GenericValue> genericValues)
Deprecated. 

transformToStringIdsList

public static List<String> transformToStringIdsList(Collection<org.ofbiz.core.entity.GenericValue> genericValues)
Deprecated. 

getCommaSeparatedList

public 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.

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-2014 Atlassian. All Rights Reserved.