{ } }
Tree 
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES   SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

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(HttpServletRequest aRequest, HttpServletResponse aResponse)
          Deprecated. Returns the MappingURLTreeModel applicable in the context of the current request and response
 

Method Detail

getMappingURLTreeModel

MappingURLTreeModel getMappingURLTreeModel(HttpServletRequest aRequest,
                                           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
Tree 
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES   SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD