Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 5.1.2, 5.2.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Branch Version/s:
      5.2.x, 5.1.x
    • Backported to Branch:
      Committed

      Description

      We currently code lots of :

      import com.liferay.portal.SystemException;
      import com.liferay.portal.util.PortalUtil;

      public String getUserUuid() throws SystemException

      { return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); }

      public void setUserUuid(String userUuid)

      { _userUuid = userUuid; }

      private String _userUuid;

      This change modifies ServiceBuilder to automaticaly generate that method if you have a column name of *userId

      So if you have a column called banUserId, it'll generate getBanUserUuid and setBanUserUuid

      This is 100% backwards compatible and just makes it so previously hard coded methods are now generated.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              brian.chan Brian Chan
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                12 years, 30 weeks ago

                  Packages

                  Version Package