com.fatwire.gst.foundation.facade.runtag.siteplan
Class ListPages

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.siteplan.ListPages
All Implemented Interfaces:
TagRunner

public final class ListPages
extends AbstractTagRunner

List pages in the siteplan. <SITEPLAN.LISTPAGES NAME="thePubNode" PLACEDLIST="placedPages" LEVEL="1"/>

Since:
Jul 14, 2009
Author:
Tony Field

Field Summary
 
Fields inherited from class com.fatwire.gst.foundation.facade.FTValListFacade
list
 
Constructor Summary
ListPages()
           
 
Method Summary
static List<com.fatwire.assetapi.data.AssetId> getChildPages(COM.FutureTense.Interfaces.ICS ics, long p)
          Return the immediate children of the specified page in the site plan tree.
 void setLevel(int level)
           
 void setName(String name)
           
 void setPlacedList(String placedPages)
           
 
Methods inherited from class com.fatwire.gst.foundation.facade.runtag.AbstractTagRunner
bind, execute, handleError, 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

ListPages

public ListPages()
Method Detail

setName

public void setName(String name)

setPlacedList

public void setPlacedList(String placedPages)

setLevel

public void setLevel(int level)

getChildPages

public static List<com.fatwire.assetapi.data.AssetId> getChildPages(COM.FutureTense.Interfaces.ICS ics,
                                                                    long p)
Return the immediate children of the specified page in the site plan tree. If the page is not present in the site plan tree, an exception is thrown. If no child pages are found an empty list is returned.

Parameters:
ics - ICS context
p - ID of the the page whose children will be looked up
Returns:
list of children of the input page, never null


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