{ } }
Tree 
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES   SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.ibm.portal.model
Interface SkinListControllerProvider

public interface SkinListControllerProvider

Provider interface for skin 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:
7.0

Method Summary
<T extends Skin,M extends ModifiableSkin>
SkinListController<T,M>
createSkinListController(HttpServletRequest aRequest, HttpServletResponse aResponse)
          Creates a skin list model controller for the skin list model implied through the given request and response.
<T extends Skin,M extends ModifiableSkin>
SkinListController<T,M>
createSkinListController(SkinList<T> skinList)
          Creates a skin list model controller for the specified skin list model.
 

Method Detail

createSkinListController

<T extends Skin,M extends ModifiableSkin> SkinListController<T,M> createSkinListController(SkinList<T> skinList)
                                                                                     throws CannotInstantiateControllerException
Creates a skin list model controller for the specified skin list model. The model controller is not thread-safe and thus must only be used by one thread at any given time.

Parameters:
skinList - the skin list model to get a controller for; the lifetime of the controller must not exceed the lifetime of the given skin list model.
Returns:
a skin list model controller
Throws:
CannotInstantiateControllerException - if the skin list model controller cannot be instantiated

createSkinListController

<T extends Skin,M extends ModifiableSkin> SkinListController<T,M> createSkinListController(HttpServletRequest aRequest,
                                                                                           HttpServletResponse aResponse)
                                                                                     throws CannotInstantiateControllerException
Creates a skin list model controller for the skin 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 skin list model controller
Throws:
CannotInstantiateControllerException - if the skin list model controller cannot be instantiated
Tree 
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES   SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD