applications/content/servicedef/services_document.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is subject to the terms and conditions defined in the
files 'LICENSE' and 'NOTICE', which are part of this source
code package.
-->
<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/services.xsd">
<description>Content Component Document Services</description>
<vendor>OFBiz</vendor>
<!-- create DocumentAttribute services -->
<service name="createDocumentAttribute" default-entity-name="DocumentAttribute" engine="entity-auto" invoke="create" auth="true">
<description>Create a DocumentAttribute record</description>
<auto-attributes mode="IN" include="pk"/>
<auto-attributes mode="IN" include="nonpk" optional="true"/>
</service>
<service name="updateDocumentAttribute" default-entity-name="DocumentAttribute" engine="entity-auto" invoke="update" auth="true">
<description>Update a DocumentAttribute record</description>
<auto-attributes mode="IN" include="pk"/>
<auto-attributes mode="IN" include="nonpk" optional="true"/>
</service>
<service name="deleteDocumentAttribute" default-entity-name="DocumentAttribute" engine="entity-auto" invoke="delete" auth="true">
<description>Delete a DocumentAttribute record</description>
<auto-attributes mode="IN" include="pk"/>
</service>
<!-- create document services -->
<service name="createDocument" default-entity-name="Document" engine="entity-auto" invoke="create" auth="true">
<description>Create a Document record</description>
<auto-attributes mode="INOUT" include="pk" optional="true"/>
<auto-attributes mode="IN" include="nonpk" optional="true"/>
</service>
<service name="updateDocument" default-entity-name="Document" engine="entity-auto" invoke="update" auth="true">
<description>Update a Document record</description>
<auto-attributes mode="IN" include="pk"/>
<auto-attributes mode="IN" include="nonpk" optional="true"/>
</service>
<service name="deleteDocument" default-entity-name="Document" engine="entity-auto" invoke="delete" auth="true">
<description>Delete a Document record</description>
<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>