com.cassinidivision.oce.navigation
Class N_NavigationUtilities

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

public class N_NavigationUtilities
extends Object

Static helper class for mapping between C_Feature objects and URLs.


Constructor Summary
N_NavigationUtilities()
           
 
Method Summary
static C_Feature featureForIndexUrlEO(EOEnterpriseObject anIndexUrlEO)
          Given an enterprise object implementing the "indexURL" key, uses the URL value retrieved to fetch the corresponding feature.
static void setFeatureForIndexUrlEO(C_Feature aFeature, EOEnterpriseObject anIndexUrlEO)
          Given a feature and an enterprise object with the "indexURL" key, sets the indexURL to the URL of the given feature.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

N_NavigationUtilities

public N_NavigationUtilities()
Method Detail

featureForIndexUrlEO

public static C_Feature featureForIndexUrlEO(EOEnterpriseObject anIndexUrlEO)
Given an enterprise object implementing the "indexURL" key, uses the URL value retrieved to fetch the corresponding feature.

Parameters:
anIndexUrlEO - The EO with the "indexURL" key
Returns:
The feature at that URL

setFeatureForIndexUrlEO

public static void setFeatureForIndexUrlEO(C_Feature aFeature,
                                           EOEnterpriseObject anIndexUrlEO)
Given a feature and an enterprise object with the "indexURL" key, sets the indexURL to the URL of the given feature.

Parameters:
aFeature - The feature for which to calculate the URL
anIndexUrlEO - The EO into which the calculated URL will be pushed