com.ibm.portal.model
Interface MappingURLTreeModelProvider


Deprecated. Use com.ibm.portal.model.VanityURLModelProvider

public interface MappingURLTreeModelProvider

An interface for a provider of content models. javax.naming.Context ctx = new javax.naming.InitialContext();
MappingURLTreeModelHome home = (MappingURLTreeModelHome) ctx.lookup(MappingURLTreeModelHome.JNDI_NAME);
if (home != null) {
MappingURLTreeModel model = home.getMappingURLTreeModelProvider().getMappingURLTreeModel(request,response);
...
}
NOTE: This API may only be used in the scope of an HTTP request in WebSphere Portal, i.e. within a theme. The API can not be invoked directly by a custom servlet.

Since:
8.0
See Also:
MappingURLTreeModelHome

Method Summary
 MappingURLTreeModel getMappingURLTreeModel(javax.servlet.http.HttpServletRequest aRequest, javax.servlet.http.HttpServletResponse aResponse)
          Deprecated. Returns the MappingURLTreeModel applicable in the context of the current request and response
 

Method Detail

getMappingURLTreeModel

MappingURLTreeModel getMappingURLTreeModel(javax.servlet.http.HttpServletRequest aRequest,
                                           javax.servlet.http.HttpServletResponse aResponse)
                                           throws ModelException
Deprecated. 
Returns the MappingURLTreeModel applicable in the context of the current request and response

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