|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.fatwire.gst.foundation.IListUtils
public final class IListUtils
Miscellaneous IList Utilities
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String getStringValue(COM.FutureTense.Interfaces.IList list, String colname)
list
- IList to interrogatecolname
- name of column to return
IllegalArgumentException
- 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 return
IllegalArgumentException
- if the column name is not found
NumberFormatException
- 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 return
public 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
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |