public final class IListUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
generateRandomListName()
Deprecated.
Generates a random String to assign to a IList name.
|
static String |
generateRandomListName(String prefix)
Deprecated.
Generates a random String to assign to a IList name.
|
static Date |
getDateValue(COM.FutureTense.Interfaces.IList list,
String colname)
Deprecated.
Return a Date value for a column.
|
static long |
getLongValue(COM.FutureTense.Interfaces.IList list,
String colname)
Deprecated.
Return a long value for a column.
|
static String |
getStringValue(COM.FutureTense.Interfaces.IList list,
String colname)
Deprecated.
Return a string value for a column.
|
static Collection<com.fatwire.assetapi.data.AssetId> |
toAssetIdCollection(COM.FutureTense.Interfaces.IList result)
Deprecated.
Reads an IList with collumns assettype and assetid and
creates a Collection of AssetId objects.
|
public static String getStringValue(COM.FutureTense.Interfaces.IList list, String colname)
list
- IList to interrogatecolname
- name of column to returnIllegalArgumentException
- if the column name is not foundpublic static long getLongValue(COM.FutureTense.Interfaces.IList list, String colname)
list
- IList to interrogatecolname
- name of column to returnIllegalArgumentException
- if the column name is not foundNumberFormatException
- if the column being queried does not
contain a long.public static Date getDateValue(COM.FutureTense.Interfaces.IList list, String colname)
list
- IList to interrogatecolname
- name of column to returnpublic static String generateRandomListName()
public static String generateRandomListName(String prefix)
prefix
- the prefix to assign to the list name, cannot be empty or
null.public static Collection<com.fatwire.assetapi.data.AssetId> toAssetIdCollection(COM.FutureTense.Interfaces.IList result)
result
- list of asset type and asset id pairsCopyright © 2010–2017. All rights reserved.