Search in sources :

Example 1 with PortletActionResponseContextImpl

use of org.apereo.portal.portlet.container.PortletActionResponseContextImpl in project uPortal by Jasig.

the class LocalPortletRequestContextServiceImpl method getPortletActionResponseContext.

/* (non-Javadoc)
     * @see org.apache.pluto.container.PortletRequestContextService#getPortletActionResponseContext(org.apache.pluto.container.PortletContainer, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.apache.pluto.container.PortletWindow)
     */
@Override
public PortletActionResponseContext getPortletActionResponseContext(PortletContainer container, HttpServletRequest containerRequest, HttpServletResponse containerResponse, PortletWindow window) {
    final IPortletWindow portletWindow = this.portletWindowRegistry.convertPortletWindow(containerRequest, window);
    final IPortalActionUrlBuilder portalActionUrlBuilder = this.portalUrlProvider.getPortalActionUrlBuilder(containerRequest);
    final IPortletUrlBuilder portletUrlBuilder = portalActionUrlBuilder.getPortletUrlBuilder(portletWindow.getPortletWindowId());
    return new PortletActionResponseContextImpl(container, portletWindow, containerRequest, containerResponse, requestPropertiesManager, portalActionUrlBuilder, portletUrlBuilder, this.portletContextService, this.portletCookieService);
}
Also used : IPortletUrlBuilder(org.apereo.portal.url.IPortletUrlBuilder) PortletActionResponseContextImpl(org.apereo.portal.portlet.container.PortletActionResponseContextImpl) IPortalActionUrlBuilder(org.apereo.portal.url.IPortalActionUrlBuilder) IPortletWindow(org.apereo.portal.portlet.om.IPortletWindow)

Aggregations

PortletActionResponseContextImpl (org.apereo.portal.portlet.container.PortletActionResponseContextImpl)1 IPortletWindow (org.apereo.portal.portlet.om.IPortletWindow)1 IPortalActionUrlBuilder (org.apereo.portal.url.IPortalActionUrlBuilder)1 IPortletUrlBuilder (org.apereo.portal.url.IPortletUrlBuilder)1