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

    • Type: Story
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core Infrastructure
    • Labels:
      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

              • Assignee:
                Unassigned
                Reporter:
                wesley.gong Wesley Gong
                Recent user:
                Ethan Bustad
                Participants of an Issue:
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package