com.liferay.faces.bridge
Class BridgePhaseRenderImpl

java.lang.Object
  extended by com.liferay.faces.bridge.BridgePhaseBaseImpl
      extended by com.liferay.faces.bridge.BridgePhaseCompat_1_2_Impl
          extended by com.liferay.faces.bridge.BridgePhaseCompat_2_0_Impl
              extended by com.liferay.faces.bridge.BridgePhaseCompat_2_2_Impl
                  extended by com.liferay.faces.bridge.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.BridgePhaseBaseImpl
bridgeConfig, bridgeContext, bridgeRequestScope, bridgeRequestScopeCache, facesContext, facesLifecycle, incongruityContext, portletConfig, portletContext, portletName
 
Constructor Summary
BridgePhaseRenderImpl(javax.portlet.RenderRequest renderRequest, javax.portlet.RenderResponse renderResponse, javax.portlet.PortletConfig portletConfig)
           
 
Method Summary
protected  void cleanup()
           
protected  void doFacesHeaders(javax.portlet.RenderRequest renderRequest, javax.portlet.RenderResponse renderResponse)
           
 void execute()
           
protected  void execute(BridgeRedirectURL renderRedirectURL)
           
protected  BridgeNavigationHandler getBridgeNavigationHandler(javax.faces.context.FacesContext facesContext)
           
protected  void initBridgeRequestScope(javax.portlet.PortletRequest portletRequest, javax.portlet.PortletResponse portletResponse, Bridge.PortletPhase portletPhase, PortletContainer portletContainer, IncongruityContext incongruityContext)
           
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.BridgePhaseCompat_2_2_Impl
attachClientWindowToLifecycle
 
Methods inherited from class com.liferay.faces.bridge.BridgePhaseCompat_2_0_Impl
clearHeadManagedBeanResources, getJSF2HandledException, getJSF2UnhandledException, handleJSF2ResourceRequest, isJSF2AjaxRequest, isJSF2ResourceRequest
 
Methods inherited from class com.liferay.faces.bridge.BridgePhaseBaseImpl
getFacesContext, getFacesContextFactory, getInitParameter, 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)
Method Detail

execute

public void execute()
             throws BridgeDefaultViewNotSpecifiedException,
                    BridgeException
Throws:
BridgeDefaultViewNotSpecifiedException
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(BridgeRedirectURL renderRedirectURL)
                throws BridgeDefaultViewNotSpecifiedException,
                       BridgeException,
                       IOException
Throws:
BridgeDefaultViewNotSpecifiedException
BridgeException
IOException

initBridgeRequestScope

protected void initBridgeRequestScope(javax.portlet.PortletRequest portletRequest,
                                      javax.portlet.PortletResponse portletResponse,
                                      Bridge.PortletPhase portletPhase,
                                      PortletContainer portletContainer,
                                      IncongruityContext incongruityContext)
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 © 2014 Liferay, Inc.. All Rights Reserved.