svn commit: r1765032 - in /ofbiz/trunk: applications/datamodel/servicedef/ applications/product/servicedef/services_shipment.xml framework/entity/servicedef/ framework/entityext/servicedef/services_tenant.xml

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

svn commit: r1765032 - in /ofbiz/trunk: applications/datamodel/servicedef/ applications/product/servicedef/services_shipment.xml framework/entity/servicedef/ framework/entityext/servicedef/services_tenant.xml

Arun Patidar-4
Author: arunpatidar
Date: Sat Oct 15 10:07:53 2016
New Revision: 1765032

URL: http://svn.apache.org/viewvc?rev=1765032&view=rev
Log:
Improved: Services of 'entity' component  moved to 'entityext' and   services of 'datamodel' component  moved to more relevant place. component.


Thanks: Jacopo and Pierre for reviewing and providing suggestion.

Added:
    ofbiz/trunk/framework/entityext/servicedef/services_tenant.xml
      - copied unchanged from r1765029, ofbiz/trunk/framework/entity/servicedef/services_tenant.xml
Removed:
    ofbiz/trunk/applications/datamodel/servicedef/
    ofbiz/trunk/framework/entity/servicedef/
Modified:
    ofbiz/trunk/applications/product/servicedef/services_shipment.xml

Modified: ofbiz/trunk/applications/product/servicedef/services_shipment.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services_shipment.xml?rev=1765032&r1=1765031&r2=1765032&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/servicedef/services_shipment.xml (original)
+++ ofbiz/trunk/applications/product/servicedef/services_shipment.xml Sat Oct 15 10:07:53 2016
@@ -991,5 +991,36 @@ under the License.
         <description>Delete an existing Carrier Shipment Box Type Record</description>
         <auto-attributes mode="IN" include="pk" optional="false"/>
     </service>
+
+    <!-- Shipment services -->
+    <service name="createDelivery" engine="entity-auto" invoke="create" default-entity-name="Delivery" auth="true">
+        <description>Create a Delivery record</description>
+        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateDelivery" engine="entity-auto" invoke="update" default-entity-name="Delivery" auth="true">
+        <description>Update a Delivery record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteDelivery" engine="entity-auto" invoke="delete" default-entity-name="Delivery" auth="true">
+        <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>