com.fatwire.gst.foundation.facade.assetapi
Class AssetDataUtils

java.lang.Object
  extended by com.fatwire.gst.foundation.facade.assetapi.AssetDataUtils

public final class AssetDataUtils
extends Object

Convenient shortcuts for working with AssetData objects

Since:
Nov 17, 2009
Author:
Tony Field, Dolf Dijkstra

Method Summary
static com.fatwire.assetapi.data.AssetData getAssetData(com.fatwire.assetapi.data.AssetId id)
          Read all attributes for the given asset id.
static com.fatwire.assetapi.data.AssetData getAssetData(com.fatwire.assetapi.data.AssetId id, String... attributes)
          Return the AssetData for the specified asset
static com.fatwire.assetapi.data.AssetData getAssetData(COM.FutureTense.Interfaces.ICS ics, com.fatwire.assetapi.data.AssetId id)
          Read all attributes for the given asset id.
static com.fatwire.assetapi.data.AssetData getAssetData(COM.FutureTense.Interfaces.ICS ics, com.fatwire.assetapi.data.AssetId id, String... attributes)
          Return the AssetData for the specified asset
static com.fatwire.assetapi.data.AssetData getAssetData(String c, String cid, String... attributes)
          Deprecated. inconsistent method signature, replaced by getAssetData(AssetId, String...).
static com.fatwire.assetapi.data.AssetData getCurrentAssetData(COM.FutureTense.Interfaces.ICS ics)
          This is a convenience method to read AssetData for the current c/cid asset on the ics scope.
static com.fatwire.assetapi.data.AssetData getCurrentAssetData(COM.FutureTense.Interfaces.ICS ics, String... attributes)
          This is a convenience method to read AssetData for the current c/cid asset on the ics scope.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAssetData

public static com.fatwire.assetapi.data.AssetData getAssetData(String c,
                                                               String cid,
                                                               String... attributes)
Deprecated. inconsistent method signature, replaced by getAssetData(AssetId, String...).

Return the AssetData for the specified asset

Parameters:
c -
cid -
attributes -
Returns:
asset data

getAssetData

public static com.fatwire.assetapi.data.AssetData getAssetData(com.fatwire.assetapi.data.AssetId id)
Read all attributes for the given asset id.

Parameters:
id - must be valid or else an exception is thrown
Returns:
asset data, never null.

getAssetData

public static com.fatwire.assetapi.data.AssetData getAssetData(COM.FutureTense.Interfaces.ICS ics,
                                                               com.fatwire.assetapi.data.AssetId id)
Read all attributes for the given asset id.

Parameters:
ics - ICS context
id - must be valid or else an exception is thrown
Returns:
asset data, never null.

getAssetData

public static com.fatwire.assetapi.data.AssetData getAssetData(com.fatwire.assetapi.data.AssetId id,
                                                               String... attributes)
Return the AssetData for the specified asset

Parameters:
id -
attributes -
Returns:
asset data

getAssetData

public static com.fatwire.assetapi.data.AssetData getAssetData(COM.FutureTense.Interfaces.ICS ics,
                                                               com.fatwire.assetapi.data.AssetId id,
                                                               String... attributes)
Return the AssetData for the specified asset

Parameters:
id -
attributes -
Returns:
asset data

getCurrentAssetData

public static com.fatwire.assetapi.data.AssetData getCurrentAssetData(COM.FutureTense.Interfaces.ICS ics,
                                                                      String... attributes)
This is a convenience method to read AssetData for the current c/cid asset on the ics scope.

Parameters:
ics -
attributes -
Returns:
asset data

getCurrentAssetData

public static com.fatwire.assetapi.data.AssetData getCurrentAssetData(COM.FutureTense.Interfaces.ICS ics)
This is a convenience method to read AssetData for the current c/cid asset on the ics scope.

Parameters:
ics -
Returns:
asset data


Copyright © 2010-2013 Oracle Corporation. All Rights Reserved.