svn commit: r1761130 - in /ofbiz/trunk: applications/order/servicedef/services_request.xml framework/common/ofbiz-component.xml framework/common/servicedef/services_method.xml

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

svn commit: r1761130 - in /ofbiz/trunk: applications/order/servicedef/services_request.xml framework/common/ofbiz-component.xml framework/common/servicedef/services_method.xml

Arun Patidar-4
Author: arunpatidar
Date: Sat Sep 17 06:51:07 2016
New Revision: 1761130

URL: http://svn.apache.org/viewvc?rev=1761130&view=rev
Log:
Implemented: Added CRUD services for CustRequestType, CustRequestTypeAttr and CustomMethod entity.
(OFBIZ-8032) (OFBIZ-8033)(OFBIZ-8034)

Thanks: Amit Gadaley for the contribution.

Added:
    ofbiz/trunk/framework/common/servicedef/services_method.xml
Modified:
    ofbiz/trunk/applications/order/servicedef/services_request.xml
    ofbiz/trunk/framework/common/ofbiz-component.xml

Modified: ofbiz/trunk/applications/order/servicedef/services_request.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/servicedef/services_request.xml?rev=1761130&r1=1761129&r2=1761130&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/servicedef/services_request.xml (original)
+++ ofbiz/trunk/applications/order/servicedef/services_request.xml Sat Sep 17 06:51:07 2016
@@ -255,5 +255,33 @@ under the License.
         <description>Delete a CustRequestResolution record</description>
         <auto-attributes include="pk" mode="IN"/>
     </service>
+    <service name="createCustRequestType" engine="entity-auto" invoke="create" default-entity-name="CustRequestType" auth="true">
+        <description>Create a CustRequestType record</description>
+        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateCustRequestType" engine="entity-auto" invoke="update" default-entity-name="CustRequestType" auth="true">
+        <description>Update a CustRequestType record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteCustRequestType" engine="entity-auto" invoke="delete" default-entity-name="CustRequestType" auth="true">
+        <description>Delete a CustRequestType record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
+    <service name="createCustRequestTypeAttr" engine="entity-auto" invoke="create" default-entity-name="CustRequestTypeAttr" auth="true">
+        <description>Create a CustRequestTypeAttr record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateCustRequestTypeAttr" engine="entity-auto" invoke="update" default-entity-name="CustRequestTypeAttr" auth="true">
+        <description>Update a CustRequestTypeAttr record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteCustRequestTypeAttr" engine="entity-auto" invoke="delete" default-entity-name="CustRequestTypeAttr" auth="true">
+        <description>Delete a CustRequestTypeAttr record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
 </services>
 

Modified: ofbiz/trunk/framework/common/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/ofbiz-component.xml?rev=1761130&r1=1761129&r2=1761130&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/ofbiz-component.xml (original)
+++ ofbiz/trunk/framework/common/ofbiz-component.xml Sat Sep 17 06:51:07 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_method.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_geo.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_qrcode.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_security.xml"/>

Added: ofbiz/trunk/framework/common/servicedef/services_method.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/servicedef/services_method.xml?rev=1761130&view=auto
==============================================================================
--- ofbiz/trunk/framework/common/servicedef/services_method.xml (added)
+++ ofbiz/trunk/framework/common/servicedef/services_method.xml Sat Sep 17 06:51:07 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 Method Services</description>
+    <vendor>OFBiz</vendor>
+    <version>1.0</version>
+
+    <service name="createCustomMethod" engine="entity-auto" invoke="create" default-entity-name="CustomMethod" auth="true">
+        <description>Create a Custom Method</description>
+        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateCustomMethod" engine="entity-auto" invoke="update" default-entity-name="CustomMethod" auth="true">
+        <description>Update a Custom Method</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteCustomMethod" engine="entity-auto" invoke="delete" default-entity-name="CustomMethod" auth="true">
+        <description>Delete a Custom Method</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
+    
+</services>