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

Added convenience method for setting expando bridge attributes

Details

    Description

      A new convenience method has been added for setting expando bridge attributes. All model classes generated by service builder will now have the following method:

      public void setExpandoBridgeAttributes(ServiceContext serviceContext)

      For example, the following

      ExpandoBridge expandoBridge = user.getExpandoBridge();
      expandoBridge.setAttributes(serviceContext);

      can now be replaced with

      user.setExpandoBridgeAttributes(serviceContext);

      Attachments

        Issue Links

          Activity

            People

              samuel.kong Samuel Kong
              brian.chan Brian Chan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  5.2 EE SP2 (5.2.6)