public abstract class AbstractNavigationService extends Object implements NavigationService
Modifier and Type | Field and Description |
---|---|
protected TemplateAssetAccess |
assetTemplate
Deprecated.
|
protected COM.FutureTense.Interfaces.ICS |
ics
Deprecated.
|
protected String |
linkLabelAttribute
Deprecated.
|
protected String |
pathAttribute
Deprecated.
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractNavigationService(COM.FutureTense.Interfaces.ICS ics)
Deprecated.
|
protected |
AbstractNavigationService(COM.FutureTense.Interfaces.ICS ics,
TemplateAssetAccess assetTemplate)
Deprecated.
|
protected |
AbstractNavigationService(COM.FutureTense.Interfaces.ICS ics,
TemplateAssetAccess assetTemplate,
String linkLabelAttribute,
String pathAttribute)
Deprecated.
Constructor that sets the linkLabel and path attributes.
|
Modifier and Type | Method and Description |
---|---|
String |
getLinkLabelAttribute()
Deprecated.
|
protected abstract NavigationNode |
getNode(Row row,
int level,
int depth,
String linkAttribute)
Deprecated.
|
NavigationNode |
getNodeByName(String pagename,
int depth)
Deprecated.
|
NavigationNode |
getNodeByName(String pagename,
int depth,
String linkAttribute)
Deprecated.
Retrieves the NavigationNodes for the Page with the name
pagename and in the current site.
|
NavigationNode |
getNodeByName(String site,
String pagename,
int depth)
Deprecated.
|
NavigationNode |
getNodeByName(String site,
String pagename,
int depth,
String linkAttribute)
Deprecated.
|
NavigationNode |
getNodeByQuery(com.fatwire.assetapi.query.Query query,
int depth,
String linkAttribute)
Deprecated.
|
protected abstract Collection<NavigationNode> |
getNodeChildren(long nodeId,
int level,
int depth,
String linkAttribute)
Deprecated.
List all the child NavigationNode at this SitePlanTree nodeId.
|
String |
getPathAttribute()
Deprecated.
|
Collection<NavigationNode> |
getRootNodesForSite(int depth)
Deprecated.
|
Collection<NavigationNode> |
getRootNodesForSite(String site)
Deprecated.
|
Collection<NavigationNode> |
getRootNodesForSite(String site,
int depth)
Deprecated.
|
Collection<NavigationNode> |
getRootNodesForSite(String site,
int depth,
String linkAttribute)
Deprecated.
|
void |
setLinkLabelAttribute(String linkLabelAttribute)
Deprecated.
|
void |
setPathAttribute(String pathAttribute)
Deprecated.
|
protected final COM.FutureTense.Interfaces.ICS ics
protected final TemplateAssetAccess assetTemplate
protected String linkLabelAttribute
protected String pathAttribute
protected AbstractNavigationService(COM.FutureTense.Interfaces.ICS ics)
protected AbstractNavigationService(COM.FutureTense.Interfaces.ICS ics, TemplateAssetAccess assetTemplate)
protected AbstractNavigationService(COM.FutureTense.Interfaces.ICS ics, TemplateAssetAccess assetTemplate, String linkLabelAttribute, String pathAttribute)
ics
- Content Server context objectassetTemplate
- template asset accesslinkLabelAttribute
- link label attribute stringpathAttribute
- path attribute stringpublic Collection<NavigationNode> getRootNodesForSite(String site)
site
- site to run process overpublic Collection<NavigationNode> getRootNodesForSite(int depth)
getRootNodesForSite
in interface NavigationService
depth
- the maximum number of levels to retrievepublic Collection<NavigationNode> getRootNodesForSite(String site, int depth)
getRootNodesForSite
in interface NavigationService
site
- name of the sitedepth
- the maximum number of levels to retrievepublic NavigationNode getNodeByName(String site, String pagename, int depth)
getNodeByName
in interface NavigationService
site
- name of the sitepagename
- the name of the Page assetdepth
- the maximum number of levels to retrievepublic NavigationNode getNodeByName(String pagename, int depth, String linkAttribute)
NavigationService
getNodeByName
in interface NavigationService
pagename
- the name of the Page assetdepth
- the maximum number of levels to retrievelinkAttribute
- link attribute stringpublic NavigationNode getNodeByName(String pagename, int depth)
getNodeByName
in interface NavigationService
pagename
- the name of the Page assetdepth
- the maximum number of levels to retreivepublic Collection<NavigationNode> getRootNodesForSite(String site, int depth, String linkAttribute)
getRootNodesForSite
in interface NavigationService
site
- site to run process overdepth
- depth to returnlinkAttribute
- link attributepublic NavigationNode getNodeByName(String site, String pagename, int depth, String linkAttribute)
getNodeByName
in interface NavigationService
site
- name of the sitepagename
- the name of the Page assetdepth
- the maximum number of levels to retrievelinkAttribute
- link attribute stringpublic NavigationNode getNodeByQuery(com.fatwire.assetapi.query.Query query, int depth, String linkAttribute)
getNodeByQuery
in interface NavigationService
query
- the asset query, needs to return Page assetsdepth
- the maximum number of levels to retrievelinkAttribute
- link attribute stringprotected abstract Collection<NavigationNode> getNodeChildren(long nodeId, int level, int depth, String linkAttribute)
nodeId
- the nodeId from the SitePlanTreelevel
- the tree level depthdepth
- the maximum depthlinkAttribute
- the attribute to use for the link textprotected abstract NavigationNode getNode(Row row, int level, int depth, String linkAttribute)
row
- the resultlist containing nid/oid/otypelevel
- the current leveldepth
- the maximum depthlinkAttribute
- the attribute for the link text.public String getLinkLabelAttribute()
public void setLinkLabelAttribute(String linkLabelAttribute)
linkLabelAttribute
- string value of link label attributepublic String getPathAttribute()
public void setPathAttribute(String pathAttribute)
pathAttribute
- path attribute stringCopyright © 2010–2017. All rights reserved.