svn commit: r1759099 - in /ofbiz/trunk/applications/party: ofbiz-component.xml servicedef/services_contact.xml

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

svn commit: r1759099 - in /ofbiz/trunk/applications/party: ofbiz-component.xml servicedef/services_contact.xml

Arun Patidar-4
Author: arunpatidar
Date: Sat Sep  3 16:10:12 2016
New Revision: 1759099

URL: http://svn.apache.org/viewvc?rev=1759099&view=rev
Log:
Applied patch from jira issue - OFBIZ-8060 - Added CRUD services for ContactMechPurposeType entity . Thanks Amit Gadaley and Rishi Solanki for your contribution.

Added:
    ofbiz/trunk/applications/party/servicedef/services_contact.xml
Modified:
    ofbiz/trunk/applications/party/ofbiz-component.xml

Modified: ofbiz/trunk/applications/party/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/ofbiz-component.xml?rev=1759099&r1=1759098&r2=1759099&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/ofbiz-component.xml (original)
+++ ofbiz/trunk/applications/party/ofbiz-component.xml Sat Sep  3 16:10:12 2016
@@ -35,6 +35,7 @@ under the License.
     <service-resource type="model" loader="main" location="servicedef/services.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_agreement.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_communication.xml"/>
+    <service-resource type="model" loader="main" location="servicedef/services_contact.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_view.xml"/>
     <service-resource type="eca" loader="main" location="servicedef/secas.xml"/>
     <service-resource type="mca" loader="main" location="servicedef/mcas.xml"/>

Added: ofbiz/trunk/applications/party/servicedef/services_contact.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/servicedef/services_contact.xml?rev=1759099&view=auto
==============================================================================
--- ofbiz/trunk/applications/party/servicedef/services_contact.xml (added)
+++ ofbiz/trunk/applications/party/servicedef/services_contact.xml Sat Sep  3 16:10:12 2016
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/services.xsd">
+    <description>Party Contact Services</description>
+    <vendor>OFBiz</vendor>
+    <version>1.0</version>
+
+    <!-- Party contact services -->
+    <service name="createContactMechPurposeType" default-entity-name="ContactMechPurposeType" engine="entity-auto" invoke="create" auth="true">
+        <description>Create a new ContactMech Purpose Type Record</description>
+        <auto-attributes mode="INOUT" include="pk" optional="true"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    <service name="updateContactMechPurposeType" default-entity-name="ContactMechPurposeType" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a ContactMech Purpose Type Record</description>
+        <auto-attributes mode="IN" include="pk"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    <service name="deleteContactMechPurposeType" default-entity-name="ContactMechPurposeType" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a ContactMech Purpose Type Record</description>
+        <auto-attributes mode="IN" include="pk"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    
+</services>