ilscipio/scipio-erp

View on GitHub
applications/humanres/servicedef/services_employment.xml

Summary

Maintainability
Test Coverage
<?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>Humanres Services</description>
    <vendor>OFBiz</vendor>

    <!-- Benefit type services -->
    <service name="createBenefitType" default-entity-name="BenefitType" engine="entity-auto" invoke="create" auth="true">
        <description>Create a BenefitType record</description>
        <auto-attributes mode="INOUT" include="pk" optional="true"/>
        <auto-attributes mode="IN" include="nonpk" optional="true"/>
    </service>
    <service name="updateBenefitType" default-entity-name="BenefitType" engine="entity-auto" invoke="update" auth="true">
        <description>Update a BenefitType record</description>
        <auto-attributes mode="IN" include="pk"/>
        <auto-attributes mode="IN" include="nonpk" optional="true"/>
    </service>
    <service name="deleteBenefitType" default-entity-name="BenefitType" engine="entity-auto" invoke="delete" auth="true">
        <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>