Java com.liferay.portal.kernel.portlet LiferayPortletURL fields, constructors, methods, implement or subclass

Example usage for Java com.liferay.portal.kernel.portlet LiferayPortletURL fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.liferay.portal.kernel.portlet LiferayPortletURL.

The text is from its open source code.

Method

voidaddParameterIncludedInPath(String name)
Adds a parameter that is included in the friendly URL path and does not need to appear in the query string.
StringgetLifecycle()
Returns the portlet lifecycle of this URL's target portlet.
StringgetParameter(String name)
StringgetPortletId()
Returns the ID of this URL's target portlet.
voidsetAnchor(boolean anchor)
Sets whether this URL is an anchor pointing to the specified portlet on the page.
voidsetCopyCurrentRenderParameters(boolean copyCurrentRenderParameters)
Sets whether the render parameters in the current request should be copied to this URL.
voidsetDoAsGroupId(long doAsGroupId)
voidsetDoAsUserId(long doAsUserId)
Sets the ID of the user to impersonate.
voidsetEncrypt(boolean encrypt)
Sets whether this URL should be encrypted.
voidsetEscapeXml(boolean escapeXml)
Sets whether this URL should be XML escaped.
voidsetLifecycle(String lifecycle)
Sets the portlet lifecycle of this URL's target portlet.
voidsetParameter(String name, String value, boolean append)
voidsetParameter(String name, String[] values, boolean append)
voidsetPlid(long plid)
Sets the portlet layout ID.
voidsetPortletId(String portletId)
Sets the ID of the target portlet.
voidsetRefererPlid(long refererPlid)
Sets the referer layout ID.