com.ibm.portal.model
Interface NavigationSelectionModelProvider


public interface NavigationSelectionModelProvider

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

Since:
5.1.0.1

Method Summary
 NavigationSelectionModel getNavigationSelectionModel(javax.servlet.ServletRequest aRequest, javax.servlet.ServletResponse aResponse)
          Returns the navigation selection model applicable in the current request.
 

Method Detail

getNavigationSelectionModel

NavigationSelectionModel getNavigationSelectionModel(javax.servlet.ServletRequest aRequest,
                                                     javax.servlet.ServletResponse aResponse)
                                                     throws ModelException
Returns the navigation selection model applicable in the current request.

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