Author: arunpatidar
Date: Wed Aug 31 14:48:57 2016
New Revision: 1758614
URL:
http://svn.apache.org/viewvc?rev=1758614&view=revLog:
Applied patch from jira issue - OFBIZ-7861 - Added CRUD services for AgreementItemType entity . Thanks Amit Gadaley for your contribution.
Added:
ofbiz/trunk/applications/party/servicedef/services_agreement.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=1758614&r1=1758613&r2=1758614&view=diff==============================================================================
--- ofbiz/trunk/applications/party/ofbiz-component.xml (original)
+++ ofbiz/trunk/applications/party/ofbiz-component.xml Wed Aug 31 14:48:57 2016
@@ -33,6 +33,7 @@ under the License.
<entity-resource type="data" reader-name="demo" loader="main" location="data/PartyDemoData.xml"/>
<entity-resource type="data" reader-name="seed-initial" loader="main" location="data/ScheduledJobs.xml"/>
<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_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_agreement.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/servicedef/services_agreement.xml?rev=1758614&view=auto==============================================================================
--- ofbiz/trunk/applications/party/servicedef/services_agreement.xml (added)
+++ ofbiz/trunk/applications/party/servicedef/services_agreement.xml Wed Aug 31 14:48:57 2016
@@ -0,0 +1,24 @@
+<?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 Component Services</description>
+ <vendor>OFBiz</vendor>
+ <version>1.0</version>
+
+ <!-- Agreement item type services -->
+ <service name="createAgreementItemType" default-entity-name="AgreementItemType" engine="entity-auto" invoke="create" auth="true">
+ <description>Create a AgreementItemType record</description>
+ <auto-attributes mode="INOUT" include="pk" optional="true"/>
+ <auto-attributes mode="IN" include="nonpk" optional="true"/>
+ </service>
+ <service name="updateAgreementItemType" default-entity-name="AgreementItemType" engine="entity-auto" invoke="update" auth="true">
+ <description>Update a AgreementItemType record</description>
+ <auto-attributes mode="IN" include="pk"/>
+ <auto-attributes mode="IN" include="nonpk" optional="true"/>
+ </service>
+ <service name="deleteAgreementItemType" default-entity-name="AgreementItemType" engine="entity-auto" invoke="delete" auth="true">
+ <description>Delete an AgreementItemType record</description>
+ <auto-attributes mode="IN" include="pk"/>
+ </service>
+</services>