public interface PortletContextPlugIn extends PortletPlugIn
A BusinessContextType object is used to represent the business contextual information defined for the portlet. This contextual information should be set into this object for synchronizing with WebSphere Commerce services.
The business context plug-in helps generate the business context object. It leverages the MVC plug-in framework so that you can specify a customized version. The context plug-in must implement this com.ibm.commerce.foundation.client.portal.services.PortletContextPlugIn interface which can be initialized and destroyed along with the WebSphere Commerce Portlet.
A default implementation has been provided - com.ibm.commerce.foundation.client.portal.services.MVCPortletContextService.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Modifier and Type | Method and Description |
---|---|
BusinessContextType | getBusinessContextType(javax.portlet.PortletRequest portletRequest)
Creates a new business context object.
|
BusinessContextType | syncBusinessContextType(javax.portlet.PortletRequest portletRequest, BusinessContextType businessContextType)
Synchronizes the business context object with runtime information, such as locale.
|
static final java.lang.String COPYRIGHT
BusinessContextType getBusinessContextType(javax.portlet.PortletRequest portletRequest)
BusinessContextType syncBusinessContextType(javax.portlet.PortletRequest portletRequest, BusinessContextType businessContextType)