Author: arunpatidar
Date: Sat Sep 3 16:02:06 2016
New Revision: 1759098
URL:
http://svn.apache.org/viewvc?rev=1759098&view=revLog:
Applied patch from jira issue - OFBIZ-8059 - Added CRUD services for ContactListType entity . Thanks Amit Gadaley and Rishi Solanki for your contribution.
Added:
ofbiz/trunk/applications/marketing/servicedef/services_contact.xml
Modified:
ofbiz/trunk/applications/marketing/ofbiz-component.xml
Modified: ofbiz/trunk/applications/marketing/ofbiz-component.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/ofbiz-component.xml?rev=1759098&r1=1759097&r2=1759098&view=diff==============================================================================
--- ofbiz/trunk/applications/marketing/ofbiz-component.xml (original)
+++ ofbiz/trunk/applications/marketing/ofbiz-component.xml Sat Sep 3 16:02:06 2016
@@ -33,6 +33,7 @@ under the License.
<entity-resource type="data" reader-name="demo" loader="main" location="data/sfaDemoData.xml"/>
<service-resource type="model" loader="main" location="servicedef/services.xml"/>
+ <service-resource type="model" loader="main" location="servicedef/services_contact.xml"/>
<service-resource type="model" loader="main" location="servicedef/services_opportunity.xml"/>
<service-resource type="eca" loader="main" location="servicedef/secas.xml"/>
Added: ofbiz/trunk/applications/marketing/servicedef/services_contact.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/servicedef/services_contact.xml?rev=1759098&view=auto==============================================================================
--- ofbiz/trunk/applications/marketing/servicedef/services_contact.xml (added)
+++ ofbiz/trunk/applications/marketing/servicedef/services_contact.xml Sat Sep 3 16:02:06 2016
@@ -0,0 +1,23 @@
+<?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>Order Contact Services</description>
+ <vendor>OFBiz</vendor>
+
+ <service name="createContactListType" default-entity-name="ContactListType" engine="entity-auto" invoke="create" auth="true">
+ <description>Create a new Contact List Type Record</description>
+ <auto-attributes mode="INOUT" include="pk" optional="true"/>
+ <auto-attributes mode="IN" include="nonpk" optional="true"/>
+ </service>
+ <service name="updateContactListType" default-entity-name="ContactListType" engine="entity-auto" invoke="update" auth="true">
+ <description>Update a Contact List Type Record</description>
+ <auto-attributes mode="IN" include="pk"/>
+ <auto-attributes mode="IN" include="nonpk" optional="true"/>
+ </service>
+ <service name="deleteContactListType" default-entity-name="ContactListType" engine="entity-auto" invoke="delete" auth="true">
+ <description>Delete a Contact List Type Record</description>
+ <auto-attributes mode="IN" include="pk"/>
+ <auto-attributes mode="IN" include="nonpk" optional="true"/>
+ </service>
+</services>