Class PortletURLWrapper

java.lang.Object
com.liferay.portal.kernel.portlet.PortletURLWrapper
All Implemented Interfaces:
javax.portlet.BaseURL, javax.portlet.Mutable, javax.portlet.MutableRenderState, javax.portlet.PortletURL, javax.portlet.RenderState

public class PortletURLWrapper extends Object implements javax.portlet.PortletURL
Author:
Brian Wing Shun Chan
  • Constructor Details

    • PortletURLWrapper

      public PortletURLWrapper(javax.portlet.PortletURL portletURL)
  • Method Details

    • addProperty

      public void addProperty(String key, String value)
      Specified by:
      addProperty in interface javax.portlet.BaseURL
    • append

      public Appendable append(Appendable appendable) throws IOException
      Specified by:
      append in interface javax.portlet.BaseURL
      Throws:
      IOException
    • append

      public Appendable append(Appendable appendable, boolean escapeXML) throws IOException
      Specified by:
      append in interface javax.portlet.BaseURL
      Throws:
      IOException
    • getParameterMap

      public Map<String,String[]> getParameterMap()
      Specified by:
      getParameterMap in interface javax.portlet.BaseURL
    • getPortletMode

      public javax.portlet.PortletMode getPortletMode()
      Specified by:
      getPortletMode in interface javax.portlet.RenderState
    • getRenderParameters

      public javax.portlet.MutableRenderParameters getRenderParameters()
      Specified by:
      getRenderParameters in interface javax.portlet.MutableRenderState
      Specified by:
      getRenderParameters in interface javax.portlet.RenderState
    • getWindowState

      public javax.portlet.WindowState getWindowState()
      Specified by:
      getWindowState in interface javax.portlet.RenderState
    • removePublicRenderParameter

      public void removePublicRenderParameter(String name)
      Specified by:
      removePublicRenderParameter in interface javax.portlet.PortletURL
    • setBeanParameter

      public void setBeanParameter(javax.portlet.annotations.PortletSerializable portletSerializable)
      Specified by:
      setBeanParameter in interface javax.portlet.PortletURL
    • setParameter

      public void setParameter(String name, String value)
      Specified by:
      setParameter in interface javax.portlet.BaseURL
    • setParameter

      public void setParameter(String name, String[] values)
      Specified by:
      setParameter in interface javax.portlet.BaseURL
    • setParameters

      public void setParameters(Map<String,String[]> parameters)
      Specified by:
      setParameters in interface javax.portlet.BaseURL
    • setPortletMode

      public void setPortletMode(javax.portlet.PortletMode portletMode) throws javax.portlet.PortletModeException
      Specified by:
      setPortletMode in interface javax.portlet.MutableRenderState
      Throws:
      javax.portlet.PortletModeException
    • setProperty

      public void setProperty(String key, String value)
      Specified by:
      setProperty in interface javax.portlet.BaseURL
    • setSecure

      public void setSecure(boolean secure) throws javax.portlet.PortletSecurityException
      Specified by:
      setSecure in interface javax.portlet.BaseURL
      Throws:
      javax.portlet.PortletSecurityException
    • setWindowState

      public void setWindowState(javax.portlet.WindowState windowState) throws javax.portlet.WindowStateException
      Specified by:
      setWindowState in interface javax.portlet.MutableRenderState
      Throws:
      javax.portlet.WindowStateException
    • toString

      public String toString()
      Specified by:
      toString in interface javax.portlet.BaseURL
      Overrides:
      toString in class Object
    • write

      public void write(Writer writer) throws IOException
      Specified by:
      write in interface javax.portlet.BaseURL
      Throws:
      IOException
    • write

      public void write(Writer writer, boolean escapeXML) throws IOException
      Specified by:
      write in interface javax.portlet.BaseURL
      Throws:
      IOException