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

Create metadata classes to describe the structure of high level settings objects

    Details

      Description

      Right now, all metainformation about the high level settings structure is stored inside the high level settings classes and contained in static arrays, fallback keys objects, etc. (Example: DLSetting.ALL_KEYS, DLSettings.MULTI_VALUE_KEYS, and DLSettings.getFallbackKeys()).

      We should move this to a metadata class that the SettingsFactory could return upon request of the portal infrastructure classes. That class would allow to get the programatic description of the settings structure. It would be similar in spirit to the metadata classes of JDBC that describe the tables, or the reflection classes in the JDK.

      That would simplify a lot writing classes that deal generically with Settings like, for example, ConfigurationActionImpl classes, upgrade processes, etc. and would provide a path to provide more meta info about the configuration settings in the future (example: validations, formats, typing, etc.)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                support-lep@liferay.com SE Support
                Reporter:
                ivan.zaera Ivan Zaera
                Recent user:
                Shalaka Tendulkar
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Packages

                  Version Package