com.liferay.faces.bridge.internal
Class BridgePhaseRenderImpl

java.lang.Object
  extended by com.liferay.faces.bridge.internal.BridgePhaseBaseImpl
      extended by com.liferay.faces.bridge.internal.BridgePhaseCompat_1_2_Impl
          extended by com.liferay.faces.bridge.internal.BridgePhaseCompat_2_0_Impl
              extended by com.liferay.faces.bridge.internal.BridgePhaseCompat_2_2_Impl
                  extended by com.liferay.faces.bridge.internal.BridgePhaseRenderImpl
All Implemented Interfaces:
BridgePhase

public class BridgePhaseRenderImpl
extends BridgePhaseCompat_2_2_Impl

Author:
Neil Griffin

Field Summary
 
Fields inherited from class com.liferay.faces.bridge.internal.BridgePhaseBaseImpl
bridgeConfig, bridgeContext, bridgeRequestScope, bridgeRequestScopeCache, bridgeRequestScopePreserved, facesContext, facesLifecycle, incongruityContext, portletConfig, portletContext, portletName
 
Constructor Summary
BridgePhaseRenderImpl(javax.portlet.RenderRequest renderRequest, javax.portlet.RenderResponse renderResponse, javax.portlet.PortletConfig portletConfig, BridgeConfig bridgeConfig)
           
 
Method Summary
protected  void cleanup()
           
protected  void doFacesHeaders(javax.portlet.RenderRequest renderRequest, javax.portlet.RenderResponse renderResponse)
           
 void execute()
           
protected  void execute(BridgeURL renderRedirectURL)
           
protected  BridgeNavigationHandler getBridgeNavigationHandler(javax.faces.context.FacesContext facesContext)
           
protected  void initBridgeRequestScope(javax.portlet.PortletRequest portletRequest, javax.portlet.PortletResponse portletResponse, Bridge.PortletPhase portletPhase)
           
protected  void setViewHistory(String viewId)
          Sets the "javax.portlet.faces.viewIdHistory.portletMode" session attribute according to the requirements in Section 5.4.3 of the Bridge Spec.
 
Methods inherited from class com.liferay.faces.bridge.internal.BridgePhaseCompat_2_2_Impl
attachClientWindowToLifecycle
 
Methods inherited from class com.liferay.faces.bridge.internal.BridgePhaseCompat_2_0_Impl
clearHeadManagedBeanResources, getJSF2HandledException, getJSF2UnhandledException, handleJSF2ResourceRequest, isJSF2AjaxRequest, isJSF2ResourceRequest
 
Methods inherited from class com.liferay.faces.bridge.internal.BridgePhaseCompat_1_2_Impl
removeBridgeContextAttribute, setBridgeContextAttribute
 
Methods inherited from class com.liferay.faces.bridge.internal.BridgePhaseBaseImpl
getFacesContext, getFacesContextFactory, indicateNamespacingToConsumers, init, maintainBridgeRequestScope
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BridgePhaseRenderImpl

public BridgePhaseRenderImpl(javax.portlet.RenderRequest renderRequest,
                             javax.portlet.RenderResponse renderResponse,
                             javax.portlet.PortletConfig portletConfig,
                             BridgeConfig bridgeConfig)
Method Detail

execute

public void execute()
             throws BridgeException
Throws:
BridgeException

cleanup

protected void cleanup()
Overrides:
cleanup in class BridgePhaseBaseImpl

doFacesHeaders

protected void doFacesHeaders(javax.portlet.RenderRequest renderRequest,
                              javax.portlet.RenderResponse renderResponse)

execute

protected void execute(BridgeURL renderRedirectURL)
                throws BridgeException,
                       IOException
Throws:
BridgeException
IOException

initBridgeRequestScope

protected void initBridgeRequestScope(javax.portlet.PortletRequest portletRequest,
                                      javax.portlet.PortletResponse portletResponse,
                                      Bridge.PortletPhase portletPhase)
Overrides:
initBridgeRequestScope in class BridgePhaseBaseImpl

getBridgeNavigationHandler

protected BridgeNavigationHandler getBridgeNavigationHandler(javax.faces.context.FacesContext facesContext)

setViewHistory

protected void setViewHistory(String viewId)
Sets the "javax.portlet.faces.viewIdHistory.portletMode" session attribute according to the requirements in Section 5.4.3 of the Bridge Spec. There is no corresponding getter method, because the value is meant to be retrieved by developers via an EL expression.

Parameters:
viewId - The current Faces viewId.


Copyright © 2015 Liferay, Inc.. All rights reserved.