public class PortletURLImpl extends Object implements com.liferay.portal.kernel.portlet.LiferayPortletURL, PortletURL, ResourceURL, Serializable
FULL, PAGE, PORTLET, SHARED| Modifier | Constructor and Description |
|---|---|
|
PortletURLImpl(javax.servlet.http.HttpServletRequest request,
String portletId,
com.liferay.portal.kernel.model.Layout layout,
String lifecycle) |
|
PortletURLImpl(javax.servlet.http.HttpServletRequest request,
String portletId,
long plid,
String lifecycle) |
protected |
PortletURLImpl(javax.servlet.http.HttpServletRequest request,
String portletId,
PortletRequest portletRequest,
long plid,
String lifecycle) |
|
PortletURLImpl(PortletRequest portletRequest,
String portletId,
com.liferay.portal.kernel.model.Layout layout,
String lifecycle) |
|
PortletURLImpl(PortletRequest portletRequest,
String portletId,
long plid,
String lifecycle) |
public PortletURLImpl(javax.servlet.http.HttpServletRequest request,
String portletId,
com.liferay.portal.kernel.model.Layout layout,
String lifecycle)
public PortletURLImpl(javax.servlet.http.HttpServletRequest request,
String portletId,
long plid,
String lifecycle)
public PortletURLImpl(PortletRequest portletRequest, String portletId, com.liferay.portal.kernel.model.Layout layout, String lifecycle)
public PortletURLImpl(PortletRequest portletRequest, String portletId, long plid, String lifecycle)
protected PortletURLImpl(javax.servlet.http.HttpServletRequest request,
String portletId,
PortletRequest portletRequest,
long plid,
String lifecycle)
public void addParameterIncludedInPath(String name)
addParameterIncludedInPath in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic void addProperty(String key, String value)
addProperty in interface BaseURLpublic String getCacheability()
getCacheability in interface 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()
public 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 com.liferay.portal.kernel.model.Portlet getPortlet()
public String getPortletFriendlyURLPath()
public String getPortletId()
getPortletId in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic PortletMode getPortletMode()
getPortletMode in interface PortletURLpublic PortletRequest getPortletRequest()
public Set<String> getRemovedParameterNames()
getRemovedParameterNames in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic Map<String,String> getReservedParameterMap()
getReservedParameterMap in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic String getResourceID()
getResourceID in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic WindowState getWindowState()
getWindowState in interface PortletURLpublic 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 setCacheability(String cacheability)
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 value, boolean append)
setParameter in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic void setParameter(String name, String[] values)
setParameter in interface BaseURLpublic void setParameter(String name, String[] values, boolean append)
setParameter in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic void setParameters(Map<String,String[]> params)
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 PortletURLPortletModeExceptionpublic void setPortletMode(String portletMode) throws PortletModeException
PortletModeExceptionpublic void setProperty(String key, 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> removedParameterNames)
setRemovedParameterNames in interface com.liferay.portal.kernel.portlet.LiferayPortletURLpublic void setResourceID(String resourceID)
setResourceID in interface ResourceURLpublic void setWindowState(String windowState) throws WindowStateException
WindowStateExceptionpublic void setWindowState(WindowState windowState) throws WindowStateException
setWindowState in interface PortletURLWindowStateExceptionpublic void setWindowStateRestoreCurrentView(boolean windowStateRestoreCurrentView)
public String toString()
public void write(Writer writer) throws IOException
write in interface BaseURLIOExceptionpublic void write(Writer writer, boolean escapeXml) throws IOException
write in interface BaseURLIOExceptionprotected void addPortalAuthToken(com.liferay.portal.kernel.util.StringBundler sb,
Key key)
protected void addPortletAuthToken(com.liferay.portal.kernel.util.StringBundler sb,
Key key)
protected void clearCache()
protected String generateToString()
protected String generateWSRPToString()
protected boolean isBlankValue(String[] value)
protected void mergeRenderParameters()
protected void removeParameter(String name)