public class SimpleNavigationHelper extends AbstractNavigationService implements NavigationService
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
LOG |
assetTemplate, ics, linkLabelAttribute, pathAttribute
Constructor and Description |
---|
SimpleNavigationHelper(COM.FutureTense.Interfaces.ICS ics)
Constructor.
|
SimpleNavigationHelper(COM.FutureTense.Interfaces.ICS ics,
TemplateAssetAccess assetTemplate) |
SimpleNavigationHelper(COM.FutureTense.Interfaces.ICS ics,
TemplateAssetAccess assetTemplate,
String linkLabelAttribute,
String pathAttribute) |
Modifier and Type | Method and Description |
---|---|
protected NavigationNode |
getNode(Row row,
int level,
int depth,
String linkAttribute) |
protected Collection<NavigationNode> |
getNodeChildren(long nodeId,
int level,
int depth,
String linkAttribute)
List all the child NavigationNode at this SitePlanTree nodeId.
|
protected String |
getUrl(TemplateAsset asset)
Builds up a URI for this asset, using the pathAttribute and the template
field of the asset
|
getLinkLabelAttribute, getNodeByName, getNodeByName, getNodeByName, getNodeByName, getNodeByQuery, getPathAttribute, getRootNodesForSite, getRootNodesForSite, getRootNodesForSite, getRootNodesForSite, setLinkLabelAttribute, setPathAttribute
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNodeByName, getNodeByName, getNodeByName, getNodeByName, getNodeByQuery, getRootNodesForSite, getRootNodesForSite, getRootNodesForSite
public SimpleNavigationHelper(COM.FutureTense.Interfaces.ICS ics)
ics
- objectpublic SimpleNavigationHelper(COM.FutureTense.Interfaces.ICS ics, TemplateAssetAccess assetTemplate)
ics
- assetTemplate
- public SimpleNavigationHelper(COM.FutureTense.Interfaces.ICS ics, TemplateAssetAccess assetTemplate, String linkLabelAttribute, String pathAttribute)
ics
- assetTemplate
- linkLabelAttribute
- pathAttribute
- protected NavigationNode getNode(Row row, int level, int depth, String linkAttribute)
getNode
in class AbstractNavigationService
row
- the resultlist containing nid/oid/otypelevel
- the current leveldepth
- the maximum depthlinkAttribute
- the attribute for the link text.protected Collection<NavigationNode> getNodeChildren(long nodeId, int level, int depth, String linkAttribute)
AbstractNavigationService
getNodeChildren
in class AbstractNavigationService
nodeId
- the nodeId from the SitePlanTreelevel
- the tree level depthdepth
- the maximum depthlinkAttribute
- the attribute to use for the link textprotected String getUrl(TemplateAsset asset)
asset
- Copyright © 2010-2016 Oracle Corporation. All Rights Reserved.