svn commit: r1761231 - in /ofbiz/trunk: applications/accounting/servicedef/ applications/humanres/servicedef/ applications/product/ applications/product/servicedef/ framework/common/ framework/common/servicedef/ framework/entityext/ framework/entityext...

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

svn commit: r1761231 - in /ofbiz/trunk: applications/accounting/servicedef/ applications/humanres/servicedef/ applications/product/ applications/product/servicedef/ framework/common/ framework/common/servicedef/ framework/entityext/ framework/entityext...

Arun Patidar-4
Author: arunpatidar
Date: Sat Sep 17 13:31:24 2016
New Revision: 1761231

URL: http://svn.apache.org/viewvc?rev=1761231&view=rev
Log:
Implemented: Added CRUD services for InvoiceItemAttribute, InvoiceTermAttribute, EmploymentAppSourceType, FacilityType, InventoryItemTempRes, EnumerationType, EntityGroup, EntityGroupEntry, EntitySyncIncludeGroup and InventoryItemAttribute entity.
(OFBIZ-8167) (OFBIZ-8168) (OFBIZ-8169) (OFBIZ-8170) (OFBIZ-8171) (OFBIZ-8208)(OFBIZ-8246)(OFBIZ-8247)(OFBIZ-8259)(OFBIZ-8269)

Thanks: Amit Gadaley for the contribution.

Added:
    ofbiz/trunk/applications/product/servicedef/services_inventory.xml
    ofbiz/trunk/framework/common/servicedef/services_enum.xml
    ofbiz/trunk/framework/entityext/servicedef/services_group.xml
    ofbiz/trunk/framework/entityext/servicedef/services_synchronization.xml
Modified:
    ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml
    ofbiz/trunk/applications/humanres/servicedef/services_employment.xml
    ofbiz/trunk/applications/product/ofbiz-component.xml
    ofbiz/trunk/applications/product/servicedef/services_facility.xml
    ofbiz/trunk/framework/common/ofbiz-component.xml
    ofbiz/trunk/framework/entityext/ofbiz-component.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=1761231&r1=1761230&r2=1761231&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml (original)
+++ ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml Sat Sep 17 13:31:24 2016
@@ -442,5 +442,33 @@ under the License.
         <attribute mode="INOUT" name="organizationPartyId" type="String" optional="false"/>
         <attribute mode="IN" name="uploadedFile" type="java.nio.ByteBuffer" optional="true" />
     </service>
+    <service name="createInvoiceItemAttribute" default-entity-name="InvoiceItemAttribute" engine="entity-auto" invoke="create" auth="true">
+        <description>Create a InvoiceItemAttribute record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateInvoiceItemAttribute" default-entity-name="InvoiceItemAttribute" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a InvoiceItemAttribute record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteInvoiceItemAttribute" default-entity-name="InvoiceItemAttribute" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a InvoiceItemAttribute record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
+    <service name="createInvoiceTermAttribute" default-entity-name="InvoiceTermAttribute" engine="entity-auto" invoke="create" auth="true">
+        <description>Create a InvoiceTermAttribute record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateInvoiceTermAttribute" default-entity-name="InvoiceTermAttribute" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a InvoiceTermAttribute record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteInvoiceTermAttribute" default-entity-name="InvoiceTermAttribute" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a InvoiceTermAttribute record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
     
 </services>

Modified: ofbiz/trunk/applications/humanres/servicedef/services_employment.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/servicedef/services_employment.xml?rev=1761231&r1=1761230&r2=1761231&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/servicedef/services_employment.xml (original)
+++ ofbiz/trunk/applications/humanres/servicedef/services_employment.xml Sat Sep 17 13:31:24 2016
@@ -20,4 +20,20 @@
         <description>Delete a BenefitType record</description>
         <auto-attributes mode="IN" include="pk"/>
     </service>
+    
+    <!-- EmploymentAppSource type services -->
+    <service name="createEmploymentAppSourceType" default-entity-name="EmploymentAppSourceType" engine="entity-auto" invoke="create" auth="true">
+        <description>Create a EmploymentAppSourceType record</description>
+        <auto-attributes mode="INOUT" include="pk" optional="true"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    <service name="updateEmploymentAppSourceType" default-entity-name="EmploymentAppSourceType" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a EmploymentAppSourceType record</description>
+        <auto-attributes mode="IN" include="pk"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    <service name="deleteEmploymentAppSourceType" default-entity-name="EmploymentAppSourceType" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a EmploymentAppSourceType record</description>
+        <auto-attributes mode="IN" include="pk"/>
+    </service>
 </services>

Modified: ofbiz/trunk/applications/product/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/ofbiz-component.xml?rev=1761231&r1=1761230&r2=1761231&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/ofbiz-component.xml (original)
+++ ofbiz/trunk/applications/product/ofbiz-component.xml Sat Sep 17 13:31:24 2016
@@ -46,6 +46,7 @@ under the License.
     <service-resource type="model" loader="main" location="servicedef/services.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_facility.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_feature.xml"/>
+    <service-resource type="model" loader="main" location="servicedef/services_inventory.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_maint.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_picklist.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_pricepromo.xml"/>

Modified: ofbiz/trunk/applications/product/servicedef/services_facility.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services_facility.xml?rev=1761231&r1=1761230&r2=1761231&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/servicedef/services_facility.xml (original)
+++ ofbiz/trunk/applications/product/servicedef/services_facility.xml Sat Sep 17 13:31:24 2016
@@ -977,4 +977,19 @@ under the License.
         <description>Remove a FacilityTypeAttr</description>
         <auto-attributes include="pk" mode="IN" optional="false"/>
     </service>
+    <!-- FacilityType services -->
+    <service name="createFacilityType" default-entity-name="FacilityType" engine="entity-auto" invoke="create" auth="true">
+        <description>Create a FacilityType record</description>
+        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateFacilityType" default-entity-name="FacilityType" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a FacilityType record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteFacilityType" default-entity-name="FacilityType" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a FacilityType record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
 </services>

Added: ofbiz/trunk/applications/product/servicedef/services_inventory.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services_inventory.xml?rev=1761231&view=auto
==============================================================================
--- ofbiz/trunk/applications/product/servicedef/services_inventory.xml (added)
+++ ofbiz/trunk/applications/product/servicedef/services_inventory.xml Sat Sep 17 13:31:24 2016
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/services.xsd">
+    <description>Product Inventory Services</description>
+    <vendor>OFBiz</vendor>
+    <version>1.0</version>
+
+    <service name="createInventoryItemTempRes" default-entity-name="InventoryItemTempRes" engine="entity-auto" invoke="create" auth="true">
+        <description>Create a InventoryItemTempRes record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateInventoryItemTempRes" default-entity-name="InventoryItemTempRes" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a InventoryItemTempRes record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteInventoryItemTempRes" default-entity-name="InventoryItemTempRes" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a InventoryItemTempRes record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
+
+    <service name="createInventoryItemAttribute" default-entity-name="InventoryItemAttribute" engine="entity-auto" invoke="create" auth="true">
+        <description>Create a InventoryItemAttribute</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateInventoryItemAttribute" default-entity-name="InventoryItemAttribute" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a InventoryItemAttribute</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteInventoryItemAttribute" default-entity-name="InventoryItemAttribute" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a InventoryItemAttribute</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
+
+</services>
\ No newline at end of file

Modified: ofbiz/trunk/framework/common/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/ofbiz-component.xml?rev=1761231&r1=1761230&r2=1761231&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/ofbiz-component.xml (original)
+++ ofbiz/trunk/framework/common/ofbiz-component.xml Sat Sep 17 13:31:24 2016
@@ -65,6 +65,7 @@ under the License.
     <service-resource type="model" loader="main" location="servicedef/services.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_cdyne.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_email.xml"/>
+    <service-resource type="model" loader="main" location="servicedef/services_enum.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_method.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_geo.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_qrcode.xml"/>

Added: ofbiz/trunk/framework/common/servicedef/services_enum.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/servicedef/services_enum.xml?rev=1761231&view=auto
==============================================================================
--- ofbiz/trunk/framework/common/servicedef/services_enum.xml (added)
+++ ofbiz/trunk/framework/common/servicedef/services_enum.xml Sat Sep 17 13:31:24 2016
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/services.xsd">
+    <description>OFBiz Enum Services</description>
+    <vendor>OFBiz</vendor>
+    <version>1.0</version>
+
+    <service name="createEnumerationType" engine="entity-auto" invoke="create" default-entity-name="EnumerationType" auth="true">
+        <description>Create a EnumerationType</description>
+        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateEnumerationType" engine="entity-auto" invoke="update" default-entity-name="EnumerationType" auth="true">
+        <description>Update a EnumerationType</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteEnumerationType" engine="entity-auto" invoke="delete" default-entity-name="EnumerationType" auth="true">
+        <description>Delete a EnumerationType</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
+    
+</services>

Modified: ofbiz/trunk/framework/entityext/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entityext/ofbiz-component.xml?rev=1761231&r1=1761230&r2=1761231&view=diff
==============================================================================
--- ofbiz/trunk/framework/entityext/ofbiz-component.xml (original)
+++ ofbiz/trunk/framework/entityext/ofbiz-component.xml Sat Sep 17 13:31:24 2016
@@ -32,6 +32,8 @@ under the License.
     <entity-resource type="data" reader-name="demo" loader="main" location="data/EntityExtSecurityGroupDemoData.xml"/>
     
     <service-resource type="model" loader="main" location="servicedef/services.xml"/>
+    <service-resource type="model" loader="main" location="servicedef/services_group.xml"/>
+    <service-resource type="model" loader="main" location="servicedef/services_synchronization.xml"/>
     <service-resource type="group" loader="main" location="servicedef/groups.xml"/>
 
     <!-- load the data load container, runs the entity data load stuff -->

Added: ofbiz/trunk/framework/entityext/servicedef/services_group.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entityext/servicedef/services_group.xml?rev=1761231&view=auto
==============================================================================
--- ofbiz/trunk/framework/entityext/servicedef/services_group.xml (added)
+++ ofbiz/trunk/framework/entityext/servicedef/services_group.xml Sat Sep 17 13:31:24 2016
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/services.xsd">
+    <description>Entity Group Services</description>
+    <vendor>OFBiz</vendor>
+    <version>1.0</version>
+
+    <!-- EntityGroup services -->
+    <service name="createEntityGroup" default-entity-name="EntityGroup" engine="entity-auto" invoke="create" auth="true">
+        <description>Create a EntityGroup record</description>
+        <auto-attributes mode="INOUT" include="pk" optional="true"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    <service name="updateEntityGroup" default-entity-name="EntityGroup" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a EntityGroup record</description>
+        <auto-attributes mode="IN" include="pk"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    <service name="deleteEntityGroup" default-entity-name="EntityGroup" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a EntityGroup record</description>
+        <auto-attributes mode="IN" include="pk"/>
+    </service>
+
+    <!-- EntityGroupEntry services -->
+    <service name="createEntityGroupEntry" default-entity-name="EntityGroupEntry" engine="entity-auto" invoke="create" auth="true">
+        <description>Create a EntityGroupEntry record</description>
+        <auto-attributes mode="IN" include="pk"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    <service name="updateEntityGroupEntry" default-entity-name="EntityGroupEntry" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a EntityGroupEntry record</description>
+        <auto-attributes mode="IN" include="pk"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    <service name="deleteEntityGroupEntry" default-entity-name="EntityGroupEntry" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a EntityGroupEntry record</description>
+        <auto-attributes mode="IN" include="pk"/>
+    </service>
+</services>

Added: ofbiz/trunk/framework/entityext/servicedef/services_synchronization.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entityext/servicedef/services_synchronization.xml?rev=1761231&view=auto
==============================================================================
--- ofbiz/trunk/framework/entityext/servicedef/services_synchronization.xml (added)
+++ ofbiz/trunk/framework/entityext/servicedef/services_synchronization.xml Sat Sep 17 13:31:24 2016
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/services.xsd">
+    <description>Entity Group Services</description>
+    <vendor>OFBiz</vendor>
+    <version>1.0</version>
+
+    <!-- EntitySyncIncludeGroup services -->
+    <service name="createEntitySyncIncludeGroup" default-entity-name="EntitySyncIncludeGroup" engine="entity-auto" invoke="create" auth="true">
+        <description>Create a EntitySyncIncludeGroup record</description>
+        <auto-attributes mode="IN" include="pk"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    <service name="updateEntitySyncIncludeGroup" default-entity-name="EntitySyncIncludeGroup" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a EntitySyncIncludeGroup record</description>
+        <auto-attributes mode="IN" include="pk"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    <service name="deleteEntitySyncIncludeGroup" default-entity-name="EntitySyncIncludeGroup" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a EntitySyncIncludeGroup record</description>
+        <auto-attributes mode="IN" include="pk"/>
+    </service>
+
+</services>