Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-54752

Simplify and make more flexible the API to obtain the settings for portlets and services

    Details

      Description

      The current API offers methods like this:

      public Settings getCompanyServiceSettings(
         long companyId, String serviceName)
      public Settings getGroupServiceSettings(long groupId, String serviceName)
      public Settings getPortletInstanceSettings(Layout layout, String portletId)
      

      And the idea is to change it to something like this:

      public Settings getSettings(SettingsLocator locator)
      

      SettingsLocator will provide a typed API for the most common cases (settings per company, group or portletInstance) but can also provide more advanced filters like what OSGi's ConfigAdmin provides.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lawrence.lee Lawrence Lee
                Reporter:
                jorge.ferrer Jorge Ferrer
                Recent user:
                Shalaka Tendulkar
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  7.0.0 M5