|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortletModelControllerProvider
Provider interface for portlet model controllers. 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.
Method Summary | |
---|---|
AdminPortletModelController |
createPortletModelController(AdminPortletModel adminPortletModel)
Creates an admin portlet model controller for the specified admin portlet model. |
PortletModelController |
createPortletModelController(ContentPage aPage,
javax.servlet.http.HttpServletRequest aRequest,
javax.servlet.http.HttpServletResponse aResponse)
Creates a portlet model controller applicable to the portlet model of the current request and the given page. |
PortletModelController |
createPortletModelController(PortletModel portletModel)
Creates a portlet model controller for the specified portlet model. |
Method Detail |
---|
PortletModelController createPortletModelController(PortletModel portletModel) throws CannotInstantiateControllerException
portletModel
- the portlet model to get a controller for; the lifetime of the
controller must not exceed the lifetime of the given portlet
model.
CannotInstantiateControllerException
- if the portlet model controller cannot be instantiatedPortletModelController createPortletModelController(ContentPage aPage, javax.servlet.http.HttpServletRequest aRequest, javax.servlet.http.HttpServletResponse aResponse) throws CannotInstantiateControllerException
aPage
- the page the portlet model should be obtained for.aRequest
- the current requestaResponse
- the current response
CannotInstantiateControllerException
- if the portlet model controller cannot be instantiatedAdminPortletModelController createPortletModelController(AdminPortletModel adminPortletModel) throws CannotInstantiateControllerException
adminPortletModel
- the admin portlet model to get a controller for; the lifetime
of the controller must not exceed the lifetime of the given
portlet model.
CannotInstantiateControllerException
- if the admin portlet model controller cannot be instantiated
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |