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/09/17 11:35:30 UTC
svn commit: r1761199 - in /ofbiz/trunk/applications:
content/servicedef/services_document.xml
humanres/servicedef/services_position.xml
Author: arunpatidar
Date: Sat Sep 17 11:35:30 2016
New Revision: 1761199
URL: http://svn.apache.org/viewvc?rev=1761199&view=rev
Log:
Implemented: Added CRUD services for DocumentType, DocumentTypeAttr and EmplPositionTypeClass entity.
(OFBIZ-8164) (OFBIZ-8165) (OFBIZ-8166)
Thanks: Amit Gadaley for the contribution.
Modified:
ofbiz/trunk/applications/content/servicedef/services_document.xml
ofbiz/trunk/applications/humanres/servicedef/services_position.xml
Modified: ofbiz/trunk/applications/content/servicedef/services_document.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/servicedef/services_document.xml?rev=1761199&r1=1761198&r2=1761199&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/servicedef/services_document.xml (original)
+++ ofbiz/trunk/applications/content/servicedef/services_document.xml Sat Sep 17 11:35:30 2016
@@ -55,4 +55,36 @@ under the License.
<auto-attributes mode="IN" include="pk"/>
</service>
+ <!-- create DocumentType services -->
+ <service name="createDocumentType" default-entity-name="DocumentType" engine="entity-auto" invoke="create" auth="true">
+ <description>Create a DocumentType record</description>
+ <auto-attributes mode="INOUT" include="pk" optional="true"/>
+ <auto-attributes mode="IN" include="nonpk" optional="true"/>
+ </service>
+ <service name="updateDocumentType" default-entity-name="DocumentType" engine="entity-auto" invoke="update" auth="true">
+ <description>Update a DocumentType record</description>
+ <auto-attributes mode="IN" include="pk"/>
+ <auto-attributes mode="IN" include="nonpk" optional="true"/>
+ </service>
+ <service name="deleteDocumentType" default-entity-name="DocumentType" engine="entity-auto" invoke="delete" auth="true">
+ <description>Delete a DocumentType record</description>
+ <auto-attributes mode="IN" include="pk"/>
+ </service>
+
+ <!-- create DocumentTypeAttr services -->
+ <service name="createDocumentTypeAttr" default-entity-name="DocumentTypeAttr" engine="entity-auto" invoke="create" auth="true">
+ <description>Create a DocumentTypeAttr record</description>
+ <auto-attributes mode="IN" include="pk"/>
+ <auto-attributes mode="IN" include="nonpk" optional="true"/>
+ </service>
+ <service name="updateDocumentTypeAttr" default-entity-name="DocumentTypeAttr" engine="entity-auto" invoke="update" auth="true">
+ <description>Update a DocumentTypeAttr record</description>
+ <auto-attributes mode="IN" include="pk"/>
+ <auto-attributes mode="IN" include="nonpk" optional="true"/>
+ </service>
+ <service name="deleteDocumentTypeAttr" default-entity-name="DocumentTypeAttr" engine="entity-auto" invoke="delete" auth="true">
+ <description>Delete a DocumentTypeAttr record</description>
+ <auto-attributes mode="IN" include="pk"/>
+ </service>
+
</services>
Modified: ofbiz/trunk/applications/humanres/servicedef/services_position.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/servicedef/services_position.xml?rev=1761199&r1=1761198&r2=1761199&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/servicedef/services_position.xml (original)
+++ ofbiz/trunk/applications/humanres/servicedef/services_position.xml Sat Sep 17 11:35:30 2016
@@ -23,6 +23,22 @@ under the License.
<description>Humanres Services</description>
<vendor>OFBiz</vendor>
+ <!-- EmplPositionTypeClass services -->
+ <service name="createEmplPositionTypeClass" default-entity-name="EmplPositionTypeClass" engine="entity-auto" invoke="create" auth="true">
+ <description>Create a EmplPositionTypeClass record</description>
+ <auto-attributes mode="IN" include="pk"/>
+ <auto-attributes mode="IN" include="nonpk" optional="true"/>
+ </service>
+ <service name="updateEmplPositionTypeClass" default-entity-name="EmplPositionTypeClass" engine="entity-auto" invoke="update" auth="true">
+ <description>Update a EmplPositionTypeClass record</description>
+ <auto-attributes mode="IN" include="pk"/>
+ <auto-attributes mode="IN" include="nonpk" optional="true"/>
+ </service>
+ <service name="expireEmplPositionTypeClass" default-entity-name="EmplPositionTypeClass" engine="entity-auto" invoke="expire" auth="true">
+ <description>Expire a EmplPositionTypeClass record</description>
+ <auto-attributes mode="IN" include="pk"/>
+ </service>
+
<service name="createEmplPositionClassType" default-entity-name="EmplPositionClassType" engine="entity-auto" invoke="create" auth="true">
<description>Create a EmplPositionClassType record</description>
<auto-attributes mode="INOUT" include="pk" optional="true"/>