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/21 19:02:00 UTC
svn commit: r1766109 - in /ofbiz/trunk/applications:
marketing/servicedef/services_opportunity.xml
product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml
product/servicedef/services_shipmentgateway.xml
Author: arunpatidar
Date: Fri Oct 21 19:01:59 2016
New Revision: 1766109
URL: http://svn.apache.org/viewvc?rev=1766109&view=rev
Log:
Implemented: Added CRUD services for ShipmentGatewayUps and SalesOpportunityQuote entities.
(OFBIZ-8463) (OFBIZ-8432)
Thanks: Rahul Singh Kushwah and Rishi Solanki for the contribution.
Modified:
ofbiz/trunk/applications/marketing/servicedef/services_opportunity.xml
ofbiz/trunk/applications/product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml
ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml
Modified: ofbiz/trunk/applications/marketing/servicedef/services_opportunity.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/servicedef/services_opportunity.xml?rev=1766109&r1=1766108&r2=1766109&view=diff
==============================================================================
--- ofbiz/trunk/applications/marketing/servicedef/services_opportunity.xml (original)
+++ ofbiz/trunk/applications/marketing/servicedef/services_opportunity.xml Fri Oct 21 19:01:59 2016
@@ -173,4 +173,15 @@ under the License.
<description>Delete a SalesOpportunityWorkEffort</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
</service>
+
+ <!-- SalesOpportunityQuote services -->
+ <service name="createSalesOpportunityQuote" default-entity-name="SalesOpportunityQuote" engine="entity-auto" invoke="create" auth="true">
+ <description>Create a SalesOpportunityQuote</description>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ <auto-attributes include="pk" mode="INOUT" optional="false"/>
+ </service>
+ <service name="deleteSalesOpportunityQuote" default-entity-name="SalesOpportunityQuote" engine="entity-auto" invoke="delete" auth="true">
+ <description>Delete a SalesOpportunityQuote</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ </service>
</services>
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=1766109&r1=1766108&r2=1766109&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml (original)
+++ ofbiz/trunk/applications/product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml Fri Oct 21 19:01:59 2016
@@ -38,12 +38,6 @@ under the License.
<store-value value-field="lookedUpValue"/>
</simple-method>
- <simple-method method-name="updateShipmentGatewayConfigUps" short-description="Update Shipment Gateway Config UPS">
- <entity-one entity-name="ShipmentGatewayUps" 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=1766109&r1=1766108&r2=1766109&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml (original)
+++ ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml Fri Oct 21 19:01:59 2016
@@ -42,11 +42,21 @@ under the License.
<auto-attributes entity-name="ShipmentGatewayFedex" include="pk" mode="IN" optional="false"/>
<auto-attributes entity-name="ShipmentGatewayFedex" include="nonpk" mode="IN" optional="true"/>
</service>
-
- <service name="updateShipmentGatewayConfigUps" engine="simple" location="component://product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml" invoke="updateShipmentGatewayConfigUps">
- <description>Update Shipment Gateway Config UPS</description>
- <auto-attributes entity-name="ShipmentGatewayUps" include="pk" mode="IN" optional="false"/>
- <auto-attributes entity-name="ShipmentGatewayUps" include="nonpk" mode="IN" optional="true"/>
+
+ <!-- ShipmentGatewayUps services -->
+ <service name="createShipmentGatewayUps" default-entity-name="ShipmentGatewayUps" engine="entity-auto" invoke="create" auth="true">
+ <description>Create a ShipmentGatewayUps</description>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ <auto-attributes include="pk" mode="INOUT" optional="false"/>
+ </service>
+ <service name="updateShipmentGatewayUps" default-entity-name="ShipmentGatewayUps" engine="entity-auto" invoke="update" auth="true">
+ <description>Update a ShipmentGatewayUps</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteShipmentGatewayUps" default-entity-name="ShipmentGatewayUps" engine="entity-auto" invoke="delete" auth="true">
+ <description>Delete a ShipmentGatewayUps</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
</service>
<!-- ShipmentGatewayUsps services -->