public class PortletURLImpl
extends Object
implements com.liferay.portal.kernel.portlet.LiferayPortletURL, javax.portlet.PortletURL, javax.portlet.ResourceURL, Serializable
| Constructor and Description |
|---|
PortletURLImpl(javax.servlet.http.HttpServletRequest httpServletRequest,
com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.portal.kernel.model.Layout layout,
String lifecycle,
javax.portlet.MimeResponse.Copy copy) |
PortletURLImpl(javax.portlet.PortletRequest portletRequest,
com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.portal.kernel.model.Layout layout,
String lifecycle,
javax.portlet.MimeResponse.Copy copy) |
| Modifier and Type | Method and Description |
|---|---|
void |
addParameterIncludedInPath(String name) |
void |
addProperty(String key,
String value) |
Appendable |
append(Appendable appendable) |
Appendable |
append(Appendable appendable,
boolean escapeXml) |
protected void |
clearCache() |
protected String |
generateToString() |
javax.portlet.MutableActionParameters |
getActionParameters() |
String |
getCacheability() |
javax.servlet.http.HttpServletRequest |
getHttpServletRequest() |
com.liferay.portal.kernel.model.Layout |
getLayout() |
String |
getLayoutFriendlyURL() |
String |
getLifecycle() |
String |
getNamespace() |
String |
getParameter(String name)
Deprecated.
As of Judson (7.1.x)
|
Map<String,String[]> |
getParameterMap()
Deprecated.
As of Judson (7.1.x)
|
Set<String> |
getParametersIncludedInPath() |
long |
getPlid() |
com.liferay.portal.kernel.model.Portlet |
getPortlet() |
String |
getPortletFriendlyURLPath() |
String |
getPortletId() |
javax.portlet.PortletMode |
getPortletMode() |
javax.portlet.PortletRequest |
getPortletRequest() |
protected String |
getPublicRenderParameterName(String name) |
Set<String> |
getRemovedParameterNames() |
javax.portlet.MutableRenderParameters |
getRenderParameters() |
String |
getResourceID() |
javax.portlet.MutableResourceParameters |
getResourceParameters() |
javax.portlet.WindowState |
getWindowState() |
boolean |
isAnchor() |
boolean |
isCopyCurrentRenderParameters() |
boolean |
isEncrypt() |
boolean |
isEscapeXml() |
boolean |
isParameterIncludedInPath(String name) |
boolean |
isSecure() |
protected String |
processValue(Key key,
long value) |
protected String |
processValue(Key key,
String value) |
void |
removePublicRenderParameter(String name)
Deprecated.
As of Judson (7.1.x)
|
void |
setAnchor(boolean anchor) |
void |
setBeanParameter(javax.portlet.annotations.PortletSerializable portletSerializable) |
void |
setCacheability(String cacheability) |
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)
Deprecated.
As of Judson (7.1.x)
|
void |
setParameter(String name,
String value)
Deprecated.
As of Judson (7.1.x)
|
void |
setParameter(String name,
String[] values,
boolean append)
Deprecated.
As of Judson (7.1.x)
|
void |
setParameter(String name,
String value,
boolean append)
Deprecated.
As of Judson (7.1.x)
|
void |
setParameters(Map<String,String[]> params)
Deprecated.
As of Judson (7.1.x)
|
void |
setPlid(long plid) |
void |
setPortletId(String portletId) |
void |
setPortletMode(javax.portlet.PortletMode portletMode) |
void |
setPortletMode(String portletMode) |
void |
setProperty(String key,
String value) |
void |
setRefererGroupId(long refererGroupId) |
void |
setRefererPlid(long refererPlid) |
void |
setRemovedParameterNames(Set<String> removedParameterNames) |
void |
setResourceID(String resourceID) |
void |
setSecure(boolean secure) |
void |
setWindowState(String windowState) |
void |
setWindowState(javax.portlet.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 PortletURLImpl(javax.servlet.http.HttpServletRequest httpServletRequest,
com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.portal.kernel.model.Layout layout,
String lifecycle,
javax.portlet.MimeResponse.Copy copy)
public PortletURLImpl(javax.portlet.PortletRequest portletRequest,
com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.portal.kernel.model.Layout layout,
String lifecycle,
javax.portlet.MimeResponse.Copy copy)
public void addParameterIncludedInPath(String name)
addParameterIncludedInPath in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic void addProperty(String key,
String value)
addProperty in interface javax.portlet.BaseURLpublic Appendable append(Appendable appendable)
throws IOException
append in interface javax.portlet.BaseURLIOExceptionpublic Appendable append(Appendable appendable,
boolean escapeXml)
throws IOException
append in interface javax.portlet.BaseURLIOExceptionpublic javax.portlet.MutableActionParameters getActionParameters()
public String getCacheability()
getCacheability in interface javax.portlet.ResourceURLpublic javax.servlet.http.HttpServletRequest getHttpServletRequest()
public com.liferay.portal.kernel.model.Layout getLayout()
public String getLayoutFriendlyURL()
public String getLifecycle()
getLifecycle in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic String getNamespace()
@Deprecated public String getParameter(String name)
getParameter in interface com.liferay.portal.kernel.portlet.LiferayPortletURL@Deprecated public Map<String,String[]> getParameterMap()
getParameterMap in interface javax.portlet.BaseURLpublic Set<String> getParametersIncludedInPath()
getParametersIncludedInPath in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic long getPlid()
getPlid in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic com.liferay.portal.kernel.model.Portlet getPortlet()
public String getPortletFriendlyURLPath()
public String getPortletId()
getPortletId in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic javax.portlet.PortletMode getPortletMode()
getPortletMode in interface javax.portlet.RenderStatepublic javax.portlet.PortletRequest getPortletRequest()
public Set<String> getRemovedParameterNames()
getRemovedParameterNames in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic javax.portlet.MutableRenderParameters getRenderParameters()
getRenderParameters in interface javax.portlet.MutableRenderStategetRenderParameters in interface javax.portlet.RenderStatepublic String getResourceID()
getResourceID in interface com.liferay.portal.kernel.portlet.LiferayPortletURLgetResourceID in interface javax.portlet.ResourceURLpublic javax.portlet.MutableResourceParameters getResourceParameters()
getResourceParameters in interface javax.portlet.ResourceURLpublic javax.portlet.WindowState getWindowState()
getWindowState in interface javax.portlet.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.LiferayPortletURL@Deprecated public void removePublicRenderParameter(String name)
removePublicRenderParameter in interface javax.portlet.PortletURLpublic void setAnchor(boolean anchor)
setAnchor in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic void setBeanParameter(javax.portlet.annotations.PortletSerializable portletSerializable)
setBeanParameter in interface javax.portlet.PortletURLpublic void setCacheability(String cacheability)
setCacheability in interface javax.portlet.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.LiferayPortletURL@Deprecated
public void setParameter(String name,
String value)
setParameter in interface javax.portlet.BaseURL@Deprecated
public void setParameter(String name,
String... values)
setParameter in interface javax.portlet.BaseURL@Deprecated
public void setParameter(String name,
String value,
boolean append)
setParameter in interface com.liferay.portal.kernel.portlet.LiferayPortletURL@Deprecated
public void setParameter(String name,
String[] values,
boolean append)
setParameter in interface com.liferay.portal.kernel.portlet.LiferayPortletURL@Deprecated public void setParameters(Map<String,String[]> params)
setParameters in interface javax.portlet.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(javax.portlet.PortletMode portletMode)
throws javax.portlet.PortletModeException
setPortletMode in interface javax.portlet.MutableRenderStatejavax.portlet.PortletModeExceptionpublic void setPortletMode(String portletMode)
throws javax.portlet.PortletModeException
javax.portlet.PortletModeExceptionpublic void setProperty(String key,
String value)
setProperty in interface javax.portlet.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> removedParameterNames)
setRemovedParameterNames in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic void setResourceID(String resourceID)
setResourceID in interface javax.portlet.ResourceURLpublic void setSecure(boolean secure)
throws javax.portlet.PortletSecurityException
setSecure in interface javax.portlet.BaseURLjavax.portlet.PortletSecurityExceptionpublic void setWindowState(String windowState)
throws javax.portlet.WindowStateException
javax.portlet.WindowStateExceptionpublic void setWindowState(javax.portlet.WindowState windowState)
throws javax.portlet.WindowStateException
setWindowState in interface javax.portlet.MutableRenderStatejavax.portlet.WindowStateExceptionpublic void setWindowStateRestoreCurrentView(boolean windowStateRestoreCurrentView)
setWindowStateRestoreCurrentView in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic String toString()
toString in interface javax.portlet.BaseURLtoString in class Objectpublic void visitReservedParameters(BiConsumer<String,String> biConsumer)
visitReservedParameters in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic void write(Writer writer)
throws IOException
write in interface javax.portlet.BaseURLIOExceptionpublic void write(Writer writer,
boolean escapeXml)
throws IOException
write in interface javax.portlet.BaseURLIOExceptionprotected void clearCache()
protected String generateToString()
protected String getPublicRenderParameterName(String name)
protected String processValue(Key key,
long value)
protected String processValue(Key key,
String value)