public class WraNavigationService extends AbstractNavigationService implements NavigationService
| Modifier and Type | Field and Description |
|---|---|
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.
|
assetTemplate, ics, linkLabelAttribute, pathAttribute| Constructor and Description |
|---|
WraNavigationService(COM.FutureTense.Interfaces.ICS ics,
TemplateAssetAccess assetTemplate,
AliasCoreFieldDao aliasDao,
com.fatwire.mda.DimensionFilterInstance dimensionFilter,
Date previewDate) |
| 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
|
protected boolean |
isGstAlias(com.fatwire.assetapi.data.AssetId id)
Return true if the asset type is a GSTAlias asset type.
|
getLinkLabelAttribute, getNodeByName, getNodeByName, getNodeByName, getNodeByName, getNodeByQuery, getPathAttribute, getRootNodesForSite, getRootNodesForSite, getRootNodesForSite, getRootNodesForSite, setLinkLabelAttribute, setPathAttributeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNodeByName, getNodeByName, getNodeByName, getNodeByName, getNodeByQuery, getRootNodesForSite, getRootNodesForSite, getRootNodesForSitepublic 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
public WraNavigationService(COM.FutureTense.Interfaces.ICS ics,
TemplateAssetAccess assetTemplate,
AliasCoreFieldDao aliasDao,
com.fatwire.mda.DimensionFilterInstance dimensionFilter,
Date previewDate)
protected NavigationNode getNode(Row row, int level, int depth, String linkAttribute)
getNode in class AbstractNavigationServicerow - 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)
AbstractNavigationServicegetNodeChildren in class AbstractNavigationServicenodeId - 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 - protected boolean isGstAlias(com.fatwire.assetapi.data.AssetId id)
id - asset for which a link is requiredCopyright © 2010-2016 Oracle Corporation. All Rights Reserved.