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/29 07:42:30 UTC

svn commit: r1767097 - in /ofbiz/trunk/applications/order/servicedef: services_order.xml services_requirement.xml

Author: arunpatidar
Date: Sat Oct 29 07:42:29 2016
New Revision: 1767097

URL: http://svn.apache.org/viewvc?rev=1767097&view=rev
Log:
Implemented: Added CRUD services for RequirementCustRequest, OrderNotification, OrderProductPromoCode, OrderRequirementCommitment, OrderSummaryEntry, OrderTermAttribute, OrderType and OrderTypeAttr entities.

(OFBIZ-8313) (OFBIZ-8590) (OFBIZ-8591) (OFBIZ-8592) (OFBIZ-8593) (OFBIZ-8594) (OFBIZ-8595) (OFBIZ-8596)

Thanks: Amit Gadaley for the contribution.

Modified:
    ofbiz/trunk/applications/order/servicedef/services_order.xml
    ofbiz/trunk/applications/order/servicedef/services_requirement.xml

Modified: ofbiz/trunk/applications/order/servicedef/services_order.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/servicedef/services_order.xml?rev=1767097&r1=1767096&r2=1767097&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/servicedef/services_order.xml (original)
+++ ofbiz/trunk/applications/order/servicedef/services_order.xml Sat Oct 29 07:42:29 2016
@@ -222,4 +222,94 @@ under the License.
         <description>Delete an OrderItemTypeAttr record</description>
         <auto-attributes include="pk" mode="IN"/>
     </service>
+
+    <service name="updateOrderNotification" default-entity-name="OrderNotification" engine="entity-auto" invoke="update" auth="true">
+        <description>Update an OrderNotification record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteOrderNotification" default-entity-name="OrderNotification" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete an OrderNotification record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
+
+    <service name="createOrderProductPromoCode" default-entity-name="OrderProductPromoCode" engine="entity-auto" invoke="create" auth="true">
+        <description>Create an OrderProductPromoCode record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteOrderProductPromoCode" default-entity-name="OrderProductPromoCode" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete an OrderProductPromoCode record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
+
+    <service name="updateOrderRequirementCommitment" default-entity-name="OrderRequirementCommitment" engine="entity-auto" invoke="update" auth="true">
+        <description>Update an OrderRequirementCommitment record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteOrderRequirementCommitment" default-entity-name="OrderRequirementCommitment" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete an OrderRequirementCommitment record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
+    <service name="createOrderSummaryEntry" default-entity-name="OrderSummaryEntry" engine="entity-auto" invoke="create" auth="true">
+        <description>Create an OrderSummaryEntry record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateOrderSummaryEntry" default-entity-name="OrderSummaryEntry" engine="entity-auto" invoke="update" auth="true">
+        <description>Update an OrderSummaryEntry record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteOrderSummaryEntry" default-entity-name="OrderSummaryEntry" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete an OrderSummaryEntry record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
+
+    <service name="createOrderTermAttribute" default-entity-name="OrderTermAttribute" engine="entity-auto" invoke="create" auth="true">
+        <description>Create an OrderTermAttribute record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateOrderTermAttribute" default-entity-name="OrderTermAttribute" engine="entity-auto" invoke="update" auth="true">
+        <description>Update an OrderTermAttribute record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteOrderTermAttribute" default-entity-name="OrderTermAttribute" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete an OrderTermAttribute record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
+
+    <service name="createOrderType" default-entity-name="OrderType" engine="entity-auto" invoke="create" auth="true">
+        <description>Create an OrderType record</description>
+        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateOrderType" default-entity-name="OrderType" engine="entity-auto" invoke="update" auth="true">
+         <description>Update an OrderType record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteOrderType" default-entity-name="OrderType" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete an OrderType record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
+
+    <service name="createOrderTypeAttr" default-entity-name="OrderTypeAttr" engine="entity-auto" invoke="create" auth="true">
+        <description>Create an OrderTypeAttr record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateOrderTypeAttr" default-entity-name="OrderTypeAttr" engine="entity-auto" invoke="update" auth="true">
+        <description>Update an OrderTypeAttr record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteOrderTypeAttr" default-entity-name="OrderTypeAttr" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete an OrderTypeAttr 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=1767097&r1=1767096&r2=1767097&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/servicedef/services_requirement.xml (original)
+++ ofbiz/trunk/applications/order/servicedef/services_requirement.xml Sat Oct 29 07:42:29 2016
@@ -282,5 +282,11 @@ under the License.
         <description>Delete a RequirementTypeAttr record</description>
         <auto-attributes mode="IN" include="pk"/>
     </service>
+
+    <!-- RequirementCustRequest services -->
+    <service name="deleteRequirementCustRequest" default-entity-name="RequirementCustRequest" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a RequirementCustRequest record</description>
+        <auto-attributes mode="IN" include="pk"/>
+    </service>
 </services>