Thanks Jagpreet and Shikha for the contribution. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1802667 13f79535-47bb-0310-9956-ffa450edef68
61 lines
3.0 KiB
XML
61 lines
3.0 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>Content Component Output Services</description>
|
|
<vendor>OFBiz</vendor>
|
|
|
|
<service name="sendPrintFromScreen" max-retry="0" engine="java"
|
|
location="org.apache.ofbiz.content.output.OutputServices" invoke="sendPrintFromScreen">
|
|
<description>Send Print From Screen Widget Service</description>
|
|
<attribute name="screenLocation" type="String" mode="IN" optional="false">
|
|
<type-validate>
|
|
<fail-property resource="ContentErrorUiLabels" property="ContentRequiredFieldMissingScreenLocation"/>
|
|
</type-validate>
|
|
</attribute>
|
|
<attribute name="screenContext" type="Map" mode="IN" optional="true"/>
|
|
<attribute name="contentType" type="String" mode="IN" optional="true"/>
|
|
<attribute name="printerContentType" type="String" mode="IN" optional="true"/>
|
|
<attribute name="printerName" type="String" mode="IN" optional="true"/>
|
|
<attribute name="docAttributes" type="List" mode="IN" optional="true"/>
|
|
<attribute name="printRequestAttributes" type="List" mode="IN" optional="true"/>
|
|
</service>
|
|
|
|
<service name="createFileFromScreen" max-retry="0" engine="java"
|
|
location="org.apache.ofbiz.content.output.OutputServices" invoke="createFileFromScreen">
|
|
<description>Create a File From Screen Widget Service</description>
|
|
<attribute name="screenLocation" type="String" mode="IN" optional="false">
|
|
<type-validate>
|
|
<fail-property resource="ContentErrorUiLabels" property="ContentRequiredFieldMissingScreenLocation"/>
|
|
</type-validate>
|
|
</attribute>
|
|
<attribute name="screenContext" type="Map" mode="IN" optional="true"/>
|
|
<attribute name="contentType" type="String" mode="IN" optional="true"/>
|
|
<attribute name="filePath" type="String" mode="IN" optional="true"/>
|
|
<attribute name="fileName" type="String" mode="IN" optional="false">
|
|
<type-validate>
|
|
<fail-property resource="ContentErrorUiLabels" property="ContentRequiredFieldMissingFileName"/>
|
|
</type-validate>
|
|
</attribute>
|
|
</service>
|
|
|
|
</services>
|