com.fatwire.gst.foundation.facade.runtag.siteplan
Class NodePath
java.lang.Object
com.fatwire.gst.foundation.facade.FTValListFacade
com.fatwire.gst.foundation.facade.runtag.AbstractTagRunner
com.fatwire.gst.foundation.facade.runtag.siteplan.NodePath
- All Implemented Interfaces:
- TagRunner
public class NodePath
- extends AbstractTagRunner
- Since:
- Sep 28, 2008
- Author:
- Tony Field
Method Summary |
static COM.FutureTense.Interfaces.IList |
getNodePathForPage(COM.FutureTense.Interfaces.ICS ics,
com.fatwire.assetapi.data.AssetId page)
Compute and return the nodepath for the specified input asset. |
static COM.FutureTense.Interfaces.IList |
getNodePathForPage(COM.FutureTense.Interfaces.ICS ics,
long p)
Compute and return the nodepath for the specified input asset. |
static COM.FutureTense.Interfaces.IList |
getNodePathForPage(COM.FutureTense.Interfaces.ICS ics,
String p)
Compute and return the nodepath for the specified input asset. |
static com.fatwire.assetapi.data.AssetId |
getParentPage(COM.FutureTense.Interfaces.ICS ics,
long p)
Get the parent page in the site plan tree of the specified page. |
void |
setList(String listName)
|
void |
setName(String name)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodePath
public NodePath()
setName
public void setName(String name)
setList
public void setList(String listName)
getNodePathForPage
public static COM.FutureTense.Interfaces.IList getNodePathForPage(COM.FutureTense.Interfaces.ICS ics,
String p)
- Compute and return the nodepath for the specified input asset. The
returned list is in the same order and format as that returned by the
siteplan.nodepath tag.
- Parameters:
ics
- contextp
- page asset ID
- Returns:
- nodepath IList. Includes publication at root.
getNodePathForPage
public static COM.FutureTense.Interfaces.IList getNodePathForPage(COM.FutureTense.Interfaces.ICS ics,
com.fatwire.assetapi.data.AssetId page)
- Compute and return the nodepath for the specified input asset. The
returned list is in the same order and format as that returned by the
siteplan.nodepath tag.
- Parameters:
ics
- contextpage
- page asset ID
- Returns:
- nodepath IList. Includes publication at root.
getParentPage
public static com.fatwire.assetapi.data.AssetId getParentPage(COM.FutureTense.Interfaces.ICS ics,
long p)
- Get the parent page in the site plan tree of the specified page. If the
page cannot be located in the site plan tree, an exception is thrown. If
the page has no parents in the site plan tree, an exception is thrown.
- Parameters:
ics
- ICS contextp
- ID of page asset to inspect
- Returns:
- ID of parent page, never null.
getNodePathForPage
public static COM.FutureTense.Interfaces.IList getNodePathForPage(COM.FutureTense.Interfaces.ICS ics,
long p)
- Compute and return the nodepath for the specified input asset. The
returned list is in the same order and format as that returned by the
siteplan.nodepath tag.
- Parameters:
ics
- contextp
- page asset ID
- Returns:
- nodepath IList. Includes publication at root.
Copyright © 2010-2013 Oracle Corporation. All Rights Reserved.