com.liferay.faces.bridge.context.url
Class BridgeResourceURLImpl
java.lang.Object
com.liferay.faces.bridge.context.url.BridgeURLBaseImpl
com.liferay.faces.bridge.context.url.BridgeResourceURLCompatImpl
com.liferay.faces.bridge.context.url.BridgeResourceURLImpl
- All Implemented Interfaces:
- BridgeResourceURL, BridgeURL
- Direct Known Subclasses:
- BridgeResourceURLLiferayImpl
public class BridgeResourceURLImpl
- extends BridgeResourceURLCompatImpl
- Author:
- Neil Griffin
|
Method Summary |
void |
replaceBackLinkParameter(javax.faces.context.FacesContext facesContext)
Replaces the value of the "javax.portlet.BackLink" parameter with an encoded action URL that represents a link to
the current Faces viewId. |
void |
setInProtocol(boolean inProtocol)
Sets a flag indicating whether or not the URL must satisfy "in-protocol" resource serving. |
void |
setViewLink(boolean viewLink)
Sets a flag indicating whether or not the URL is a view-link to a Faces view, which is a type of navigation. |
protected javax.portlet.BaseURL |
toBaseURL()
Returns a BaseURL representation of the bridge URL. |
| Methods inherited from class com.liferay.faces.bridge.context.url.BridgeURLBaseImpl |
_toString, _toString, getContextRelativePath, getParameter, getParameterMap, getParameterNames, getPortletPhase, getSchemeSpecificPart, getURI, getViewIdParameterName, isAbsolute, isEscaped, isExternal, isFacesViewTarget, isHierarchical, isOpaque, isPathRelative, isPortletScheme, isRelative, isSecure, isSelfReferencing, matchPathAndExtension, removeParameter, setParameter, setParameter, setPortletModeParameter, setRenderParameters, setSecure, setSecureParameter, setSelfReferencing, setWindowStateParameter, toString |
| Methods inherited from interface com.liferay.faces.bridge.context.url.BridgeURL |
getContextRelativePath, getParameter, getParameterMap, getParameterNames, getPortletPhase, isAbsolute, isEscaped, isExternal, isFacesViewTarget, isHierarchical, isOpaque, isPathRelative, isPortletScheme, isSecure, isSelfReferencing, removeParameter, setParameter, setParameter, setSecure, setSelfReferencing, toString |
BridgeResourceURLImpl
public BridgeResourceURLImpl(String url,
String currentFacesViewId,
BridgeContext bridgeContext)
replaceBackLinkParameter
public void replaceBackLinkParameter(javax.faces.context.FacesContext facesContext)
- Description copied from interface:
BridgeResourceURL
- Replaces the value of the "javax.portlet.BackLink" parameter with an encoded action URL that represents a link to
the current Faces viewId.
- Parameters:
facesContext - The current FacesContext instance.
toBaseURL
protected javax.portlet.BaseURL toBaseURL()
throws MalformedURLException
- Description copied from class:
BridgeURLBaseImpl
- Returns a
BaseURL representation of the bridge URL.
- Specified by:
toBaseURL in class BridgeURLBaseImpl
- Throws:
MalformedURLException
setInProtocol
public void setInProtocol(boolean inProtocol)
- Description copied from interface:
BridgeResourceURL
- Sets a flag indicating whether or not the URL must satisfy "in-protocol" resource serving.
- Parameters:
inProtocol - true if the URL must satisfy "in-protocol" resource serving, otherwise
false.
setViewLink
public void setViewLink(boolean viewLink)
- Description copied from interface:
BridgeResourceURL
- Sets a flag indicating whether or not the URL is a view-link to a Faces view, which is a type of navigation. For
more information, refer to the documentation at
Bridge.VIEW_LINK.
Copyright © 2014 Liferay, Inc.. All Rights Reserved.