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

Portlet 3.0: Extract the private PortletResponseImpl.LiferayPortletURLPrivilegedAction into separate "internal" class

    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 PortletResponseImpl.java class currently has the following private inner class:

      PortletResponseImpl.java
      	private class LiferayPortletURLPrivilegedAction
      		implements PrivilegedAction<LiferayPortletURL> {
      	    ...
      	}
      

      In order to accommodate forthcoming Portlet 3.0 features like generating the back-end "render state" JSON for the front-end Hub, it is necessary to extract the LiferayPortletURLPrivilegedAction inner class into a separate class with FQCN com.liferay.portlet.internal.LiferayPortletURLPrivilegedAction. This will enable both LiferayPortletResponseImpl and the RenderStateUtil to create PortletURLs.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 27 weeks, 3 days ago

                Packages

                Version Package
                Master