Author: jleroux
Date: Fri Oct 28 09:46:38 2016
New Revision: 1766994
URL:
http://svn.apache.org/viewvc?rev=1766994&view=revLog:
Reverted: partially reverts r1766092. Only the updateShipmentGatewayUsps service
is concerned. The definition and implementation has been removed, when it was
still in controller and accessible in UI. I noticed Arun 5 days ago but he did
not answer. I guess he did not get a chance, so doing it myself
Modified:
ofbiz/trunk/applications/product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml
ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml
Modified: ofbiz/trunk/applications/product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml?rev=1766994&r1=1766993&r2=1766994&view=diff==============================================================================
--- ofbiz/trunk/applications/product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml (original)
+++ ofbiz/trunk/applications/product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml Fri Oct 28 09:46:38 2016
@@ -38,6 +38,12 @@ under the License.
<store-value value-field="lookedUpValue"/>
</simple-method>
+ <simple-method method-name="updateShipmentGatewayConfigUsps" short-description="Update Shipment Gateway Config USPS">
+ <entity-one entity-name="ShipmentGatewayUsps" value-field="lookedUpValue"/>
+ <set-nonpk-fields map="parameters" value-field="lookedUpValue"/>
+ <store-value value-field="lookedUpValue"/>
+ </simple-method>
+
<simple-method method-name="updateShipmentGatewayConfigType" short-description="Update Shipment Gateway Config Type">
<entity-one entity-name="ShipmentGatewayConfigType" value-field="lookedUpValue"/>
<set-nonpk-fields map="parameters" value-field="lookedUpValue"/>
Modified: ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml?rev=1766994&r1=1766993&r2=1766994&view=diff==============================================================================
--- ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml (original)
+++ ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml Fri Oct 28 09:46:38 2016
@@ -31,6 +31,12 @@ under the License.
<auto-attributes entity-name="ShipmentGatewayConfig" include="nonpk" mode="IN" optional="true"/>
</service>
+ <service name="updateShipmentGatewayConfigUsps" engine="simple" location="component://product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml" invoke="updateShipmentGatewayConfigUsps">
+ <description>Update Shipment Gateway Config USPS</description>
+ <auto-attributes entity-name="ShipmentGatewayUsps" include="pk" mode="IN" optional="false"/>
+ <auto-attributes entity-name="ShipmentGatewayUsps" include="nonpk" mode="IN" optional="true"/>
+ </service>
+
<service name="updateShipmentGatewayConfigDhl" engine="simple" location="component://product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml" invoke="updateShipmentGatewayConfigDhl">
<description>Update Shipment Gateway Config DHL</description>
<auto-attributes entity-name="ShipmentGatewayDhl" include="pk" mode="IN" optional="false"/>