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