com.ibm.portal.model
Interface MarkupListControllerProvider
-
public interface MarkupListControllerProvider
Provider interface for markup list 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
|
|
createMarkupListController(javax.servlet.http.HttpServletRequest aRequest,
javax.servlet.http.HttpServletResponse aResponse)
Creates a markup list model controller for the markup list model implied
through the given request and response. |
|
createMarkupListController(MarkupList<T> markupList)
Creates a markup list model controller for the specified markup list
model. |
createMarkupListController
<T extends Markup,M extends com.ibm.portal.admin.ModifiableMarkup> MarkupListController<T,M> createMarkupListController(MarkupList<T> markupList)
throws CannotInstantiateControllerException
- Creates a markup list model controller for the specified markup list
model. The model controller is not thread-safe and thus must only be used
by one thread at any given time.
- Parameters:
- markupList - the markup list model to get a controller for; the lifetime of
the controller must not exceed the lifetime of the given
markup list model.
- Returns:
- a markup list model controller
- Throws:
- CannotInstantiateControllerException - if the markup list model controller cannot be instantiated
createMarkupListController
<T extends Markup,M extends com.ibm.portal.admin.ModifiableMarkup> MarkupListController<T,M> createMarkupListController(javax.servlet.http.HttpServletRequest aRequest,
javax.servlet.http.HttpServletResponse aResponse)
throws CannotInstantiateControllerException
- Creates a markup list model controller for the markup list model implied
through the given request and 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 request
- aResponse - the current response
- Returns:
- a markup list model controller
- Throws:
- CannotInstantiateControllerException - if the markup list model controller cannot be instantiated