Author: arunpatidar
Date: Fri Oct 21 19:35:12 2016
New Revision: 1766111
URL: http://svn.apache.org/viewvc?rev=1766111&view=rev
Log:
Implemented: Added CRUD services for ShipmentAttribute, ShipmentBoxType,
ShipmentContactMechType, ShipmentCostEstimate, ShipmentGatewayConfig,
ShipmentReceipt, ShipmentTypeAttr, ShoppingListItemSurvey, StandardLanguage and
StatusItem entities
(OFBIZ-8443) (OFBIZ-8444) (OFBIZ-8452) (OFBIZ-8453) (OFBIZ-8454) (OFBIZ-8468)
(OFBIZ-8472) (OFBIZ-8477) (OFBIZ-8479) (OFBIZ-8481)
Thanks: Amit Gadaley for the contribution.
Modified:
ofbiz/trunk/applications/order/servicedef/services_shoppinglist.xml
ofbiz/trunk/applications/product/servicedef/services_shipment.xml
ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml
ofbiz/trunk/framework/service/servicedef/services.xml
Modified: ofbiz/trunk/applications/order/servicedef/services_shoppinglist.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/servicedef/services_shoppinglist.xml?rev=1766111&r1=1766110&r2=1766111&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/servicedef/services_shoppinglist.xml
(original)
+++ ofbiz/trunk/applications/order/servicedef/services_shoppinglist.xml Fri Oct
21 19:35:12 2016
@@ -151,4 +151,14 @@ under the License.
Default to 30 days unless no configuration is specified.
</description>
</service>
+
+ <service name="createShoppingListItemSurvey"
default-entity-name="ShoppingListItemSurvey" engine="entity-auto"
invoke="create" auth="true">
+ <description>Create a ShoppingListItemSurvey Record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteShoppingListItemSurvey"
default-entity-name="ShoppingListItemSurvey" engine="entity-auto"
invoke="delete" auth="true">
+ <description>Delete a ShoppingListItemSurvey Record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ </service>
</services>
Modified: ofbiz/trunk/applications/product/servicedef/services_shipment.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services_shipment.xml?rev=1766111&r1=1766110&r2=1766111&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/servicedef/services_shipment.xml (original)
+++ ofbiz/trunk/applications/product/servicedef/services_shipment.xml Fri Oct
21 19:35:12 2016
@@ -1033,5 +1033,89 @@ under the License.
<description>Delete a ShipmentItemFeature</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
</service>
-
+
+ <service name="createShipmentAttribute" engine="entity-auto"
invoke="create" default-entity-name="ShipmentAttribute" auth="true">
+ <description>Create a ShipmentAttribute record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="updateShipmentAttribute" engine="entity-auto"
invoke="update" default-entity-name="ShipmentAttribute" auth="true">
+ <description>Update a ShipmentAttribute record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteShipmentAttribute" engine="entity-auto"
invoke="delete" default-entity-name="ShipmentAttribute" auth="true">
+ <description>Delete a ShipmentAttribute record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ </service>
+
+ <service name="createShipmentBoxType" engine="entity-auto" invoke="create"
default-entity-name="ShipmentBoxType" auth="true">
+ <description>Create a ShipmentBoxType record</description>
+ <auto-attributes include="pk" mode="INOUT" optional="true"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="updateShipmentBoxType" engine="entity-auto" invoke="update"
default-entity-name="ShipmentBoxType" auth="true">
+ <description>Update a ShipmentBoxType record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteShipmentBoxType" engine="entity-auto" invoke="delete"
default-entity-name="ShipmentBoxType" auth="true">
+ <description>Delete a ShipmentBoxType record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ </service>
+
+ <service name="createShipmentContactMechType" engine="entity-auto"
invoke="create" default-entity-name="ShipmentContactMechType" auth="true">
+ <description>Create a ShipmentContactMechType record</description>
+ <auto-attributes include="pk" mode="INOUT" optional="true"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="updateShipmentContactMechType" engine="entity-auto"
invoke="update" default-entity-name="ShipmentContactMechType" auth="true">
+ <description>Update a ShipmentContactMechType record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteShipmentContactMechType" engine="entity-auto"
invoke="delete" default-entity-name="ShipmentContactMechType" auth="true">
+ <description>Delete a ShipmentContactMechType record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ </service>
+
+ <service name="createShipmentCostEstimate" engine="entity-auto"
invoke="create" default-entity-name="ShipmentCostEstimate" auth="true">
+ <description>Create a ShipmentCostEstimate record</description>
+ <auto-attributes include="pk" mode="INOUT" optional="true"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="updateShipmentCostEstimate" engine="entity-auto"
invoke="update" default-entity-name="ShipmentCostEstimate" auth="true">
+ <description>Update a ShipmentCostEstimate record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteShipmentCostEstimate" engine="entity-auto"
invoke="delete" default-entity-name="ShipmentCostEstimate" auth="true">
+ <description>Delete a ShipmentCostEstimate record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ </service>
+
+ <service name="updateShipmentReceipt" engine="entity-auto" invoke="update"
default-entity-name="ShipmentReceipt" auth="true">
+ <description>Update a ShipmentReceipt record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteShipmentReceipt" engine="entity-auto" invoke="delete"
default-entity-name="ShipmentReceipt" auth="true">
+ <description>Delete a ShipmentReceipt record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ </service>
+
+ <service name="createShipmentTypeAttr"
default-entity-name="ShipmentTypeAttr" engine="entity-auto" invoke="create"
auth="true">
+ <description>Create a ShipmentTypeAttr Record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="updateShipmentTypeAttr"
default-entity-name="ShipmentTypeAttr" engine="entity-auto" invoke="update"
auth="true">
+ <description>Update a ShipmentTypeAttr Record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteShipmentTypeAttr"
default-entity-name="ShipmentTypeAttr" engine="entity-auto" invoke="delete"
auth="true">
+ <description>Delete a ShipmentTypeAttr Record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ </service>
</services>
Modified:
ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml?rev=1766111&r1=1766110&r2=1766111&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml
(original)
+++ ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml
Fri Oct 21 19:35:12 2016
@@ -80,4 +80,14 @@ under the License.
<auto-attributes entity-name="ShipmentGatewayConfigType" include="pk"
mode="IN" optional="false"/>
<auto-attributes entity-name="ShipmentGatewayConfigType"
include="nonpk" mode="IN" optional="true"/>
</service>
+
+ <service name="createShipmentGatewayConfig" engine="entity-auto"
invoke="create" default-entity-name="ShipmentGatewayConfig" auth="true">
+ <description>Create a ShipmentGatewayConfig record</description>
+ <auto-attributes include="pk" mode="INOUT" optional="true"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteShipmentGatewayConfig" engine="entity-auto"
invoke="delete" default-entity-name="ShipmentGatewayConfig" auth="true">
+ <description>Delete a ShipmentGatewayConfig record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ </service>
</services>
Modified: ofbiz/trunk/framework/service/servicedef/services.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/servicedef/services.xml?rev=1766111&r1=1766110&r2=1766111&view=diff
==============================================================================
--- ofbiz/trunk/framework/service/servicedef/services.xml (original)
+++ ofbiz/trunk/framework/service/servicedef/services.xml Fri Oct 21 19:35:12
2016
@@ -161,4 +161,35 @@ under the License.
<auto-attributes include="nonpk" mode="IN" optional="true"/>
</service>
+ <!-- StandardLanguage services -->
+ <service name="createStandardLanguage"
default-entity-name="StandardLanguage" engine="entity-auto" invoke="create"
auth="true">
+ <description>Create a StandardLanguage Record</description>
+ <auto-attributes include="pk" mode="INOUT" optional="true"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="updateStandardLanguage"
default-entity-name="StandardLanguage" engine="entity-auto" invoke="update"
auth="true">
+ <description>Update a StandardLanguage Record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteStandardLanguage"
default-entity-name="StandardLanguage" engine="entity-auto" invoke="delete"
auth="true">
+ <description>Delete a StandardLanguage Record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ </service>
+
+ <!-- StatusItem services -->
+ <service name="createStatusItem" default-entity-name="StatusItem"
engine="entity-auto" invoke="create" auth="true">
+ <description>Create a StatusItem Record</description>
+ <auto-attributes include="pk" mode="INOUT" optional="true"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="updateStatusItem" default-entity-name="StatusItem"
engine="entity-auto" invoke="update" auth="true">
+ <description>Update a StatusItem Record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteStatusItem" default-entity-name="StatusItem"
engine="entity-auto" invoke="delete" auth="true">
+ <description>Delete a StatusItem Record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ </service>
</services>