com.cassinidivision.oce.navigation
Class C_Feature_NavigationHelper

java.lang.Object
  extended bycom.cassinidivision.oce.navigation.C_Feature_NavigationHelper

public class C_Feature_NavigationHelper
extends Object

Static helper class providing navigation-specific functionality for features.


Constructor Summary
C_Feature_NavigationHelper()
           
 
Method Summary
static N_Section nearestSectionInSiteToSectionForFeature(N_WebSite currentSite, N_Section currentSection, C_Feature aFeature)
          Locates the closest section to the given site/section which is deemed a legal location for the given feature.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

C_Feature_NavigationHelper

public C_Feature_NavigationHelper()
Method Detail

nearestSectionInSiteToSectionForFeature

public static N_Section nearestSectionInSiteToSectionForFeature(N_WebSite currentSite,
                                                                N_Section currentSection,
                                                                C_Feature aFeature)
Locates the closest section to the given site/section which is deemed a legal location for the given feature.

In other words, the nearest site or section will be returned for where a valid metasection relationship exists.

This method is used to uncover the destination URL for a C_ContentHyperlink. The purpose of the metasection system is to manipulate the results of this method and hence decide which sections certain features will appear in when linked with a C_ContentHyperlink instance.

Parameters:
currentSite - The site to search for a closest section
currentSection - The section to start the search from
aFeature - The feature for which to find a home
Returns:
The section to use for rendering this feature