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/08/27 12:52:27 UTC

svn commit: r1758020 - /ofbiz/trunk/applications/accounting/servicedef/services_fixedasset.xml

Author: arunpatidar
Date: Sat Aug 27 12:52:27 2016
New Revision: 1758020

URL: http://svn.apache.org/viewvc?rev=1758020&view=rev
Log:
Applied patch from jira issue - OFBIZ-7831 - Added CRUD services for AccommodationClass entity . Thanks Rishi Solanki and Rohit Koushal for your contribution.

Modified:
    ofbiz/trunk/applications/accounting/servicedef/services_fixedasset.xml

Modified: ofbiz/trunk/applications/accounting/servicedef/services_fixedasset.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_fixedasset.xml?rev=1758020&r1=1758019&r2=1758020&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/services_fixedasset.xml (original)
+++ ofbiz/trunk/applications/accounting/servicedef/services_fixedasset.xml Sat Aug 27 12:52:27 2016
@@ -301,4 +301,20 @@ under the License.
         <permission-service service-name="fixedAssetPermissionCheck" main-action="DELETE"/>
         <auto-attributes include="pk" mode="IN" optional="false"/>
     </service>
+
+    <!-- AccommodationClass services -->
+    <service name="createAccommodationClass" default-entity-name="AccommodationClass" engine="entity-auto" invoke="create" auth="true">
+        <description>Create an AccommodationClass</description>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+    </service>
+    <service name="updateAccommodationClass" default-entity-name="AccommodationClass" engine="entity-auto" invoke="update" auth="true">
+        <description>Update an AccommodationClass</description>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteAccommodationClass" default-entity-name="AccommodationClass" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete an AccommodationClass</description>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
+    </service>
 </services>