Author: arunpatidar
Date: Wed Aug 31 15:09:03 2016
New Revision: 1758618
URL:
http://svn.apache.org/viewvc?rev=1758618&view=revLog:
Applied patch from jira issue - OFBIZ-7874 - Added CRUD services for AgreementItemType entity . Thanks Amit Gadaley and Rishi Solanki for your contribution.
Added:
ofbiz/trunk/applications/humanres/servicedef/services_employment.xml
Modified:
ofbiz/trunk/applications/humanres/ofbiz-component.xml
Modified: ofbiz/trunk/applications/humanres/ofbiz-component.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/ofbiz-component.xml?rev=1758618&r1=1758617&r2=1758618&view=diff==============================================================================
--- ofbiz/trunk/applications/humanres/ofbiz-component.xml (original)
+++ ofbiz/trunk/applications/humanres/ofbiz-component.xml Wed Aug 31 15:09:03 2016
@@ -32,6 +32,7 @@ under the License.
<entity-resource type="data" reader-name="seed" loader="main" location="data/HumanResPortletData.xml"/>
<entity-resource type="data" reader-name="demo" loader="main" location="data/HumanResDemoData.xml"/>
<service-resource type="model" loader="main" location="servicedef/services.xml"/>
+ <service-resource type="model" loader="main" location="servicedef/services_employment.xml"/>
<service-resource type="model" loader="main" location="servicedef/services_upgrade.xml"/>
<webapp name="humanres"
Added: ofbiz/trunk/applications/humanres/servicedef/services_employment.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/servicedef/services_employment.xml?rev=1758618&view=auto==============================================================================
--- ofbiz/trunk/applications/humanres/servicedef/services_employment.xml (added)
+++ ofbiz/trunk/applications/humanres/servicedef/services_employment.xml Wed Aug 31 15:09:03 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>Humanres Services</description>
+ <vendor>OFBiz</vendor>
+
+ <!-- Benefit type services -->
+ <service name="createBenefitType" default-entity-name="BenefitType" engine="entity-auto" invoke="create" auth="true">
+ <description>Create a BenefitType record</description>
+ <auto-attributes mode="INOUT" include="pk" optional="true"/>
+ <auto-attributes mode="IN" include="nonpk" optional="true"/>
+ </service>
+ <service name="updateBenefitType" default-entity-name="BenefitType" engine="entity-auto" invoke="update" auth="true">
+ <description>Update a BenefitType record</description>
+ <auto-attributes mode="IN" include="pk"/>
+ <auto-attributes mode="IN" include="nonpk" optional="true"/>
+ </service>
+ <service name="deleteBenefitType" default-entity-name="BenefitType" engine="entity-auto" invoke="delete" auth="true">
+ <description>Delete a BenefitType record</description>
+ <auto-attributes mode="IN" include="pk"/>
+ </service>
+</services>