Tree PREV CLASS NEXT CLASS SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD com.ibm.workplace.wcm.api
Interface ContextProcessorParams
public interface ContextProcessorParamsRepresents the parameters that a context processor is able to read and modify.
Method Summary java.util.Locale getCurrentLocale()
Return the current users Localejava.lang.String getPortletId()
Return a string which uniquely identifies the current portlet instancejavax.portlet.PortletRequest getPortletRequest()
Return the portlet request that is passed to the current web content viewer portlet instance.javax.portlet.PortletResponse getPortletResponse()
Return the portlet response that is passed to the current web content viewer portlet instance.RenderingContext getRenderingContext()
Return the WCM API RenderingContext for the current requestWorkspace getWorkspace()
Return the WCM API Workspace for the current uservoid setRenderingContext(RenderingContext renderingContext)
Sets the WCM API RenderingContext for the current request
Method Detail getWorkspace
Workspace getWorkspace()
- Returns the WCM API Workspace for the current user
- Returns:
- the WCM API Workspace for the current user
getCurrentLocale
java.util.Locale getCurrentLocale()
- Returns the current users Locale
- Returns:
- the current users Locale
getPortletId
java.lang.String getPortletId()
- Returns a string which uniquely identifies the current portlet instance
- Returns:
- a string which uniquely identifies the current portlet instance
getPortletRequest
javax.portlet.PortletRequest getPortletRequest()
- Returns the portlet request that is passed to the current web content viewer portlet instance.
Note: This method is not supported by the deprecated Web Content Viewer portlet. Use the Web Content Viewer portlet if a context processor requires access to the portlet request and response.
- Returns:
- the current portlet request
getPortletResponse
javax.portlet.PortletResponse getPortletResponse()
- Returns the portlet response that is passed to the current web content viewer portlet instance.
Note: This method is not supported by the deprecated Web Content Viewer portlet. Use the Web Content Viewer portlet if a context processor requires access to the portlet request and response.
- Returns:
- the current portlet response
getRenderingContext
RenderingContext getRenderingContext()
- Returns the WCM API RenderingContext for the current request
This method does not return a copy of the RenderingContext, thus any changes made to the returned RenderingContext will be reflected within this ContextProcessorParams object
- Returns:
- the WCM API RenderingContext for the current request
setRenderingContext
void setRenderingContext(RenderingContext renderingContext)
- Sets the WCM API RenderingContext for the current request
- Parameters:
- renderingContext - the WCM API RenderingContext for the current request
Tree PREV CLASS NEXT CLASS SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD