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

As a Developer, I want ConstantsBeanFactory to return methods also and not just constants

Details

    • Story
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • Core Infrastructure
    • None

    Description

      ConstantsBeanFactory only create getters for static final fields. Can we improve this factory to return methods that are used in the classes.

      Example:
      WorkflowConstants.java contains getLabelStatus(String label), getStatusCssClass(int status)...

      Would like to be able to call these methods also from the Object that gets returned from ConstantsBeanFactory.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wesley.gong Wesley Gong
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package