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

Service Builder will now automatically generate a reference to Counter and Resource

Details

    Description

      Service Builder will now automatically generate a reference to "com.liferay.counter.Counter" and "com.liferay.portal.Resource" because these two reference are almost always added.

      For example:

      <entity name="MyObject" local-service="true" remote-service="true">
      ...
      <reference package-path="com.liferay.counter" entity="Counter" />
      <reference package-path="com.liferay.portal" entity="Resource" />
      <reference package-path="com.example" entity="Widget" />
      </entity>

      can now be simplified to:

      <entity name="MyObject" local-service="true" remote-service="true">
      ...
      <reference package-path="com.example" entity="Widget" />
      </entity>

      because the Counter and Resource reference will now automatically be added.

      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.1 EE SP4 (5.1.7)
                  5.2 EE SP2 (5.2.6)