svn commit: r1759881 - /ofbiz/trunk/framework/common/servicedef/services_geo.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1759881 - /ofbiz/trunk/framework/common/servicedef/services_geo.xml

Arun Patidar-4
Author: arunpatidar
Date: Thu Sep  8 18:25:16 2016
New Revision: 1759881

URL: http://svn.apache.org/viewvc?rev=1759881&view=rev
Log:
Applied patch for "Added CRUD services for CountryCode entity"  from issue [OFBIZ-8093]

Thanks Amit Gadaley and Rishi Solanki for your contribution.

Modified:
    ofbiz/trunk/framework/common/servicedef/services_geo.xml

Modified: ofbiz/trunk/framework/common/servicedef/services_geo.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/servicedef/services_geo.xml?rev=1759881&r1=1759880&r2=1759881&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/servicedef/services_geo.xml (original)
+++ ofbiz/trunk/framework/common/servicedef/services_geo.xml Thu Sep  8 18:25:16 2016
@@ -20,5 +20,20 @@
         <description>Delete a Country Capital</description>
         <auto-attributes include="pk" mode="IN"/>
     </service>
+
+    <service name="createCountryCode" engine="entity-auto" invoke="create" default-entity-name="CountryCode" auth="true">
+        <description>Create a Country Code</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateCountryCode" engine="entity-auto" invoke="update" default-entity-name="CountryCode" auth="true">
+        <description>Update a Country Code</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteCountryCode" engine="entity-auto" invoke="delete" default-entity-name="CountryCode" auth="true">
+        <description>Delete a Country Code</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
     
 </services>