(OFBIZ-7113) With the problem to have a permission service not on the same transaction that the related service [1] I realized the following improvement to * unified call evalPermission * move all related field for permission service on ModelService to ModelPermission * Remove deprecated code * add labelized error message * call as same transaction the permission service by defautl with possibility to overide this rule * add new attributes on permission model: require-new-transaction and return-error-on-failure Thanks to Jacques Leroux for the review git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1866137 13f79535-47bb-0310-9956-ffa450edef68
59 lines
3.2 KiB
XML
59 lines
3.2 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>Commonext Component Services</description>
|
|
<vendor>OFBiz</vendor>
|
|
<version>1.0</version>
|
|
|
|
<service name="createSystemInfoNote" engine="simple" default-entity-name="NoteData"
|
|
location="component://commonext/minilang/SystemInfoServices.xml" invoke="createSystemInfoNote">
|
|
<description>Create a system info note</description>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="deleteSystemInfoNote" engine="simple" default-entity-name="NoteData"
|
|
location="component://commonext/minilang/SystemInfoServices.xml" invoke="deleteSystemInfoNote">
|
|
<description>Delete a system info note</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
</service>
|
|
<service name="deleteAllSystemNotes" engine="simple" auth="true"
|
|
location="component://commonext/minilang/SystemInfoServices.xml" invoke="deleteAllSystemNotes">
|
|
<description>Delete all system notes for the logged on party</description>
|
|
</service>
|
|
<service name="getSystemInfoNotes" engine="simple" auth="true"
|
|
location="component://commonext/minilang/SystemInfoServices.xml" invoke="getSystemInfoNotes">
|
|
<description>Get system notes for the logged on party</description>
|
|
<attribute name="systemInfoNotes" type="List" mode="OUT" optional="true"/>
|
|
</service>
|
|
<service name="getLastSystemInfoNote" engine="simple" auth="false"
|
|
location="component://commonext/minilang/SystemInfoServices.xml" invoke="getLastSystemInfoNote">
|
|
<description>Get last system note for the logged on party</description>
|
|
<attribute name="lastSystemInfoNote1" type="GenericValue" mode="OUT" optional="true"/>
|
|
<attribute name="lastSystemInfoNote2" type="GenericValue" mode="OUT" optional="true"/>
|
|
<attribute name="lastSystemInfoNote3" type="GenericValue" mode="OUT" optional="true"/>
|
|
</service>
|
|
<service name="getSystemInfoStatus" engine="simple" auth="true"
|
|
location="component://commonext/minilang/SystemInfoServices.xml" invoke="getSystemInfoStatus">
|
|
<description>Get system status for the logged on party</description>
|
|
<attribute name="systemInfoStatus" type="List" mode="OUT" optional="true"/>
|
|
</service>
|
|
</services>
|