|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentModelControllerProvider
Provider interface for content 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 | ||
---|---|---|
|
createContentModelController(ContentModel contentModel)
Creates a content model controller for the specified content model. |
|
|
createContentModelController(javax.servlet.http.HttpServletRequest aRequest,
javax.servlet.http.HttpServletResponse aResponse)
Creates a content model controller for the content model implied through the given servlet request and servlet response. |
|
|
createContentModelController(javax.portlet.PortletRequest aRequest,
javax.portlet.PortletResponse aResponse)
Creates a content model controller for the content model implied through the given portlet request and portlet response. |
|
|
createContentModelControllerForIBMPortlets(org.apache.jetspeed.portlet.PortletRequest aRequest,
org.apache.jetspeed.portlet.PortletResponse aResponse)
Creates a content model controller for the content model implied through the given legacy portlet request and portlet response. |
Method Detail |
---|
<T extends ContentNode,M extends ModifiableContentNode> ContentModelController<T,M> createContentModelController(ContentModel contentModel) throws CannotInstantiateControllerException
contentModel
- the content model to get a controller for; the lifetime of the
controller must not exceed the lifetime of the given content
model, must not be null
.
CannotInstantiateControllerException
- if the content model controller cannot be instantiated<T extends ContentNode,M extends ModifiableContentNode> ContentModelController<T,M> createContentModelController(javax.servlet.http.HttpServletRequest aRequest, javax.servlet.http.HttpServletResponse aResponse) throws CannotInstantiateControllerException
aRequest
- the current servlet request, must not be null
.aResponse
- the current servlet response, must not be null
.
CannotInstantiateControllerException
- if the content model controller cannot be instantiated<T extends ContentNode,M extends ModifiableContentNode> ContentModelController<T,M> createContentModelController(javax.portlet.PortletRequest aRequest, javax.portlet.PortletResponse aResponse) throws CannotInstantiateControllerException
aRequest
- the current portlet request, must not be null
.aResponse
- the current portlet response, must not be null
.
CannotInstantiateControllerException
- if the content model controller cannot be instantiated<T extends ContentNode,M extends ModifiableContentNode> ContentModelController<T,M> createContentModelControllerForIBMPortlets(org.apache.jetspeed.portlet.PortletRequest aRequest, org.apache.jetspeed.portlet.PortletResponse aResponse) throws CannotInstantiateControllerException
aRequest
- the current portlet request, must not be null
.aResponse
- the current portlet response, may be null
.
CannotInstantiateControllerException
- if the content model controller cannot be instantiated
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |