com.ibm.portal.cor.service
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:
- 6.1.0.1
getNavigationSelectionModel
<T extends NavigationNode> NavigationSelectionModel<T> getNavigationSelectionModel(Context aCtx)
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