Author: arunpatidar
Date: Sat Oct 29 09:01:09 2016
New Revision: 1767101
URL: http://svn.apache.org/viewvc?rev=1767101&view=rev
Log:
Implemented: Added CRUD services for CountryAddressFormat,
ExampleFeatureApplType, GoodIdentificationType, InventoryItemType,
InventoryItemTypeAttr, InvoiceContentType, InvoiceItemTypeAttr,
InvoiceItemTypeMap, InvoiceType, NeedType, OrderAdjustmentTypeAttr,
SalesOrderItemFact, SegmentGroupType, ShipmentGatewayConfigType,
ShipmentGatewayDhl, ShipmentGatewayFedex, ShipmentType, ShippingDocument and
ShoppingListType entities.
(OFBIZ-8087) (OFBIZ-8204) (OFBIZ-8245) (OFBIZ-8248) (OFBIZ-8249) (OFBIZ-8257)
(OFBIZ-8261) (OFBIZ-8267) (OFBIZ-8270) (OFBIZ-8279) (OFBIZ-8284) (OFBIZ-8437)
(OFBIZ-8439) (OFBIZ-8455) (OFBIZ-8460) (OFBIZ-8461)
(OFBIZ-8470) (OFBIZ-8473) (OFBIZ-8478)
Thanks: Rohit Koushal, Aman Mishra, Chinmay Patidar and Amit Gadaley for the
contribution.
Modified:
ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml
ofbiz/trunk/applications/marketing/servicedef/services.xml
ofbiz/trunk/applications/order/servicedef/services.xml
ofbiz/trunk/applications/order/servicedef/services_shoppinglist.xml
ofbiz/trunk/applications/party/servicedef/services.xml
ofbiz/trunk/applications/product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml
ofbiz/trunk/applications/product/servicedef/services.xml
ofbiz/trunk/applications/product/servicedef/services_facility.xml
ofbiz/trunk/applications/product/servicedef/services_inventory.xml
ofbiz/trunk/applications/product/servicedef/services_shipment.xml
ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml
ofbiz/trunk/framework/common/servicedef/services_geo.xml
ofbiz/trunk/specialpurpose/example/servicedef/services.xml
Modified: ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml?rev=1767101&r1=1767100&r2=1767101&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml
(original)
+++ ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml Sat Oct
29 09:01:09 2016
@@ -528,4 +528,65 @@ under the License.
<description>Delete a InvoiceNote</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
</service>
+
+ <service name="createInvoiceContentType"
default-entity-name="InvoiceContentType" engine="entity-auto" invoke="create"
auth="true">
+ <description>Create a InvoiceContentType</description>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ <auto-attributes include="pk" mode="INOUT" optional="true"/>
+ </service>
+ <service name="updateInvoiceContentType"
default-entity-name="InvoiceContentType" engine="entity-auto" invoke="update"
auth="true">
+ <description>Update a InvoiceContentType</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteInvoiceContentType"
default-entity-name="InvoiceContentType" engine="entity-auto" invoke="delete"
auth="true">
+ <description>Delete a InvoiceContentType</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ </service>
+
+ <!-- InvoiceItemTypeAttr services -->
+ <service name="createInvoiceItemTypeAttr"
default-entity-name="InvoiceItemTypeAttr" engine="entity-auto" invoke="create"
auth="true">
+ <description>Create InvoiceItemTypeAttr</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="updateInvoiceItemTypeAttr"
default-entity-name="InvoiceItemTypeAttr" engine="entity-auto" invoke="update"
auth="true">
+ <description>Update InvoiceItemTypeAttr</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteInvoiceItemTypeAttr"
default-entity-name="InvoiceItemTypeAttr" engine="entity-auto" invoke="delete"
auth="true">
+ <description>Delete InvoiceItemTypeAttr</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ </service>
+
+ <service name="createInvoiceItemTypeMap"
default-entity-name="InvoiceItemTypeMap" engine="entity-auto" invoke="create"
auth="true">
+ <description>Create InvoiceItemTypeMap</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="updateInvoiceItemTypeMap"
default-entity-name="InvoiceItemTypeMap" engine="entity-auto" invoke="update"
auth="true">
+ <description>Update InvoiceItemTypeMap</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteInvoiceItemTypeMap"
default-entity-name="InvoiceItemTypeMap" engine="entity-auto" invoke="delete"
auth="true">
+ <description>Delete InvoiceItemTypeMap</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ </service>
+
+ <service name="createInvoiceType" default-entity-name="InvoiceType"
engine="entity-auto" invoke="create" auth="true">
+ <description>Create a InvoiceType</description>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ <auto-attributes include="pk" mode="INOUT" optional="true"/>
+ </service>
+ <service name="updateInvoiceType" default-entity-name="InvoiceType"
engine="entity-auto" invoke="update" auth="true">
+ <description>Update a InvoiceType</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteInvoiceType" default-entity-name="InvoiceType"
engine="entity-auto" invoke="delete" auth="true">
+ <description>Delete a InvoiceType</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ </service>
</services>
Modified: ofbiz/trunk/applications/marketing/servicedef/services.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/servicedef/services.xml?rev=1767101&r1=1767100&r2=1767101&view=diff
==============================================================================
--- ofbiz/trunk/applications/marketing/servicedef/services.xml (original)
+++ ofbiz/trunk/applications/marketing/servicedef/services.xml Sat Oct 29
09:01:09 2016
@@ -541,4 +541,20 @@ under the License.
<auto-attributes include="pk" mode="IN" optional="false"/>
</service>
+ <!-- SegmentGroupType Services -->
+ <service name="createSegmentGroupType" engine="entity-auto"
default-entity-name="SegmentGroupType" invoke="create" auth="true">
+ <description>Create SegmentGroupType</description>
+ <auto-attributes include="pk" mode="INOUT" optional="true"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="updateSegmentGroupType" engine="entity-auto"
default-entity-name="SegmentGroupType" invoke="update" auth="true">
+ <description>Update SegmentGroupType</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteSegmentGroupType" engine="entity-auto"
default-entity-name="SegmentGroupType" invoke="delete" auth="true">
+ <description>Delete SegmentGroupType</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ </service>
+
</services>
Modified: ofbiz/trunk/applications/order/servicedef/services.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/servicedef/services.xml?rev=1767101&r1=1767100&r2=1767101&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/servicedef/services.xml (original)
+++ ofbiz/trunk/applications/order/servicedef/services.xml Sat Oct 29 09:01:09
2016
@@ -1204,4 +1204,34 @@ under the License.
<description>Expire a OrderContent</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
</service>
+
+ <service name="createOrderAdjustmentTypeAttr"
default-entity-name="OrderAdjustmentTypeAttr" engine="entity-auto"
invoke="create" auth="true">
+ <description>Create a OrderAdjustmentTypeAttr</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="updateOrderAdjustmentTypeAttr"
default-entity-name="OrderAdjustmentTypeAttr" engine="entity-auto"
invoke="update" auth="true">
+ <description>Update a OrderAdjustmentTypeAttr</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteOrderAdjustmentTypeAttr"
default-entity-name="OrderAdjustmentTypeAttr" engine="entity-auto"
invoke="delete" auth="true">
+ <description>Delete a OrderAdjustmentTypeAttr</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ </service>
+
+ <service name="createSalesOrderItemFact"
default-entity-name="SalesOrderItemFact" engine="entity-auto" invoke="create"
auth="true">
+ <description>Create a SalesOrderItemFact</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="updateSalesOrderItemFact"
default-entity-name="SalesOrderItemFact" engine="entity-auto" invoke="update"
auth="true">
+ <description>Update a SalesOrderItemFact</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteSalesOrderItemFact"
default-entity-name="SalesOrderItemFact" engine="entity-auto" invoke="delete"
auth="true">
+ <description>Delete a SalesOrderItemFact</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ </service>
</services>
Modified: ofbiz/trunk/applications/order/servicedef/services_shoppinglist.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/servicedef/services_shoppinglist.xml?rev=1767101&r1=1767100&r2=1767101&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/servicedef/services_shoppinglist.xml
(original)
+++ ofbiz/trunk/applications/order/servicedef/services_shoppinglist.xml Sat Oct
29 09:01:09 2016
@@ -161,4 +161,19 @@ under the License.
<description>Delete a ShoppingListItemSurvey Record</description>
<auto-attributes include="pk" mode="IN"/>
</service>
+
+ <service name="createShoppingListType"
default-entity-name="ShoppingListType" engine="entity-auto" invoke="create"
auth="true">
+ <description>Create a ShoppingListType</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="updateShoppingListType"
default-entity-name="ShoppingListType" engine="entity-auto" invoke="update"
auth="true">
+ <description>Update a ShoppingListType</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteShoppingListType"
default-entity-name="ShoppingListType" engine="entity-auto" invoke="delete"
auth="true">
+ <description>Delete a ShoppingListType</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ </service>
</services>
Modified: ofbiz/trunk/applications/party/servicedef/services.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/servicedef/services.xml?rev=1767101&r1=1767100&r2=1767101&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/servicedef/services.xml (original)
+++ ofbiz/trunk/applications/party/servicedef/services.xml Sat Oct 29 09:01:09
2016
@@ -1365,4 +1365,19 @@ under the License.
<description>Delete a RoleTypeAttr Record</description>
<auto-attributes mode="IN" include="pk"/>
</service>
+
+ <service name="createNeedType" default-entity-name="NeedType"
engine="entity-auto" invoke="create" auth="true">
+ <description>Create a NeedType</description>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ <auto-attributes include="pk" mode="INOUT" optional="true"/>
+ </service>
+ <service name="updateNeedType" default-entity-name="NeedType"
engine="entity-auto" invoke="update" auth="true">
+ <description>Update a NeedType</description>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ </service>
+ <service name="deleteNeedType" default-entity-name="NeedType"
engine="entity-auto" invoke="delete" auth="true">
+ <description>Delete a NeedType</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=1767101&r1=1767100&r2=1767101&view=diff
==============================================================================
---
ofbiz/trunk/applications/product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml
(original)
+++
ofbiz/trunk/applications/product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml
Sat Oct 29 09:01:09 2016
@@ -26,18 +26,6 @@ under the License.
<store-value value-field="lookedUpValue"/>
</simple-method>
- <simple-method method-name="updateShipmentGatewayConfigDhl"
short-description="Update Shipment Gateway Config DHL">
- <entity-one entity-name="ShipmentGatewayDhl"
value-field="lookedUpValue"/>
- <set-nonpk-fields map="parameters" value-field="lookedUpValue"/>
- <store-value value-field="lookedUpValue"/>
- </simple-method>
-
- <simple-method method-name="updateShipmentGatewayConfigFedex"
short-description="Update Shipment Gateway Config FedEx">
- <entity-one entity-name="ShipmentGatewayFedex"
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.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services.xml?rev=1767101&r1=1767100&r2=1767101&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/servicedef/services.xml (original)
+++ ofbiz/trunk/applications/product/servicedef/services.xml Sat Oct 29
09:01:09 2016
@@ -1693,4 +1693,18 @@ under the License.
<attribute name="groupOrderId" mode="IN" type="String"
optional="false"/>
</service>
+ <service name="createGoodIdentificationType"
default-entity-name="GoodIdentificationType" engine="entity-auto"
invoke="create" auth="true">
+ <description>Create a GoodIdentificationType</description>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ <auto-attributes include="pk" mode="INOUT" optional="true"/>
+ </service>
+ <service name="updateGoodIdentificationType"
default-entity-name="GoodIdentificationType" engine="entity-auto"
invoke="update" auth="true">
+ <description>Update a GoodIdentificationType</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteGoodIdentificationType"
default-entity-name="GoodIdentificationType" engine="entity-auto"
invoke="delete" auth="true">
+ <description>Delete a GoodIdentificationType</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ </service>
</services>
Modified: ofbiz/trunk/applications/product/servicedef/services_facility.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services_facility.xml?rev=1767101&r1=1767100&r2=1767101&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/servicedef/services_facility.xml (original)
+++ ofbiz/trunk/applications/product/servicedef/services_facility.xml Sat Oct
29 09:01:09 2016
@@ -1014,4 +1014,20 @@ under the License.
<description>Expire a FacilityLocationGeoPoint record</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
</service>
+
+ <!-- InventoryItemType services -->
+ <service name="createInventoryItemType" engine="entity-auto"
default-entity-name="InventoryItemType" invoke="create" auth="true">
+ <description>Create InventoryItemType</description>
+ <auto-attributes include="pk" mode="INOUT" optional="true"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="updateInventoryItemType" engine="entity-auto"
default-entity-name="InventoryItemType" invoke="update" auth="true">
+ <description>Update InventoryItemType</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteInventoryItemType" engine="entity-auto"
default-entity-name="InventoryItemType" invoke="delete" auth="true">
+ <description>Delete InventoryItemType</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ </service>
</services>
Modified: ofbiz/trunk/applications/product/servicedef/services_inventory.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services_inventory.xml?rev=1767101&r1=1767100&r2=1767101&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/servicedef/services_inventory.xml
(original)
+++ ofbiz/trunk/applications/product/servicedef/services_inventory.xml Sat Oct
29 09:01:09 2016
@@ -54,4 +54,19 @@ under the License.
<auto-attributes include="pk" mode="IN"/>
</service>
+ <service name="createInventoryItemTypeAttr"
default-entity-name="InventoryItemTypeAttr" engine="entity-auto"
invoke="create" auth="true">
+ <description>Create a InventoryItemTypeAttr</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="updateInventoryItemTypeAttr"
default-entity-name="InventoryItemTypeAttr" engine="entity-auto"
invoke="update" auth="true">
+ <description>Update a InventoryItemTypeAttr</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteInventoryItemTypeAttr"
default-entity-name="InventoryItemTypeAttr" engine="entity-auto"
invoke="delete" auth="true">
+ <description>Delete a InventoryItemTypeAttr</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ </service>
+
</services>
\ No newline at end of file
Modified: ofbiz/trunk/applications/product/servicedef/services_shipment.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services_shipment.xml?rev=1767101&r1=1767100&r2=1767101&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/servicedef/services_shipment.xml (original)
+++ ofbiz/trunk/applications/product/servicedef/services_shipment.xml Sat Oct
29 09:01:09 2016
@@ -1118,4 +1118,19 @@ under the License.
<description>Delete a ShipmentTypeAttr Record</description>
<auto-attributes include="pk" mode="IN"/>
</service>
+
+ <service name="createShippingDocument"
default-entity-name="ShippingDocument" engine="entity-auto" invoke="create"
auth="true">
+ <description>Create a ShippingDocument</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="updateShippingDocument"
default-entity-name="ShippingDocument" engine="entity-auto" invoke="update"
auth="true">
+ <description>Update a ShippingDocument</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteShippingDocument"
default-entity-name="ShippingDocument" engine="entity-auto" invoke="delete"
auth="true">
+ <description>Delete a ShippingDocument</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ </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=1767101&r1=1767100&r2=1767101&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml
(original)
+++ ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml
Sat Oct 29 09:01:09 2016
@@ -30,17 +30,35 @@ under the License.
<auto-attributes entity-name="ShipmentGatewayConfig" include="pk"
mode="IN" optional="false"/>
<auto-attributes entity-name="ShipmentGatewayConfig" 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"/>
- <auto-attributes entity-name="ShipmentGatewayDhl" include="nonpk"
mode="IN" optional="true"/>
+
+ <service name="updateShipmentGatewayConfigDhl" engine="entity-auto"
invoke="update" default-entity-name="ShipmentGatewayDhl" auth="true">
+ <description>Update a ShipmentGatewayDhl record</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
</service>
-
- <service name="updateShipmentGatewayConfigFedex" engine="simple"
location="component://product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml"
invoke="updateShipmentGatewayConfigFedex">
- <description>Update Shipment Gateway Config FedEx</description>
- <auto-attributes entity-name="ShipmentGatewayFedex" include="pk"
mode="IN" optional="false"/>
- <auto-attributes entity-name="ShipmentGatewayFedex" include="nonpk"
mode="IN" optional="true"/>
+ <service name="createShipmentGatewayDhl"
default-entity-name="ShipmentGatewayDhl" engine="entity-auto" invoke="create"
auth="true">
+ <description>Create a ShipmentGatewayDhl</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteShipmentGatewayDhl"
default-entity-name="ShipmentGatewayDhl" engine="entity-auto" invoke="delete"
auth="true">
+ <description>Delete a ShipmentGatewayDhl</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ </service>
+
+ <service name="updateShipmentGatewayConfigFedex" engine="entity-auto"
invoke="update" default-entity-name="ShipmentGatewayFedex" auth="true">
+ <description>Update a ShipmentGatewayFedex record</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="createShipmentGatewayFedex"
default-entity-name="ShipmentGatewayFedex" engine="entity-auto" invoke="create"
auth="true">
+ <description>Create a ShipmentGatewayFedex</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteShipmentGatewayFedex"
default-entity-name="ShipmentGatewayFedex" engine="entity-auto" invoke="delete"
auth="true">
+ <description>Delete a ShipmentGatewayFedex</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
</service>
<!-- ShipmentGatewayUps services -->
@@ -90,4 +108,30 @@ under the License.
<description>Delete a ShipmentGatewayConfig record</description>
<auto-attributes include="pk" mode="IN"/>
</service>
+
+ <service name="createShipmentGatewayConfigType" engine="entity-auto"
default-entity-name="ShipmentGatewayConfigType" invoke="create" auth="true">
+ <description>Create ShipmentGatewayConfigType</description>
+ <auto-attributes include="pk" mode="INOUT" optional="true"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteShipmentGatewayConfigType" engine="entity-auto"
default-entity-name="ShipmentGatewayConfigType" invoke="delete" auth="true">
+ <description>Delete ShipmentGatewayConfigType</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ </service>
+
+ <!-- ShipmentType Services -->
+ <service name="createShipmentType" engine="entity-auto"
default-entity-name="ShipmentType" invoke="create" auth="true">
+ <description>Create ShipmentType</description>
+ <auto-attributes include="pk" mode="INOUT" optional="true"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="updateShipmentType" engine="entity-auto"
default-entity-name="ShipmentType" invoke="update" auth="true">
+ <description>Update ShipmentType</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteShipmentType" engine="entity-auto"
default-entity-name="ShipmentType" invoke="delete" auth="true">
+ <description>Delete ShipmentType</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ </service>
</services>
Modified: ofbiz/trunk/framework/common/servicedef/services_geo.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/servicedef/services_geo.xml?rev=1767101&r1=1767100&r2=1767101&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/servicedef/services_geo.xml (original)
+++ ofbiz/trunk/framework/common/servicedef/services_geo.xml Sat Oct 29
09:01:09 2016
@@ -50,5 +50,19 @@
<description>Delete a Country Code</description>
<auto-attributes include="pk" mode="IN"/>
</service>
-
+
+ <service name="createCountryAddressFormat" engine="entity-auto"
invoke="create" default-entity-name="CountryAddressFormat" auth="true">
+ <description>Create a Country Address Format</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="updateCountryAddressFormat" engine="entity-auto"
invoke="update" default-entity-name="CountryAddressFormat" auth="true">
+ <description>Update a Country Address Format</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteCountryAddressFormat" engine="entity-auto"
invoke="delete" default-entity-name="CountryAddressFormat" auth="true">
+ <description>Delete a Country Address Format</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ </service>
</services>
Modified: ofbiz/trunk/specialpurpose/example/servicedef/services.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/example/servicedef/services.xml?rev=1767101&r1=1767100&r2=1767101&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/example/servicedef/services.xml (original)
+++ ofbiz/trunk/specialpurpose/example/servicedef/services.xml Sat Oct 29
09:01:09 2016
@@ -151,4 +151,20 @@ under the License.
<auto-attributes include="pk" mode="IN" optional="false"/>
</service>
+ <!-- ExampleFeatureApplType services -->
+ <service name="createExampleFeatureApplType"
default-entity-name="ExampleFeatureApplType" engine="entity-auto"
invoke="create" auth="true">
+ <description>Create a ExampleFeatureApplType</description>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ <auto-attributes include="pk" mode="INOUT" optional="true"/>
+ </service>
+ <service name="updateExampleFeatureApplType"
default-entity-name="ExampleFeatureApplType" engine="entity-auto"
invoke="update" auth="true">
+ <description>Update a ExampleFeatureApplType</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteExampleFeatureApplType"
default-entity-name="ExampleFeatureApplType" engine="entity-auto"
invoke="delete" auth="true">
+ <description>Delete a ExampleFeatureApplType</description>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ </service>
+
</services>