You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ar...@apache.org on 2016/10/04 17:24:12 UTC

svn commit: r1763306 - in /ofbiz/trunk/applications: datamodel/servicedef/ order/servicedef/ product/ product/servicedef/

Author: arunpatidar
Date: Tue Oct  4 17:24:12 2016
New Revision: 1763306

URL: http://svn.apache.org/viewvc?rev=1763306&view=rev
Log:
Implemented: Added CRUD services for QuoteTypeAttr, RejectionReason, ReorderGuideline, RequirementAttribute, RequirementBudgetAllocation, RequirementType, RequirementTypeAttr, RespondingParty, ReturnAdjustmentType and ReturnHeaderType entities.

(OFBIZ-8306) (OFBIZ-8308) (OFBIZ-8309) (OFBIZ-8310) (OFBIZ-8311) (OFBIZ-8314) (OFBIZ-8325) (OFBIZ-8326) (OFBIZ-8327) (OFBIZ-8328)

Thanks: Amit Gadaley for the contribution.

Added:
    ofbiz/trunk/applications/product/servicedef/services_supplier.xml
Modified:
    ofbiz/trunk/applications/datamodel/servicedef/services_shipment.xml
    ofbiz/trunk/applications/order/servicedef/services_quote.xml
    ofbiz/trunk/applications/order/servicedef/services_request.xml
    ofbiz/trunk/applications/order/servicedef/services_requirement.xml
    ofbiz/trunk/applications/order/servicedef/services_return.xml
    ofbiz/trunk/applications/product/ofbiz-component.xml

Modified: ofbiz/trunk/applications/datamodel/servicedef/services_shipment.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/datamodel/servicedef/services_shipment.xml?rev=1763306&r1=1763305&r2=1763306&view=diff
==============================================================================
--- ofbiz/trunk/applications/datamodel/servicedef/services_shipment.xml (original)
+++ ofbiz/trunk/applications/datamodel/servicedef/services_shipment.xml Tue Oct  4 17:24:12 2016
@@ -39,4 +39,19 @@ under the License.
         <description>Delete a Delivery record</description>
         <auto-attributes include="pk" mode="IN"/>
     </service>
+
+    <service name="createRejectionReason" engine="entity-auto" invoke="create" default-entity-name="RejectionReason" auth="true">
+        <description>Create a RejectionReason record</description>
+        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateRejectionReason" engine="entity-auto" invoke="update" default-entity-name="RejectionReason" auth="true">
+        <description>Update a RejectionReason record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteRejectionReason" engine="entity-auto" invoke="delete" default-entity-name="RejectionReason" auth="true">
+        <description>Delete a RejectionReason record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
 </services>

Modified: ofbiz/trunk/applications/order/servicedef/services_quote.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/servicedef/services_quote.xml?rev=1763306&r1=1763305&r2=1763306&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/servicedef/services_quote.xml (original)
+++ ofbiz/trunk/applications/order/servicedef/services_quote.xml Tue Oct  4 17:24:12 2016
@@ -289,4 +289,19 @@ under the License.
         <auto-attributes include="pk" mode="IN"/>
     </service>
 
+    <service name="createQuoteTypeAttr" default-entity-name="QuoteTypeAttr" engine="entity-auto" invoke="create" auth="true">
+        <description>Create a QuoteTypeAttr record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateQuoteTypeAttr" default-entity-name="QuoteTypeAttr" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a QuoteTypeAttr record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteQuoteTypeAttr" default-entity-name="QuoteTypeAttr" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a QuoteTypeAttr record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
+
 </services>

Modified: ofbiz/trunk/applications/order/servicedef/services_request.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/servicedef/services_request.xml?rev=1763306&r1=1763305&r2=1763306&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/servicedef/services_request.xml (original)
+++ ofbiz/trunk/applications/order/servicedef/services_request.xml Tue Oct  4 17:24:12 2016
@@ -283,5 +283,20 @@ under the License.
         <description>Delete a CustRequestTypeAttr record</description>
         <auto-attributes include="pk" mode="IN"/>
     </service>
+
+    <service name="createRespondingParty" engine="entity-auto" invoke="create" default-entity-name="RespondingParty" auth="true">
+        <description>Create a RespondingParty record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateRespondingParty" engine="entity-auto" invoke="update" default-entity-name="RespondingParty" auth="true">
+        <description>Update a RespondingParty record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteRespondingParty" engine="entity-auto" invoke="delete" default-entity-name="RespondingParty" auth="true">
+        <description>Delete a RespondingParty record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
 </services>
 

Modified: ofbiz/trunk/applications/order/servicedef/services_requirement.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/servicedef/services_requirement.xml?rev=1763306&r1=1763305&r2=1763306&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/servicedef/services_requirement.xml (original)
+++ ofbiz/trunk/applications/order/servicedef/services_requirement.xml Tue Oct  4 17:24:12 2016
@@ -222,5 +222,65 @@ under the License.
         <description>Delete a DesiredFeature record</description>
         <auto-attributes mode="IN" include="pk"/>
     </service>
+
+    <service name="createRequirementAttribute" default-entity-name="RequirementAttribute" engine="entity-auto" invoke="create" auth="true">
+        <description>Create a RequirementAttribute record</description>
+        <auto-attributes mode="IN" include="pk"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    <service name="updateRequirementAttribute" default-entity-name="RequirementAttribute" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a RequirementAttribute record</description>
+        <auto-attributes mode="IN" include="pk"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    <service name="deleteRequirementAttribute" default-entity-name="RequirementAttribute" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a RequirementAttribute record</description>
+        <auto-attributes mode="IN" include="pk"/>
+    </service>
+
+    <service name="createRequirementBudgetAllocation" default-entity-name="RequirementBudgetAllocation" engine="entity-auto" invoke="create" auth="true">
+        <description>Create a RequirementBudgetAllocation record</description>
+        <auto-attributes mode="IN" include="pk"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    <service name="updateRequirementBudgetAllocation" default-entity-name="RequirementBudgetAllocation" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a RequirementBudgetAllocation record</description>
+        <auto-attributes mode="IN" include="pk"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    <service name="deleteRequirementBudgetAllocation" default-entity-name="RequirementBudgetAllocation" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a RequirementBudgetAllocation record</description>
+        <auto-attributes mode="IN" include="pk"/>
+    </service>
+
+    <service name="createRequirementType" default-entity-name="RequirementType" engine="entity-auto" invoke="create" auth="true">
+        <description>Create a RequirementType record</description>
+        <auto-attributes mode="INOUT" include="pk" optional="true"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    <service name="updateRequirementType" default-entity-name="RequirementType" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a RequirementType record</description>
+        <auto-attributes mode="IN" include="pk"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    <service name="deleteRequirementType" default-entity-name="RequirementType" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a RequirementType record</description>
+        <auto-attributes mode="IN" include="pk"/>
+    </service>
+
+    <service name="createRequirementTypeAttr" default-entity-name="RequirementTypeAttr" engine="entity-auto" invoke="create" auth="true">
+        <description>Create a RequirementTypeAttr record</description>
+        <auto-attributes mode="IN" include="pk"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    <service name="updateRequirementTypeAttr" default-entity-name="RequirementTypeAttr" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a RequirementTypeAttr record</description>
+        <auto-attributes mode="IN" include="pk"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    <service name="deleteRequirementTypeAttr" default-entity-name="RequirementTypeAttr" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a RequirementTypeAttr record</description>
+        <auto-attributes mode="IN" include="pk"/>
+    </service>
 </services>
 

Modified: ofbiz/trunk/applications/order/servicedef/services_return.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/servicedef/services_return.xml?rev=1763306&r1=1763305&r2=1763306&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/servicedef/services_return.xml (original)
+++ ofbiz/trunk/applications/order/servicedef/services_return.xml Tue Oct  4 17:24:12 2016
@@ -376,4 +376,34 @@ under the License.
         <attribute name="orderId" type="String" mode="IN" optional="false"/>
         <attribute name="returnId" type="String" mode="OUT" optional="false"/>
     </service>
+
+    <service name="createReturnAdjustmentType" engine="entity-auto" invoke="create" default-entity-name="ReturnAdjustmentType" auth="true">
+        <description>Create a ReturnAdjustmentType record</description>
+        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateReturnAdjustmentType" engine="entity-auto" invoke="update" default-entity-name="ReturnAdjustmentType" auth="true">
+        <description>Update a ReturnAdjustmentType record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteReturnAdjustmentType" engine="entity-auto" invoke="delete" default-entity-name="ReturnAdjustmentType" auth="true">
+        <description>Delete a ReturnAdjustmentType record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
+
+    <service name="createReturnHeaderType" engine="entity-auto" invoke="create" default-entity-name="ReturnHeaderType" auth="true">
+        <description>Create a ReturnHeaderType record</description>
+        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateReturnHeaderType" engine="entity-auto" invoke="update" default-entity-name="ReturnHeaderType" auth="true">
+        <description>Update a ReturnHeaderType record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteReturnHeaderType" engine="entity-auto" invoke="delete" default-entity-name="ReturnHeaderType" auth="true">
+        <description>Delete a ReturnHeaderType record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
 </services>

Modified: ofbiz/trunk/applications/product/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/ofbiz-component.xml?rev=1763306&r1=1763305&r2=1763306&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/ofbiz-component.xml (original)
+++ ofbiz/trunk/applications/product/ofbiz-component.xml Tue Oct  4 17:24:12 2016
@@ -59,6 +59,7 @@ under the License.
     <service-resource type="model" loader="main" location="servicedef/services_shipment.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_store.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_subscription.xml"/>
+    <service-resource type="model" loader="main" location="servicedef/services_supplier.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_rental.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_view.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_config.xml"/>

Added: ofbiz/trunk/applications/product/servicedef/services_supplier.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services_supplier.xml?rev=1763306&view=auto
==============================================================================
--- ofbiz/trunk/applications/product/servicedef/services_supplier.xml (added)
+++ ofbiz/trunk/applications/product/servicedef/services_supplier.xml Tue Oct  4 17:24:12 2016
@@ -0,0 +1,42 @@
+<?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>Product Supplier Services</description>
+    <vendor>OFBiz</vendor>
+    <version>1.0</version>
+
+    <!-- Supplier Services -->
+    <service name="createReorderGuideline" default-entity-name="ReorderGuideline" engine="entity-auto" invoke="create" auth="true">
+        <description>Create a ReorderGuideline record</description>
+        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateReorderGuideline" default-entity-name="ReorderGuideline" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a ReorderGuideline record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteReorderGuideline" default-entity-name="ReorderGuideline" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a ReorderGuideline record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
+</services>