com.fatwire.gst.foundation.facade.runtag.asset
Class Children

java.lang.Object
  extended by com.fatwire.gst.foundation.facade.FTValListFacade
      extended by com.fatwire.gst.foundation.facade.runtag.AbstractTagRunner
          extended by com.fatwire.gst.foundation.facade.runtag.asset.Children
All Implemented Interfaces:
TagRunner

public class Children
extends AbstractTagRunner

AssetChildren

Since:
Sep 28, 2008
Author:
Tony Field

Field Summary
 
Fields inherited from class com.fatwire.gst.foundation.facade.FTValListFacade
list
 
Constructor Summary
Children()
           
 
Method Summary
static List<com.fatwire.assetapi.data.AssetId> getMultivaluedAssociation(COM.FutureTense.Interfaces.ICS ics, String c, String cid, String code)
          Look up the multi-valued named association for a specified asset.
static List<com.fatwire.assetapi.data.AssetId> getOptionalMultivaluedAssociation(COM.FutureTense.Interfaces.ICS ics, String c, String cid, String code)
          Look up the multi-valued named association for a specified asset.
static com.fatwire.assetapi.data.AssetId getOptionalSingleAssociation(COM.FutureTense.Interfaces.ICS ics, String c, String cid, String code)
          Look up the single valued named association for a specified asset.
static com.fatwire.assetapi.data.AssetId getSingleAssociation(COM.FutureTense.Interfaces.ICS ics, String c, String cid, String code)
          Look up the single valued named association for a specified asset.
protected  void handleError(COM.FutureTense.Interfaces.ICS ics)
          default error handling method.
 void setAssetId(String parentId)
           
 void setCode(String code)
           
 void setList(String list)
           
 void setName(String name)
           
 void setObjectId(String oid)
           
 void setObjectType(String otype)
           
 void setOrder(String order)
           
 void setType(String type)
           
 
Methods inherited from class com.fatwire.gst.foundation.facade.runtag.AbstractTagRunner
bind, execute, postExecute, preExecute
 
Methods inherited from class com.fatwire.gst.foundation.facade.FTValListFacade
getList, set, set, set, set, set, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Children

public Children()
Method Detail

setName

public void setName(String name)

setType

public void setType(String type)

setAssetId

public void setAssetId(String parentId)

setList

public void setList(String list)

setCode

public void setCode(String code)

setObjectType

public void setObjectType(String otype)

setObjectId

public void setObjectId(String oid)

setOrder

public void setOrder(String order)

handleError

protected void handleError(COM.FutureTense.Interfaces.ICS ics)
Description copied from class: AbstractTagRunner
default error handling method. This implemetation throws an TagRunnerRuntimeException.

subclasses can override

Overrides:
handleError in class AbstractTagRunner
See Also:
TagRunnerRuntimeException

getSingleAssociation

public static com.fatwire.assetapi.data.AssetId getSingleAssociation(COM.FutureTense.Interfaces.ICS ics,
                                                                     String c,
                                                                     String cid,
                                                                     String code)
Look up the single valued named association for a specified asset. If no associated asset is found an exception is thrown.

Parameters:
ics - context
c - asset type
cid - asset id
code - association name
Returns:
id of the associated asset

getOptionalSingleAssociation

public static com.fatwire.assetapi.data.AssetId getOptionalSingleAssociation(COM.FutureTense.Interfaces.ICS ics,
                                                                             String c,
                                                                             String cid,
                                                                             String code)
Look up the single valued named association for a specified asset. If no associated asset is found null is returned

Parameters:
ics - context
c - asset type
cid - asset id
code - association name
Returns:
id of the associated asset

getOptionalMultivaluedAssociation

public static List<com.fatwire.assetapi.data.AssetId> getOptionalMultivaluedAssociation(COM.FutureTense.Interfaces.ICS ics,
                                                                                        String c,
                                                                                        String cid,
                                                                                        String code)
Look up the multi-valued named association for a specified asset. If no associated asset is found an empty list is returned.

Parameters:
ics - context
c - asset type
cid - asset id
code - association name
Returns:
ids of the associated asset

getMultivaluedAssociation

public static List<com.fatwire.assetapi.data.AssetId> getMultivaluedAssociation(COM.FutureTense.Interfaces.ICS ics,
                                                                                String c,
                                                                                String cid,
                                                                                String code)
Look up the multi-valued named association for a specified asset. If no associated asset is found an exception is thrown.

Parameters:
ics - context
c - asset type
cid - asset id
code - association name
Returns:
ids of the associated asset


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