com.ibm.portal.cor.service
Interface NavigationModelProvider
-
public interface NavigationModelProvider
An interface for a provider of content models.
javax.naming.Context ctx = new InitialContext();
NavigationModelHome home = (NavigationModelHome) ctx.lookup(NavigationModelHome.JNDI_NAME);
if (home != null) {
NavigationModel model = home.getNavigationModelProvider().getNavigationModel(aCtx);
...
}
- Since:
- 6.1.0.1
Method Summary
|
|
getNavigationModel(Context aCtx)
Return the navigation model applicable in the COR context request. |
getNavigationModel
<T extends NavigationNode> NavigationModel<T> getNavigationModel(Context aCtx)
throws ModelException
- Returns the navigation model applicable in the COR context request.
- Parameters:
- aCtx - the COR context
- Returns:
- the navigation model valid in the current context
- Throws:
- ModelException - in case the model cannot be obtained