public final class IListUtils extends Object
| Modifier and Type | Method and Description | 
|---|---|
static String | 
generateRandomListName()
Generates a random String to assign to a IList name. 
 | 
static String | 
generateRandomListName(String prefix)
Generates a random String to assign to a IList name. 
 | 
static Date | 
getDateValue(COM.FutureTense.Interfaces.IList list,
            String colname)
Return a Date value for a column. 
 | 
static long | 
getLongValue(COM.FutureTense.Interfaces.IList list,
            String colname)
Return a long value for a column. 
 | 
static String | 
getStringValue(COM.FutureTense.Interfaces.IList list,
              String colname)
Return a string value for a column. 
 | 
static Collection<com.fatwire.assetapi.data.AssetId> | 
toAssetIdCollection(COM.FutureTense.Interfaces.IList result)
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 © 2016–2017. All rights reserved.