106 lines
6.5 KiB
XML
106 lines
6.5 KiB
XML
<?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>Manufacturing Services - Calendar</description>
|
|
<vendor>OFBiz</vendor>
|
|
<version>1.0</version>
|
|
|
|
<!-- Routing services -->
|
|
<service name="createCalendar" engine="simple" default-entity-name="TechDataCalendar"
|
|
location="component://manufacturing/minilang/techdata/RoutingSimpleServices.xml" invoke="createCalendar">
|
|
<description>Create a calendar</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="updateCalendar" engine="entity-auto" default-entity-name="TechDataCalendar" invoke="update">
|
|
<description>Update a calendar</description>
|
|
<permission-service service-name="manufacturingPermissionService" main-action="UPDATE"/>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="removeCalendar" engine="simple" default-entity-name="TechDataCalendar"
|
|
location="component://manufacturing/minilang/techdata/RoutingSimpleServices.xml" invoke="removeCalendar">
|
|
<description>Remove a calendar</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
</service>
|
|
<!-- TechDataCalendarWeek services -->
|
|
<service name="createCalendarWeek" engine="simple" default-entity-name="TechDataCalendarWeek"
|
|
location="component://manufacturing/minilang/techdata/RoutingSimpleServices.xml" invoke="createCalendarWeek">
|
|
<description>Create a Calendar Week</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="updateCalendarWeek" engine="entity-auto" default-entity-name="TechDataCalendarWeek" invoke="update">
|
|
<description>Update a Calendar Week</description>
|
|
<permission-service service-name="manufacturingPermissionService" main-action="UPDATE"/>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="removeCalendarWeek" engine="simple" default-entity-name="TechDataCalendarWeek"
|
|
location="component://manufacturing/minilang/techdata/RoutingSimpleServices.xml" invoke="removeCalendarWeek">
|
|
<description>Remove a Calendar Week</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
</service>
|
|
<!-- manufacturing permission service -->
|
|
<service name="manufacturingPermissionService" engine="simple"
|
|
location="component://common/minilang/permission/CommonPermissionServices.xml" invoke="genericBasePermissionCheck">
|
|
<implements service="permissionInterface"/>
|
|
<attribute name="primaryPermission" type="String" mode="IN" optional="true" default-value="MANUFACTURING"/>
|
|
<attribute name="altPermission" type="String" mode="IN" optional="true"/>
|
|
</service>
|
|
<!-- TechDataCalendarExcDay services -->
|
|
<service name="createCalendarExceptionDay" engine="entity-auto" default-entity-name="TechDataCalendarExcDay" invoke="create">
|
|
<description>Create a calendar ExceptionDay</description>
|
|
<permission-service service-name="manufacturingPermissionService" main-action="CREATE"/>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="updateCalendarExceptionDay" engine="entity-auto" default-entity-name="TechDataCalendarExcDay" invoke="update">
|
|
<description>Update a calendar ExceptionDay</description>
|
|
<permission-service service-name="manufacturingPermissionService" main-action="UPDATE"/>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="removeCalendarExceptionDay" engine="entity-auto" default-entity-name="TechDataCalendarExcDay" invoke="delete">
|
|
<description>Delete a calendar ExceptionDay</description>
|
|
<permission-service service-name="manufacturingPermissionService" main-action="DELETE"/>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
</service>
|
|
<!-- TechDataCalendarExcWeek services -->
|
|
<service name="createCalendarExceptionWeek" engine="entity-auto" default-entity-name="TechDataCalendarExcWeek" invoke="create">
|
|
<description>Create a Calendar Exception Week</description>
|
|
<permission-service service-name="manufacturingPermissionService" main-action="CREATE"/>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="updateCalendarExceptionWeek" engine="entity-auto" default-entity-name="TechDataCalendarExcWeek" invoke="update">
|
|
<description>Update a Calendar Exception Week</description>
|
|
<permission-service service-name="manufacturingPermissionService" main-action="UPDATE"/>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="removeCalendarExceptionWeek" engine="entity-auto" default-entity-name="TechDataCalendarExcWeek" invoke="delete">
|
|
<description>Delete a Calendar Exception Week</description>
|
|
<permission-service service-name="manufacturingPermissionService" main-action="DELETE"/>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
</service>
|
|
</services>
|