com.fatwire.gst.foundation.navigation.support
Class SimpleNavigationHelper
java.lang.Object
com.fatwire.gst.foundation.navigation.support.AbstractNavigationService
com.fatwire.gst.foundation.navigation.support.SimpleNavigationHelper
- All Implemented Interfaces:
- NavigationService
public class SimpleNavigationHelper
- extends AbstractNavigationService
- implements NavigationService
To retrieve the Navigation Bar data.
- Since:
- August 31,2012
- Author:
- Dolf Dijkstra
Field Summary |
protected static org.apache.commons.logging.Log |
LOG
|
Methods inherited from class com.fatwire.gst.foundation.navigation.support.AbstractNavigationService |
getLinkLabelAttribute, getNodeByName, getNodeByName, getNodeByName, getNodeByName, getNodeByQuery, getPathAttribute, getRootNodesForSite, getRootNodesForSite, getRootNodesForSite, getRootNodesForSite, setLinkLabelAttribute, setPathAttribute |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
protected static final org.apache.commons.logging.Log LOG
SimpleNavigationHelper
public SimpleNavigationHelper(COM.FutureTense.Interfaces.ICS ics)
- Constructor.
- Parameters:
ics
- object
SimpleNavigationHelper
public SimpleNavigationHelper(COM.FutureTense.Interfaces.ICS ics,
TemplateAssetAccess assetTemplate)
- Parameters:
ics
- assetTemplate
-
SimpleNavigationHelper
public SimpleNavigationHelper(COM.FutureTense.Interfaces.ICS ics,
TemplateAssetAccess assetTemplate,
String linkLabelAttribute,
String pathAttribute)
- Parameters:
ics
- assetTemplate
- linkLabelAttribute
- pathAttribute
-
getNode
protected NavigationNode getNode(Row row,
int level,
int depth,
String linkAttribute)
- Specified by:
getNode
in class AbstractNavigationService
- Parameters:
row
- the resultlist containing nid/oid/otypelevel
- the current leveldepth
- the maximum depthlinkAttribute
- the attribute for the link text.
- Returns:
- the NavigationNode
getNodeChildren
protected Collection<NavigationNode> getNodeChildren(long nodeId,
int level,
int depth,
String linkAttribute)
- Description copied from class:
AbstractNavigationService
- List all the child NavigationNode at this SitePlanTree nodeId.
- Specified by:
getNodeChildren
in class AbstractNavigationService
- Parameters:
nodeId
- the nodeId from the SitePlanTreelevel
- the tree level depthdepth
- the maximum depthlinkAttribute
- the attribute to use for the link text
- Returns:
getUrl
protected String getUrl(TemplateAsset asset)
- Builds up a URI for this asset, using the pathAttribute and the template
field of the asset
- Parameters:
asset
-
- Returns:
- the uri, xml escaped
Copyright © 2010-2013 Oracle Corporation. All Rights Reserved.