svn commit: r1763315 - in /ofbiz/trunk/applications: order/servicedef/services_return.xml party/servicedef/services.xml product/servicedef/services_price.xml

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

svn commit: r1763315 - in /ofbiz/trunk/applications: order/servicedef/services_return.xml party/servicedef/services.xml product/servicedef/services_price.xml

Arun Patidar-4
Author: arunpatidar
Date: Tue Oct  4 17:58:45 2016
New Revision: 1763315

URL: http://svn.apache.org/viewvc?rev=1763315&view=rev
Log:
Implemented: Added CRUD services for ReturnItemType, ReturnItemTypeMap, ReturnReason, ReturnType, RoleType, RoleTypeAttr and SaleType entities.

(OFBIZ-8329) (OFBIZ-8330) (OFBIZ-8331) (OFBIZ-8332) (OFBIZ-8333) (OFBIZ-8334) (OFBIZ-8335)

Thanks: Amit Gadaley for the contribution.

Modified:
    ofbiz/trunk/applications/order/servicedef/services_return.xml
    ofbiz/trunk/applications/party/servicedef/services.xml
    ofbiz/trunk/applications/product/servicedef/services_price.xml

Modified: ofbiz/trunk/applications/order/servicedef/services_return.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/servicedef/services_return.xml?rev=1763315&r1=1763314&r2=1763315&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/servicedef/services_return.xml (original)
+++ ofbiz/trunk/applications/order/servicedef/services_return.xml Tue Oct  4 17:58:45 2016
@@ -406,4 +406,64 @@ under the License.
         <description>Delete a ReturnHeaderType record</description>
         <auto-attributes include="pk" mode="IN"/>
     </service>
+
+    <service name="createReturnItemType" engine="entity-auto" invoke="create" default-entity-name="ReturnItemType" auth="true">
+        <description>Create a ReturnItemType record</description>
+        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateReturnItemType" engine="entity-auto" invoke="update" default-entity-name="ReturnItemType" auth="true">
+        <description>Update a ReturnItemType record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteReturnItemType" engine="entity-auto" invoke="delete" default-entity-name="ReturnItemType" auth="true">
+        <description>Delete a ReturnItemType record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
+
+    <service name="createReturnItemTypeMap" engine="entity-auto" invoke="create" default-entity-name="ReturnItemTypeMap" auth="true">
+        <description>Create a ReturnItemTypeMap record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateReturnItemTypeMap" engine="entity-auto" invoke="update" default-entity-name="ReturnItemTypeMap" auth="true">
+        <description>Update a ReturnItemTypeMap record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteReturnItemTypeMap" engine="entity-auto" invoke="delete" default-entity-name="ReturnItemTypeMap" auth="true">
+        <description>Delete a ReturnItemTypeMap record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
+
+    <service name="createReturnReason" engine="entity-auto" invoke="create" default-entity-name="ReturnReason" auth="true">
+        <description>Create a ReturnReason record</description>
+        <auto-attributes include="pk" mode="INOUT"  optional="true"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateReturnReason" engine="entity-auto" invoke="update" default-entity-name="ReturnReason" auth="true">
+        <description>Update a ReturnReason record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteReturnReason" engine="entity-auto" invoke="delete" default-entity-name="ReturnReason" auth="true">
+        <description>Delete a ReturnReason record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
+
+    <service name="createReturnType" engine="entity-auto" invoke="create" default-entity-name="ReturnType" auth="true">
+        <description>Create a ReturnType record</description>
+        <auto-attributes include="pk" mode="INOUT"  optional="true"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateReturnType" engine="entity-auto" invoke="update" default-entity-name="ReturnType" auth="true">
+        <description>Update a ReturnType record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteReturnType" engine="entity-auto" invoke="delete" default-entity-name="ReturnType" auth="true">
+        <description>Delete a ReturnType record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
 </services>

Modified: ofbiz/trunk/applications/party/servicedef/services.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/servicedef/services.xml?rev=1763315&r1=1763314&r2=1763315&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/servicedef/services.xml (original)
+++ ofbiz/trunk/applications/party/servicedef/services.xml Tue Oct  4 17:58:45 2016
@@ -1345,4 +1345,28 @@ under the License.
         <auto-attributes include="pk" mode="IN" optional="false"/>
     </service>
 
+    <!-- Party Role services -->
+    <service name="updateRoleType" default-entity-name="RoleType" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a RoleType Record</description>
+        <auto-attributes mode="IN" include="pk"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    <service name="deleteRoleType" default-entity-name="RoleType" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a RoleType Record</description>
+        <auto-attributes mode="IN" include="pk"/>
+    </service>
+    <service name="createRoleTypeAttr" default-entity-name="RoleTypeAttr" engine="entity-auto" invoke="create" auth="true">
+        <description>Create a RoleTypeAttr Record</description>
+        <auto-attributes mode="IN" include="pk"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    <service name="updateRoleTypeAttr" default-entity-name="RoleTypeAttr" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a RoleTypeAttr Record</description>
+        <auto-attributes mode="IN" include="pk"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    <service name="deleteRoleTypeAttr" default-entity-name="RoleTypeAttr" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a RoleTypeAttr Record</description>
+        <auto-attributes mode="IN" include="pk"/>
+    </service>
 </services>

Modified: ofbiz/trunk/applications/product/servicedef/services_price.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services_price.xml?rev=1763315&r1=1763314&r2=1763315&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/servicedef/services_price.xml (original)
+++ ofbiz/trunk/applications/product/servicedef/services_price.xml Tue Oct  4 17:58:45 2016
@@ -39,4 +39,18 @@ under the License.
         <auto-attributes include="pk" mode="IN"/>
     </service>
 
+    <service name="createSaleType" default-entity-name="SaleType" engine="entity-auto" invoke="create" auth="true">
+        <description>Create a SaleType record</description>
+        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateSaleType" default-entity-name="SaleType" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a SaleType record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteSaleType" default-entity-name="SaleType" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a SaleType record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
 </services>