Skip to content

Commit

Permalink
Improved: Convert createMarketingCampaignRole service to entity-auto …
Browse files Browse the repository at this point in the history
…service

(OFBIZ-9551)
Thanks Suraj Khurana and Nicolas Malin for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857546 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
dixitdeepak committed Apr 15, 2019
1 parent 3300682 commit bb7b887
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 49 deletions.

This file was deleted.

6 changes: 3 additions & 3 deletions applications/marketing/servicedef/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@ under the License.
</service>

<!-- MarketingCampaignRole Services -->
<service name="createMarketingCampaignRole" default-entity-name="MarketingCampaignRole" engine="simple"
location="component://marketing/minilang/marketing/campaign/CampaignServices.xml" invoke="createMarketingCampaignRole" auth="true">
<service name="createMarketingCampaignRole" default-entity-name="MarketingCampaignRole" engine="entity-auto" invoke="create" auth="true">
<description>Add Role to Campaign</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
<permission-service service-name="marketingPermissionService" main-action="CREATE"/>
<auto-attributes include="pk" mode="IN"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
</service>
<service name="updateMarketingCampaignRole" default-entity-name="MarketingCampaignRole" engine="entity-auto" invoke="update" auth="true">
Expand Down

0 comments on commit bb7b887

Please sign in to comment.