Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-1087

Service builder will now auto-generate localization methods

    Details

      Description

      If localized=true is set in portal-model-hints, service builder will now automatically generate all the methods for localizing the column.

      The new methods that will be added are:
      public type getXXX(Locale locale);
      public type getXXX(Locale locale, boolean useDefault);
      public type getXXX(String languageId);
      public String getXXX(String languageId, boolean useDefault);
      public Map<Locale, String> getXXXMap();
      public void setXXX(Locale locale, String XXX);
      public void setXXXMap(Map<Locale, String> XXXMap);

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-ee EE Support
              Reporter:
              samuel.kong Samuel Kong
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  5.1 EE SP3 (5.1.6)
                  5.2 EE SP1 (5.2.5)