public class MockLiferayPortletURL
extends Object
implements com.liferay.portal.kernel.portlet.LiferayPortletURL
FULL, PAGE, PORTLET, SHARED| Constructor and Description |
|---|
MockLiferayPortletURL() |
| Modifier and Type | Method and Description |
|---|---|
void |
addParameterIncludedInPath(String name) |
void |
addProperty(String name,
String value) |
Appendable |
append(Appendable appendable) |
Appendable |
append(Appendable appendable,
boolean escapeXML) |
String |
getCacheability() |
String |
getLifecycle() |
String |
getParameter(String name) |
Map<String,String[]> |
getParameterMap() |
Set<String> |
getParametersIncludedInPath() |
long |
getPlid() |
String |
getPortletId() |
PortletMode |
getPortletMode() |
Set<String> |
getRemovedParameterNames() |
MutableRenderParameters |
getRenderParameters() |
String |
getResourceID() |
MutableResourceParameters |
getResourceParameters() |
WindowState |
getWindowState() |
boolean |
isAnchor() |
boolean |
isCopyCurrentRenderParameters() |
boolean |
isEncrypt() |
boolean |
isEscapeXml() |
boolean |
isParameterIncludedInPath(String name) |
boolean |
isSecure() |
void |
removePublicRenderParameter(String name) |
void |
setAnchor(boolean anchor) |
void |
setBeanParameter(PortletSerializable portletSerializable) |
void |
setCacheability(String cacheLevel) |
void |
setCopyCurrentRenderParameters(boolean copyCurrentRenderParameters) |
void |
setDoAsGroupId(long doAsGroupId) |
void |
setDoAsUserId(long doAsUserId) |
void |
setDoAsUserLanguageId(String doAsUserLanguageId) |
void |
setEncrypt(boolean encrypt) |
void |
setEscapeXml(boolean escapeXml) |
void |
setLifecycle(String lifecycle) |
void |
setParameter(String name,
String... values) |
void |
setParameter(String name,
String value) |
void |
setParameter(String name,
String[] values,
boolean append) |
void |
setParameter(String name,
String value,
boolean append) |
void |
setParameters(Map<String,String[]> parameters) |
void |
setPlid(long plid) |
void |
setPortletId(String portletId) |
void |
setPortletMode(PortletMode portletMode) |
void |
setProperty(String name,
String value) |
void |
setRefererGroupId(long refererGroupId) |
void |
setRefererPlid(long refererPlid) |
void |
setRemovedParameterNames(Set<String> removedParamNames) |
void |
setResourceID(String resourceID) |
void |
setSecure(boolean secure) |
void |
setWindowState(WindowState windowState) |
void |
setWindowStateRestoreCurrentView(boolean windowStateRestoreCurrentView) |
String |
toString() |
void |
visitReservedParameters(BiConsumer<String,String> biConsumer) |
void |
write(Writer writer) |
void |
write(Writer writer,
boolean escapeXML) |
public void addParameterIncludedInPath(String name)
addParameterIncludedInPath in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic void addProperty(String name,
String value)
addProperty in interface BaseURLpublic Appendable append(Appendable appendable)
throws IOException
public Appendable append(Appendable appendable,
boolean escapeXML)
throws IOException
public String getCacheability()
getCacheability in interface ResourceURLpublic String getLifecycle()
getLifecycle in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic String getParameter(String name)
getParameter in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic Map<String,String[]> getParameterMap()
getParameterMap in interface BaseURLpublic Set<String> getParametersIncludedInPath()
getParametersIncludedInPath in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic long getPlid()
getPlid in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic String getPortletId()
getPortletId in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic PortletMode getPortletMode()
getPortletMode in interface RenderStatepublic Set<String> getRemovedParameterNames()
getRemovedParameterNames in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic MutableRenderParameters getRenderParameters()
getRenderParameters in interface MutableRenderStategetRenderParameters in interface RenderStatepublic String getResourceID()
getResourceID in interface com.liferay.portal.kernel.portlet.LiferayPortletURLgetResourceID in interface ResourceURLpublic MutableResourceParameters getResourceParameters()
getResourceParameters in interface ResourceURLpublic WindowState getWindowState()
getWindowState in interface RenderStatepublic boolean isAnchor()
isAnchor in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic boolean isCopyCurrentRenderParameters()
isCopyCurrentRenderParameters in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic boolean isEncrypt()
isEncrypt in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic boolean isEscapeXml()
isEscapeXml in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic boolean isParameterIncludedInPath(String name)
isParameterIncludedInPath in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic boolean isSecure()
isSecure in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic void removePublicRenderParameter(String name)
removePublicRenderParameter in interface PortletURLpublic void setAnchor(boolean anchor)
setAnchor in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic void setBeanParameter(PortletSerializable portletSerializable)
setBeanParameter in interface PortletURLpublic void setCacheability(String cacheLevel)
setCacheability in interface ResourceURLpublic void setCopyCurrentRenderParameters(boolean copyCurrentRenderParameters)
setCopyCurrentRenderParameters in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic void setDoAsGroupId(long doAsGroupId)
setDoAsGroupId in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic void setDoAsUserId(long doAsUserId)
setDoAsUserId in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic void setDoAsUserLanguageId(String doAsUserLanguageId)
setDoAsUserLanguageId in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic void setEncrypt(boolean encrypt)
setEncrypt in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic void setEscapeXml(boolean escapeXml)
setEscapeXml in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic void setLifecycle(String lifecycle)
setLifecycle in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic void setParameter(String name,
String value)
setParameter in interface BaseURLpublic void setParameter(String name,
String... values)
setParameter in interface BaseURLpublic void setParameter(String name,
String value,
boolean append)
setParameter in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic void setParameter(String name,
String[] values,
boolean append)
setParameter in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic void setParameters(Map<String,String[]> parameters)
setParameters in interface BaseURLpublic void setPlid(long plid)
setPlid in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic void setPortletId(String portletId)
setPortletId in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic void setPortletMode(PortletMode portletMode) throws PortletModeException
setPortletMode in interface MutableRenderStatePortletModeExceptionpublic void setProperty(String name,
String value)
setProperty in interface BaseURLpublic void setRefererGroupId(long refererGroupId)
setRefererGroupId in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic void setRefererPlid(long refererPlid)
setRefererPlid in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic void setRemovedParameterNames(Set<String> removedParamNames)
setRemovedParameterNames in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic void setResourceID(String resourceID)
setResourceID in interface ResourceURLpublic void setSecure(boolean secure)
throws PortletSecurityException
setSecure in interface BaseURLPortletSecurityExceptionpublic void setWindowState(WindowState windowState) throws WindowStateException
setWindowState in interface MutableRenderStateWindowStateExceptionpublic void setWindowStateRestoreCurrentView(boolean windowStateRestoreCurrentView)
setWindowStateRestoreCurrentView in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic String toString()
public void visitReservedParameters(BiConsumer<String,String> biConsumer)
visitReservedParameters in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic void write(Writer writer)
throws IOException