com.ibm.portal.model
Interface NavigationModelProvider


public interface NavigationModelProvider

An interface for a provider of navigation models. Context ctx = new InitialContext();
NavigationModelHome home = (NavigationModelHome) ctx.lookup("portal:service/model/NavigationModel");
if (home != null) {
NavigationModel model = home.getNavigationModelProvider().getNavigationModel(aRequest, aResponse);
...
}

Since:
5.1.0.1

Method Summary
<T extends java.lang.Object & NavigationNode>
NavigationModel<T>
getNavigationModel(ServletRequest aRequest, ServletResponse aResponse)
          Returns the navigation model applicable in the current request.
 

Method Detail

getNavigationModel

<T extends java.lang.Object & NavigationNode> NavigationModel<T> getNavigationModel(ServletRequest aRequest,
                                                                                   ServletResponse aResponse)
                                                                               throws ModelException
Returns the navigation model applicable in the current request.

Parameters:
aRequest - the current request
aResponse - the current response
Returns:
the navigation model valid in the current request
Throws:
ModelException - in case the model cannot be obtained