PREV CLASS
NEXT CLASS
|
|
SUMMARY: NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
com.ibm.portal.model.controller
Interface ContentModelControllerProvider
-
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.
- Since:
- 6.1.0
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. |
createContentModelController
<T extends ContentNode,M extends ModifiableContentNode> ContentModelController<T,M> createContentModelController(ContentModel contentModel)
throws CannotInstantiateControllerException
- Creates a content model controller for the specified content model. The
model controller is not thread-safe and thus must only be used by one
thread at any given time.
- Parameters:
- 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.
- Returns:
- a content model controller
- Throws:
- CannotInstantiateControllerException - if the content model controller cannot be instantiated
createContentModelController
<T extends ContentNode,M extends ModifiableContentNode> ContentModelController<T,M> createContentModelController(javax.servlet.http.HttpServletRequest aRequest,
javax.servlet.http.HttpServletResponse aResponse)
throws CannotInstantiateControllerException
- Creates a content model controller for the content model implied through
the given servlet request and servlet response. The model controller is
not thread-safe and thus must only be used by one thread at any given
time.
- Parameters:
- aRequest - the current servlet request, must not be null.
- aResponse - the current servlet response, must not be null.
- Returns:
- a content model controller
- Throws:
- CannotInstantiateControllerException - if the content model controller cannot be instantiated
createContentModelController
<T extends ContentNode,M extends ModifiableContentNode> ContentModelController<T,M> createContentModelController(javax.portlet.PortletRequest aRequest,
javax.portlet.PortletResponse aResponse)
throws CannotInstantiateControllerException
- Creates a content model controller for the content model implied through
the given portlet request and portlet response. The model controller is
not thread-safe and thus must only be used by one thread at any given
time.
- Parameters:
- aRequest - the current portlet request, must not be null.
- aResponse - the current portlet response, must not be null.
- Returns:
- a content model controller
- Throws:
- CannotInstantiateControllerException - if the content model controller cannot be instantiated
- Since:
- 6.1.0.3
createContentModelControllerForIBMPortlets
<T extends ContentNode,M extends ModifiableContentNode> ContentModelController<T,M> createContentModelControllerForIBMPortlets(org.apache.jetspeed.portlet.PortletRequest aRequest,
org.apache.jetspeed.portlet.PortletResponse aResponse)
throws CannotInstantiateControllerException
- Creates a content model controller for the content model implied through
the given legacy portlet request and portlet response. The model
controller is not thread-safe and thus must only be used by one thread at
any given time.
- Parameters:
- aRequest - the current portlet request, must not be null.
- aResponse - the current portlet response, may be null.
- Returns:
- a content model controller
- Throws:
- CannotInstantiateControllerException - if the content model controller cannot be instantiated
- Since:
- 8.0.0
PREV CLASS
NEXT CLASS
|
|
SUMMARY: NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |