svn commit: r1761140 - in /ofbiz/trunk/applications: accounting/servicedef/services_payment.xml workeffort/ofbiz-component.xml workeffort/servicedef/services_workeffort.xml

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

svn commit: r1761140 - in /ofbiz/trunk/applications: accounting/servicedef/services_payment.xml workeffort/ofbiz-component.xml workeffort/servicedef/services_workeffort.xml

Arun Patidar-4
Author: arunpatidar
Date: Sat Sep 17 07:44:56 2016
New Revision: 1761140

URL: http://svn.apache.org/viewvc?rev=1761140&view=rev
Log:
Implemented: Added CRUD services for DeductionType, Deliverable and DeliverableType entity.
(OFBIZ-8047) (OFBIZ-8048)(OFBIZ-8049)

Thanks: Amit Gadaley for the contribution.

Added:
    ofbiz/trunk/applications/workeffort/servicedef/services_workeffort.xml
Modified:
    ofbiz/trunk/applications/accounting/servicedef/services_payment.xml
    ofbiz/trunk/applications/workeffort/ofbiz-component.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=1761140&r1=1761139&r2=1761140&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/services_payment.xml (original)
+++ ofbiz/trunk/applications/accounting/servicedef/services_payment.xml Sat Sep 17 07:44:56 2016
@@ -296,4 +296,18 @@ under the License.
         <description>Delete a Deduction record</description>
         <auto-attributes include="pk" mode="IN"/>
     </service>
+    <service name="createDeductionType" engine="entity-auto" invoke="create" default-entity-name="DeductionType" auth="true">
+        <description>Create a Deduction Type record</description>
+        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateDeductionType" engine="entity-auto" invoke="update" default-entity-name="DeductionType" auth="true">
+        <description>Update a Deduction Type record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteDeductionType" engine="entity-auto" invoke="delete" default-entity-name="DeductionType" auth="true">
+        <description>Delete a Deduction Type record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
 </services>

Modified: ofbiz/trunk/applications/workeffort/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/ofbiz-component.xml?rev=1761140&r1=1761139&r2=1761140&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/ofbiz-component.xml (original)
+++ ofbiz/trunk/applications/workeffort/ofbiz-component.xml Sat Sep 17 07:44:56 2016
@@ -40,6 +40,7 @@ under the License.
     <service-resource type="model" loader="main" location="servicedef/services.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_timesheet.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_upgrade.xml"/>
+    <service-resource type="model" loader="main" location="servicedef/services_workeffort.xml"/>
     <service-resource type="eca" loader="main" location="servicedef/secas.xml"/>
     <service-resource type="group" loader="main" location="servicedef/service_groups.xml"/>
 

Added: ofbiz/trunk/applications/workeffort/servicedef/services_workeffort.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/servicedef/services_workeffort.xml?rev=1761140&view=auto
==============================================================================
--- ofbiz/trunk/applications/workeffort/servicedef/services_workeffort.xml (added)
+++ ofbiz/trunk/applications/workeffort/servicedef/services_workeffort.xml Sat Sep 17 07:44:56 2016
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/services.xsd">
+    <description>WorkEffort WorkEffort Services</description>
+    <vendor>OFBiz</vendor>
+    <version>1.0</version>
+
+    <!-- WorkEffort Services -->
+    <service name="createDeliverable" engine="entity-auto" invoke="create" default-entity-name="Deliverable" auth="true">
+        <description>Create a Deliverable record</description>
+        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateDeliverable" engine="entity-auto" invoke="update" default-entity-name="Deliverable" auth="true">
+        <description>Update a Deliverable record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteDeliverable" engine="entity-auto" invoke="delete" default-entity-name="Deliverable" auth="true">
+        <description>Delete a Deliverable record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
+
+    <!-- WorkEffort Services -->
+    <service name="createDeliverableType" engine="entity-auto" invoke="create" default-entity-name="DeliverableType" auth="true">
+        <description>Create a Deliverable Type record</description>
+        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateDeliverableType" engine="entity-auto" invoke="update" default-entity-name="DeliverableType" auth="true">
+        <description>Update a Deliverable Type record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteDeliverableType" engine="entity-auto" invoke="delete" default-entity-name="DeliverableType" auth="true">
+        <description>Delete a Deliverable Type record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
+</services>