Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-73282 Implement Portlet 3.0
  3. LPS-82119

Portlet 3.0: Decouple PortletURLImplWrapper, LiferayStrutsPortletURLImpl, and StrutsActionPortletURL class hierarchy from PortletURLImpl

    Details

    • Type: Technical Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: Master
    • Component/s: None
    • Labels:
      None

      Description

      The purpose of this task is to move all of the classes that implement javax.portlet.BaseURL to the com.liferay.portlet.internal sub-package.

      In order to accomplish this, constructors for the following classes must be refactored to receive com.liferay.portal.kernel.portlet.LiferayPortletResponse instead of com.liferay.portlet.PortletResponseImpl. In addition, their class hierarchies must be changed as follows:

      com.liferay.portlet.PortletURLImplWrapper (BEFORE)

      com.liferay.portlet.PortletURLImpl
      com.liferay.portlet.PortletURLImplWrapper

      com.liferay.portlet.PortletURLImplWrapper (AFTER)

      javax.portlet.filter.RenderStateWrapper
      javax.portlet.filter.BaseURLWrapper
      javax.portlet.filter.PortletURLWrapper
      com.liferay.portal.kernel.portlet.LiferayPortletURLWrapper
      com.liferay.portlet.PortletURLImplWrapper

      com.liferay.portal.apache.bridges.struts.LiferayStrutsPortletURLImpl (BEFORE)

      com.liferay.portlet.PortletURLImpl
      com.liferay.portlet.PortletURLImplWrapper
      com.liferay.portal.apache.bridges.struts.LiferayStrutsPortletURLImpl

      com.liferay.portal.apache.bridges.struts.LiferayStrutsPortletURLImpl (AFTER)

      javax.portlet.filter.RenderStateWrapper
      javax.portlet.filter.BaseURLWrapper
      javax.portlet.filter.PortletURLWrapper
      com.liferay.portal.kernel.portlet.LiferayPortletURLWrapper
      com.liferay.portlet.PortletURLImplWrapper
      com.liferay.portal.apache.bridges.struts.LiferayStrutsPortletURLImpl

      com.liferay.portal.struts.StrutsActionPortletURL (BEFORE)

      com.liferay.portlet.PortletURLImpl
      com.liferay.portlet.PortletURLImplWrapper
      com.liferay.portal.struts.StrutsActionPortletURL

      com.liferay.portal.struts.StrutsActionPortletURL (AFTER)

      javax.portlet.filter.RenderStateWrapper
      javax.portlet.filter.BaseURLWrapper
      javax.portlet.filter.PortletURLWrapper
      com.liferay.portal.kernel.portlet.LiferayPortletURLWrapper
      com.liferay.portlet.PortletURLImplWrapper
      com.liferay.portal.struts.StrutsActionPortletURL

        Attachments

          Activity

            People

            • Assignee:
              brian.chan Brian Chan
              Reporter:
              neil.griffin Neil Griffin
              Recent user:
              Brian Chan
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 14 weeks, 3 days ago

                Packages

                Version Package
                Master