com.ibm.portal.theme.plugin
Interface ThemeContext

All Superinterfaces:
Identifiable

public interface ThemeContext
extends Identifiable

Describes the current theme context. This interface formalizes the current context for a specific ThemeContent. An extension can declare a custom context in the plugin.xml file by including the context attribute in the markup describing the extension.

Since:
6.0
Note:
This interface is designed to be implemented by clients.

Method Summary
 HttpServletRequest getRequest()
           
 HttpServletResponse getResponse()
           
 void initContext(HttpServletRequest request, HttpServletResponse response)
          Initialize the context with the necessary information.
 
Methods inherited from interface com.ibm.portal.Identifiable
getObjectID
 

Method Detail

initContext

void initContext(HttpServletRequest request,
                 HttpServletResponse response)
                 throws ThemeExtensionInitException
Initialize the context with the necessary information.

Parameters:
request - the current request
response - the current response
Throws:
ThemeExtensionInitException

getRequest

HttpServletRequest getRequest()

getResponse

HttpServletResponse getResponse()