|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.fatwire.gst.foundation.navigation.support.AbstractNavigationService
com.fatwire.gst.foundation.wra.navigation.WraNavigationService
public class WraNavigationService
Field Summary | |
---|---|
protected AliasCoreFieldDao |
aliasDao
Local instance of the AliasCoreFieldDao. |
protected com.fatwire.mda.DimensionFilterInstance |
dimensionFilter
|
String |
GST_ALIAS_TYPE
Constant containing the asset type of the GST Alias asset. |
static String |
NAVBAR_LINK
Name of the page subtype indicating that this page is a Link, meaning that the content is in the unnamed association |
static String |
NAVBAR_NAME
Name of the page subtype indicating that this page is NOT rendered on the site but is instead merely used to group navigation components on the site. |
Fields inherited from class com.fatwire.gst.foundation.navigation.support.AbstractNavigationService |
---|
assetTemplate, ics, linkLabelAttribute, pathAttribute |
Constructor Summary | |
---|---|
WraNavigationService(COM.FutureTense.Interfaces.ICS ics,
TemplateAssetAccess assetTemplate,
AliasCoreFieldDao aliasDao,
com.fatwire.mda.DimensionFilterInstance dimensionFilter,
Date previewDate)
|
Method Summary | |
---|---|
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 |
protected boolean |
isGstAlias(com.fatwire.assetapi.data.AssetId id)
Return true if the asset type is a GSTAlias asset type. |
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 |
Methods inherited from interface com.fatwire.gst.foundation.navigation.NavigationService |
---|
getNodeByName, getNodeByName, getNodeByName, getNodeByName, getNodeByQuery, getRootNodesForSite, getRootNodesForSite, getRootNodesForSite |
Field Detail |
---|
public static final String NAVBAR_NAME
public static final String NAVBAR_LINK
public final String GST_ALIAS_TYPE
protected final AliasCoreFieldDao aliasDao
protected final com.fatwire.mda.DimensionFilterInstance dimensionFilter
Constructor Detail |
---|
public WraNavigationService(COM.FutureTense.Interfaces.ICS ics, TemplateAssetAccess assetTemplate, AliasCoreFieldDao aliasDao, com.fatwire.mda.DimensionFilterInstance dimensionFilter, Date previewDate)
Method Detail |
---|
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 text
protected String getUrl(TemplateAsset asset)
asset
-
protected boolean isGstAlias(com.fatwire.assetapi.data.AssetId id)
id
- asset for which a link is required
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |