com.liferay.faces.bridge.context.url
Class BridgeResourceURLWrapper
java.lang.Object
com.liferay.faces.bridge.context.url.BridgeURLWrapper
com.liferay.faces.bridge.context.url.BridgeResourceURLWrapper
- All Implemented Interfaces:
- BridgeResourceURL, BridgeURL, javax.faces.FacesWrapper<BridgeResourceURL>
public abstract class BridgeResourceURLWrapper
- extends BridgeURLWrapper
- implements BridgeResourceURL, javax.faces.FacesWrapper<BridgeResourceURL>
- Author:
- Neil Griffin
|
Method Summary |
abstract BridgeResourceURL |
getWrapped()
|
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BridgeResourceURLWrapper
public BridgeResourceURLWrapper()
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.
- Specified by:
replaceBackLinkParameter in interface BridgeResourceURL
- Parameters:
facesContext - The current FacesContext instance.
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.
- Specified by:
setInProtocol in interface BridgeResourceURL
- 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.
- Specified by:
setViewLink in interface BridgeResourceURL
getWrapped
public abstract BridgeResourceURL getWrapped()
- Specified by:
getWrapped in interface javax.faces.FacesWrapper<BridgeResourceURL>- Specified by:
getWrapped in class BridgeURLWrapper
Copyright © 2015 Liferay, Inc.. All rights reserved.