NavigationService
public abstract class AbstractNavigationHelper extends Object
Modifier and Type | Field and Description |
---|---|
protected AliasCoreFieldDao |
aliasDao
Deprecated.
Local instance of the AliasCoreFieldDao.
|
protected Date |
assetEffectiveDate
Deprecated.
Effective date for the purposes of startdate/enddate comparisons for an
asset.
|
protected TemplateAssetAccess |
assetTemplate
Deprecated.
|
String |
GST_ALIAS_TYPE
Deprecated.
Constant containing the asset type of the GST Alias asset.
|
protected COM.FutureTense.Interfaces.ICS |
ics
Deprecated.
ICS context
|
protected static org.apache.commons.logging.Log |
LOG
Deprecated.
Log file
|
static String |
NAVBAR_LINK
Deprecated.
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
Deprecated.
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.
|
protected WraCoreFieldDao |
wraDao
Deprecated.
Local instance of the WraCoreFieldDao, pre-instantiated and ready to go
|
Constructor and Description |
---|
AbstractNavigationHelper(COM.FutureTense.Interfaces.ICS ics)
Deprecated.
|
AbstractNavigationHelper(COM.FutureTense.Interfaces.ICS ics,
TemplateAssetAccess assetTemplate,
WraCoreFieldDao wraDao,
AliasCoreFieldDao aliasDao)
Deprecated.
Constructor with all the dependencies listed.
|
Modifier and Type | Method and Description |
---|---|
long |
findP(String site_name,
com.fatwire.assetapi.data.AssetId wraAssetId)
Deprecated.
Locate the page that contains the specified Web-Referenceable Asset.
|
NavigationNode |
getSitePlan(com.fatwire.assetapi.data.AssetId pageid)
Deprecated.
Get the NavNode for the current page with unlimited depth.
|
NavigationNode |
getSitePlan(int depth,
com.fatwire.assetapi.data.AssetId pageid)
Deprecated.
Retrieves the NavNode for the given Page with the provided id.
|
NavigationNode |
getSitePlan(int depth,
com.fatwire.assetapi.data.AssetId pageid,
com.fatwire.mda.DimensionFilterInstance dimensionFilter)
Deprecated.
Retrieves the NavNode for the given Page with the provided id.
|
protected abstract NavigationNode |
getSitePlan(int depth,
com.fatwire.assetapi.data.AssetId pageId,
int level,
com.fatwire.mda.DimensionFilterInstance dimensionFilter)
Deprecated.
|
NavigationNode |
getSitePlan(String pageid)
Deprecated.
Retrieves the NavNode for the given Page with the provided id.
|
NavigationNode |
getSitePlanByPage(int depth,
String name)
Deprecated.
Retrieves the NavNode for the given Page with the provided name.
|
NavigationNode |
getSitePlanByPage(int depth,
String name,
com.fatwire.mda.DimensionFilterInstance dimensionFilter)
Deprecated.
Retrieves the NavNode for the given Page with the provided name.
|
NavigationNode |
getSitePlanByPage(int depth,
String name,
String sitename)
Deprecated.
Retrieves the NavNode for the given Page with the provided name.
|
NavigationNode |
getSitePlanByPage(int depth,
String name,
String sitename,
com.fatwire.mda.DimensionFilterInstance dimensionFilter)
Deprecated.
Retrieves the NavNode for the given Page with the provided name.
|
NavigationNode |
getSitePlanByPage(String name)
Deprecated.
|
protected boolean |
isGstAlias(com.fatwire.assetapi.data.AssetId id)
Deprecated.
Return true if the asset type is a GSTAlias asset type.
|
protected final COM.FutureTense.Interfaces.ICS ics
protected final TemplateAssetAccess assetTemplate
protected final WraCoreFieldDao wraDao
protected final AliasCoreFieldDao aliasDao
protected static final org.apache.commons.logging.Log LOG
protected final Date assetEffectiveDate
public static final String NAVBAR_NAME
public static final String NAVBAR_LINK
public final String GST_ALIAS_TYPE
public AbstractNavigationHelper(COM.FutureTense.Interfaces.ICS ics)
public AbstractNavigationHelper(COM.FutureTense.Interfaces.ICS ics, TemplateAssetAccess assetTemplate, WraCoreFieldDao wraDao, AliasCoreFieldDao aliasDao)
ics
- assetTemplate
- wraDao
- aliasDao
- protected abstract NavigationNode getSitePlan(int depth, com.fatwire.assetapi.data.AssetId pageId, int level, com.fatwire.mda.DimensionFilterInstance dimensionFilter)
public NavigationNode getSitePlanByPage(String name)
name
- the name of the Page assetpublic NavigationNode getSitePlanByPage(int depth, String name)
depth
- the maximum depth to retrieve, -1 for no limit.name
- the name of the Page assetpublic NavigationNode getSitePlanByPage(int depth, String name, com.fatwire.mda.DimensionFilterInstance dimensionFilter)
depth
- the maximum depth to retrieve, -1 for no limit.name
- the name of the Page assetdimensionFilter
- in order to translate the output.public NavigationNode getSitePlanByPage(int depth, String name, String sitename)
depth
- the maximum depth to retrieve, -1 for no limit.name
- the name of the Page assetsitename
- the name of the site you want the navigation for.public NavigationNode getSitePlanByPage(int depth, String name, String sitename, com.fatwire.mda.DimensionFilterInstance dimensionFilter)
depth
- the maximum depth to retrieve, -1 for no limit.name
- the name of the Page assetsitename
- the name of the site you want the navigation for.dimensionFilter
- in order to translate the output.public NavigationNode getSitePlan(String pageid)
pageid
- the assetid of the Page asset.public NavigationNode getSitePlan(com.fatwire.assetapi.data.AssetId pageid)
pageid
- public NavigationNode getSitePlan(int depth, com.fatwire.assetapi.data.AssetId pageid)
depth
- the maximum depth to retrieve, -1 for no limit.pageid
- the AssetId for the pagepublic NavigationNode getSitePlan(int depth, com.fatwire.assetapi.data.AssetId pageid, com.fatwire.mda.DimensionFilterInstance dimensionFilter)
depth
- the maximum depth to retrieve, -1 for no limit.pageid
- the AssetId for the pagedimensionFilter
- in order to translate the output.protected boolean isGstAlias(com.fatwire.assetapi.data.AssetId id)
id
- asset for which a link is requiredpublic long findP(String site_name, com.fatwire.assetapi.data.AssetId wraAssetId)
site_name
- name of the site to search withinwraAssetId
- the asset id of the web-referenceable assetCopyright © 2010-2016 Oracle Corporation. All Rights Reserved.