public abstract class SitePlanNavService extends Object implements NavService<AssetNode,com.fatwire.assetapi.data.AssetId,com.fatwire.assetapi.data.AssetId>
| Constructor and Description |
|---|
SitePlanNavService(COM.FutureTense.Interfaces.ICS ics) |
| Modifier and Type | Method and Description |
|---|---|
protected List<AssetNode> |
chooseBreadcrumb(Collection<List<AssetNode>> options)
Pick which breadcrumb to return if more than one path has been found.
|
List<AssetNode> |
getBreadcrumb(com.fatwire.assetapi.data.AssetId id)
Return the preferred breadcrumb path from the root of the site to the object specified.
|
protected List<AssetNode> |
getBreadcrumbForNode(AssetNode node)
Get the breadcrumb corresponding to the specified node.
|
List<AssetNode> |
getNav(com.fatwire.assetapi.data.AssetId sitePlan)
Returns the nodes corresponding to the nav structure specified.
|
protected abstract TemplateAsset |
getNodeData(com.fatwire.assetapi.data.AssetId id)
Method to retrieve data that will be loaded into a node.
|
public List<AssetNode> getNav(com.fatwire.assetapi.data.AssetId sitePlan)
NavServicegetNav in interface NavService<AssetNode,com.fatwire.assetapi.data.AssetId,com.fatwire.assetapi.data.AssetId>sitePlan - an identifier that specifies which nav structure should be loaded.protected abstract TemplateAsset getNodeData(com.fatwire.assetapi.data.AssetId id)
id - asset ID to loadpublic List<AssetNode> getBreadcrumb(com.fatwire.assetapi.data.AssetId id)
NavServicegetBreadcrumb in interface NavService<AssetNode,com.fatwire.assetapi.data.AssetId,com.fatwire.assetapi.data.AssetId>id - object participating in the navigation structureprotected List<AssetNode> getBreadcrumbForNode(AssetNode node)
node - the node whose breadcrumb needs to be calculatedprotected List<AssetNode> chooseBreadcrumb(Collection<List<AssetNode>> options)
options - candidate breadcrumbsCopyright © 2010–2016. All rights reserved.