svn commit: r1761136 - in /ofbiz/trunk: applications/accounting/servicedef/services_payment.xml applications/content/servicedef/services_data.xml framework/common/servicedef/services_method.xml

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

svn commit: r1761136 - in /ofbiz/trunk: applications/accounting/servicedef/services_payment.xml applications/content/servicedef/services_data.xml framework/common/servicedef/services_method.xml

Arun Patidar-4
Author: arunpatidar
Date: Sat Sep 17 07:17:36 2016
New Revision: 1761136

URL: http://svn.apache.org/viewvc?rev=1761136&view=rev
Log:
Implemented: Added CRUD services for Deduction, DataTemplateType and CustomMethodType entity.
(OFBIZ-8035) (OFBIZ-8045)(OFBIZ-8046)

Thanks: Amit Gadaley for the contribution.

Modified:
    ofbiz/trunk/applications/accounting/servicedef/services_payment.xml
    ofbiz/trunk/applications/content/servicedef/services_data.xml
    ofbiz/trunk/framework/common/servicedef/services_method.xml

Modified: ofbiz/trunk/applications/accounting/servicedef/services_payment.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_payment.xml?rev=1761136&r1=1761135&r2=1761136&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/services_payment.xml (original)
+++ ofbiz/trunk/applications/accounting/servicedef/services_payment.xml Sat Sep 17 07:17:36 2016
@@ -282,4 +282,18 @@ under the License.
     <service name="deleteBillingAccountTermAttr" engine="entity-auto" default-entity-name="BillingAccountTermAttr" invoke="delete" auth="true">
         <auto-attributes include="pk" mode="IN" optional="false"/>
     </service>
+    <service name="createDeduction" engine="entity-auto" invoke="create" default-entity-name="Deduction" auth="true">
+        <description>Create a Deduction record</description>
+        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateDeduction" engine="entity-auto" invoke="update" default-entity-name="Deduction" auth="true">
+        <description>Update a Deduction record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteDeduction" engine="entity-auto" invoke="delete" default-entity-name="Deduction" auth="true">
+        <description>Delete a Deduction record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
 </services>

Modified: ofbiz/trunk/applications/content/servicedef/services_data.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/servicedef/services_data.xml?rev=1761136&r1=1761135&r2=1761136&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/servicedef/services_data.xml (original)
+++ ofbiz/trunk/applications/content/servicedef/services_data.xml Sat Sep 17 07:17:36 2016
@@ -280,5 +280,20 @@
             location="org.apache.ofbiz.content.data.DataServices" invoke="clearAssociatedRenderCache">
         <auto-attributes include="pk" mode="IN" />
     </service>
+    
+    <service name="createDataTemplateType" engine="entity-auto" invoke="create" default-entity-name="DataTemplateType" auth="true">
+        <description>Create a Data Template Type</description>
+        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateDataTemplateType" engine="entity-auto" invoke="update" default-entity-name="DataTemplateType" auth="true">
+        <description>Update a Data Template Type</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteDataTemplateType" engine="entity-auto" invoke="delete" default-entity-name="DataTemplateType" auth="true">
+        <description>Delete a Data Template Type</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
 
 </services>

Modified: ofbiz/trunk/framework/common/servicedef/services_method.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/servicedef/services_method.xml?rev=1761136&r1=1761135&r2=1761136&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/servicedef/services_method.xml (original)
+++ ofbiz/trunk/framework/common/servicedef/services_method.xml Sat Sep 17 07:17:36 2016
@@ -38,5 +38,19 @@ under the License.
         <description>Delete a Custom Method</description>
         <auto-attributes include="pk" mode="IN"/>
     </service>
+
+    <service name="createCustomMethodType" engine="entity-auto" invoke="create" default-entity-name="CustomMethodType" auth="true"+        <description>Create a Custom Method Type</description>
+        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateCustomMethodType" engine="entity-auto" invoke="update" default-entity-name="CustomMethodType" auth="true">
+        <description>Update a Custom Method Type</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteCustomMethodType" engine="entity-auto" invoke="delete" default-entity-name="CustomMethodType" auth="true">
+        <description>Delete a Custom Method Type</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
     
 </services>