|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MappingURLTreeModelProvider
An interface for a provider of content models.
javax.naming.Context ctx = new javax.naming.InitialContext();
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.
MappingURLTreeModelHome home = (MappingURLTreeModelHome) ctx.lookup(MappingURLTreeModelHome.JNDI_NAME);
if (home != null) {
MappingURLTreeModel model = home.getMappingURLTreeModelProvider().getMappingURLTreeModel(request,response);
...
}
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 |
|---|
MappingURLTreeModel getMappingURLTreeModel(javax.servlet.http.HttpServletRequest aRequest,
javax.servlet.http.HttpServletResponse aResponse)
throws ModelException
MappingURLTreeModel applicable in the context of the
current request and response
aRequest - the current requestaResponse - the current response
MappingURLTreeModel valid in the current context
ModelException - in case the model cannot be obtained
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||