Search in sources :

Example 1 with PortalContextBridgeLiferayImpl

use of com.liferay.faces.bridge.ext.context.internal.PortalContextBridgeLiferayImpl in project liferay-faces-bridge-ext by liferay.

the class BridgePortletRequestFactoryLiferayImpl method getHeaderRequest.

@Override
public HeaderRequest getHeaderRequest(HeaderRequest headerRequest, HeaderResponse headerResponse, PortletConfig portletConfig, BridgeConfig bridgeConfig) {
    headerRequest = getWrapped().getHeaderRequest(headerRequest, headerResponse, portletConfig, bridgeConfig);
    PortalContext portalContext = new PortalContextBridgeLiferayImpl(headerRequest);
    return new HeaderRequestBridgeLiferayImpl(headerRequest, headerResponse.getNamespace(), portletConfig, portalContext);
}
Also used : PortalContext(javax.portlet.PortalContext) PortalContextBridgeLiferayImpl(com.liferay.faces.bridge.ext.context.internal.PortalContextBridgeLiferayImpl)

Example 2 with PortalContextBridgeLiferayImpl

use of com.liferay.faces.bridge.ext.context.internal.PortalContextBridgeLiferayImpl in project liferay-faces-bridge-ext by liferay.

the class BridgePortletRequestFactoryLiferayImpl method getEventRequest.

@Override
public EventRequest getEventRequest(EventRequest eventRequest, EventResponse eventResponse, PortletConfig portletConfig, BridgeConfig bridgeConfig) {
    eventRequest = getWrapped().getEventRequest(eventRequest, eventResponse, portletConfig, bridgeConfig);
    PortalContext portalContext = new PortalContextBridgeLiferayImpl(eventRequest);
    return new EventRequestBridgeLiferayImpl(eventRequest, eventResponse.getNamespace(), portletConfig, portalContext);
}
Also used : PortalContext(javax.portlet.PortalContext) PortalContextBridgeLiferayImpl(com.liferay.faces.bridge.ext.context.internal.PortalContextBridgeLiferayImpl)

Example 3 with PortalContextBridgeLiferayImpl

use of com.liferay.faces.bridge.ext.context.internal.PortalContextBridgeLiferayImpl in project liferay-faces-bridge-ext by liferay.

the class BridgePortletRequestFactoryLiferayImpl method getActionRequest.

@Override
public ActionRequest getActionRequest(ActionRequest actionRequest, ActionResponse actionResponse, PortletConfig portletConfig, BridgeConfig bridgeConfig) {
    actionRequest = getWrapped().getActionRequest(actionRequest, actionResponse, portletConfig, bridgeConfig);
    PortalContext portalContext = new PortalContextBridgeLiferayImpl(actionRequest);
    return new ActionRequestBridgeLiferayImpl(actionRequest, actionResponse.getNamespace(), portletConfig, portalContext);
}
Also used : PortalContext(javax.portlet.PortalContext) PortalContextBridgeLiferayImpl(com.liferay.faces.bridge.ext.context.internal.PortalContextBridgeLiferayImpl)

Example 4 with PortalContextBridgeLiferayImpl

use of com.liferay.faces.bridge.ext.context.internal.PortalContextBridgeLiferayImpl in project liferay-faces-bridge-ext by liferay.

the class BridgePortletRequestFactoryLiferayImpl method getRenderRequest.

@Override
public RenderRequest getRenderRequest(RenderRequest renderRequest, RenderResponse renderResponse, PortletConfig portletConfig, BridgeConfig bridgeConfig) {
    renderRequest = getWrapped().getRenderRequest(renderRequest, renderResponse, portletConfig, bridgeConfig);
    PortalContext portalContext = new PortalContextBridgeLiferayImpl(renderRequest);
    return new RenderRequestBridgeLiferayImpl(renderRequest, renderResponse.getNamespace(), portletConfig, portalContext);
}
Also used : PortalContext(javax.portlet.PortalContext) PortalContextBridgeLiferayImpl(com.liferay.faces.bridge.ext.context.internal.PortalContextBridgeLiferayImpl)

Example 5 with PortalContextBridgeLiferayImpl

use of com.liferay.faces.bridge.ext.context.internal.PortalContextBridgeLiferayImpl in project liferay-faces-bridge-ext by liferay.

the class BridgePortletRequestFactoryLiferayImpl method getResourceRequest.

@Override
public ResourceRequest getResourceRequest(ResourceRequest resourceRequest, ResourceResponse resourceResponse, PortletConfig portletConfig, BridgeConfig bridgeConfig) {
    resourceRequest = getWrapped().getResourceRequest(resourceRequest, resourceResponse, portletConfig, bridgeConfig);
    PortalContext portalContext = new PortalContextBridgeLiferayImpl(resourceRequest);
    return new ResourceRequestBridgeLiferayImpl(resourceRequest, resourceResponse.getNamespace(), portletConfig, portalContext);
}
Also used : PortalContext(javax.portlet.PortalContext) PortalContextBridgeLiferayImpl(com.liferay.faces.bridge.ext.context.internal.PortalContextBridgeLiferayImpl)

Aggregations

PortalContextBridgeLiferayImpl (com.liferay.faces.bridge.ext.context.internal.PortalContextBridgeLiferayImpl)5 PortalContext (javax.portlet.PortalContext)5