|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.fatwire.gst.foundation.facade.assetapi.AssetIdUtils
public final class AssetIdUtils
Utility class for working with Asset IDs
| Method Summary | |
|---|---|
static com.fatwire.assetapi.data.AssetId |
createAssetId(String c,
long cid)
Creates an AssetId from c and cid parameters. |
static com.fatwire.assetapi.data.AssetId |
createAssetId(String c,
String cid)
Creates an AssetId from c and cid parameters. |
static com.fatwire.assetapi.data.AssetId |
currentId(COM.FutureTense.Interfaces.ICS ics)
Creates an AssetId out of 'c' and 'cid' variables on ICS context. |
static com.fatwire.assetapi.data.AssetId |
currentPageId(COM.FutureTense.Interfaces.ICS ics)
Creates an AssetId out of 'p' variable on ICS context with type 'Page'. |
static com.fatwire.assetapi.data.AssetId |
fromString(String s)
Convert a string in the form assettype:assetid into an AssetId object. |
static String |
toString(com.fatwire.assetapi.data.AssetId id)
Converts an AssetId into a String of the form assettype:id. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static com.fatwire.assetapi.data.AssetId fromString(String s)
s - string in the form assettype:assetid
IllegalArgumentException - if input is badpublic static String toString(com.fatwire.assetapi.data.AssetId id)
id -
public static com.fatwire.assetapi.data.AssetId currentId(COM.FutureTense.Interfaces.ICS ics)
ics -
IllegalArgumentException - if c or cid is blank.public static com.fatwire.assetapi.data.AssetId currentPageId(COM.FutureTense.Interfaces.ICS ics)
ics -
IllegalArgumentException - if p is blank.
public static com.fatwire.assetapi.data.AssetId createAssetId(String c,
String cid)
c - the assetypecid - the assetid, must be a String representing a long value
IllegalArgumentException - if c or cid is blank.
public static com.fatwire.assetapi.data.AssetId createAssetId(String c,
long cid)
c - the assetype.cid - the assetid.
IllegalArgumentException - is c is blank
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||