com.liferay.faces.bridge.application
Class BridgeNavigationCaseImpl

java.lang.Object
  extended by javax.faces.application.NavigationCase
      extended by com.liferay.faces.bridge.application.NavigationCaseWrapper
          extended by com.liferay.faces.bridge.application.BridgeNavigationCaseImpl
All Implemented Interfaces:
BridgeNavigationCase, javax.faces.FacesWrapper<javax.faces.application.NavigationCase>

public class BridgeNavigationCaseImpl
extends NavigationCaseWrapper
implements BridgeNavigationCase

Author:
Neil Griffin

Constructor Summary
BridgeNavigationCaseImpl(javax.faces.application.NavigationCase navigationCase)
           
 
Method Summary
protected  String getParameter(String parameterName)
           
 Map<String,List<String>> getParameters()
          Whereas the JSF API NavigationCase.getParameters() documentation states that this method returns parameters that are to be included for a navigation-case that contains a redirect, in a portlet environment it must also return parameters in the non-redirect case.
 String getPortletMode()
          Returns the string representation of the PortletMode associated with the Bridge.PORTLET_MODE_PARAMETER in the to-view-id value of the navigation-case.
 String getWindowState()
          Returns the string representation of the WindowState associated with the Bridge.PORTLET_WINDOWSTATE_PARAMETER in the to-view-id value of the navigation-case.
 javax.faces.application.NavigationCase getWrapped()
           
 
Methods inherited from class com.liferay.faces.bridge.application.NavigationCaseWrapper
equals, getActionURL, getBookmarkableURL, getCondition, getFromAction, getFromOutcome, getFromViewId, getRedirectURL, getResourceURL, getToViewId, hasCondition, hashCode, isIncludeViewParams, isRedirect, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BridgeNavigationCaseImpl

public BridgeNavigationCaseImpl(javax.faces.application.NavigationCase navigationCase)
Method Detail

getParameter

protected String getParameter(String parameterName)

getParameters

public Map<String,List<String>> getParameters()
Description copied from interface: BridgeNavigationCase
Whereas the JSF API NavigationCase.getParameters() documentation states that this method returns parameters that are to be included for a navigation-case that contains a redirect, in a portlet environment it must also return parameters in the non-redirect case.

Specified by:
getParameters in interface BridgeNavigationCase
Overrides:
getParameters in class NavigationCaseWrapper
Returns:
The Map of parameter values.

getPortletMode

public String getPortletMode()
Description copied from interface: BridgeNavigationCase
Returns the string representation of the PortletMode associated with the Bridge.PORTLET_MODE_PARAMETER in the to-view-id value of the navigation-case.

Specified by:
getPortletMode in interface BridgeNavigationCase

getWindowState

public String getWindowState()
Description copied from interface: BridgeNavigationCase
Returns the string representation of the WindowState associated with the Bridge.PORTLET_WINDOWSTATE_PARAMETER in the to-view-id value of the navigation-case.

Specified by:
getWindowState in interface BridgeNavigationCase

getWrapped

public javax.faces.application.NavigationCase getWrapped()
Specified by:
getWrapped in interface javax.faces.FacesWrapper<javax.faces.application.NavigationCase>
Specified by:
getWrapped in class NavigationCaseWrapper


Copyright © 2014 Liferay, Inc.. All Rights Reserved.