ilscipio/scipio-erp

View on GitHub
applications/commonext/servicedef/services.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>Commonext Component Services</description>
    <vendor>OFBiz</vendor>
    <version>1.0</version>

    <service name="createSystemInfoNote" engine="simple" default-entity-name="NoteData"
        location="component://commonext/script/org/ofbiz/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/script/org/ofbiz/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/script/org/ofbiz/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/script/org/ofbiz/SystemInfoServices.xml" invoke="getSystemInfoNotes">
        <description>Get system notes for the logged on party</description>
        <!-- view and page fields -->
        <attribute name="viewIndex" type="Integer" mode="INOUT" optional="true"/>
        <attribute name="viewSize" type="Integer" mode="INOUT" optional="true"/>
        <attribute name="showAll" type="String" mode="INOUT" optional="true"/>
        
        <attribute name="systemInfoNotes" type="List" mode="OUT" optional="true"/>
    </service>
    <service name="getLastSystemInfoNote" engine="simple" auth="false"
        location="component://commonext/script/org/ofbiz/SystemInfoServices.xml" invoke="getLastSystemInfoNote">
        <description>Get last system note for the logged on party</description>
        <deprecated use-instead="getSystemMessages">SCIPIO: Do not use, new SystemMessages system now exists.</deprecated>
        <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/script/org/ofbiz/SystemInfoServices.xml" invoke="getSystemInfoStatus">
        <description>Get system status for the logged on party</description>
        <attribute name="systemInfoStatus" type="List" mode="OUT" optional="true"/>
    </service>
    
    <!-- SCIPIO -->
    <service name="getSystemMessages" engine="simple" auth="true"
        location="component://commonext/script/org/ofbiz/SystemInfoServices.xml" invoke="getSystemMessages">
        <description>Get system messages for an authenticated party</description>
        
        <attribute name="toPartyId" type="String" mode="IN" optional="true"/>
        <attribute name="typeId" type="String" mode="IN" optional="true"/>
        
        <!-- view and page fields -->
        <attribute name="viewIndex" type="Integer" mode="INOUT" optional="true"/>
        <attribute name="viewSize" type="Integer" mode="INOUT" optional="true"/>
        <attribute name="showAll" type="String" mode="INOUT" optional="true"/>
        
        <attribute name="messages" type="List" mode="OUT" optional="true"/>
        <attribute name="count" type="Long" mode="OUT" optional="true"/>
    </service>
    
    <service name="convertSystemMessageFromNoteData" engine="simple" auth="true"
        location="component://commonext/script/org/ofbiz/SystemInfoServices.xml" invoke="convertSystemMessageFromNoteData">
        <description>Get system messages for an authenticated party</description>
        <auto-attributes mode="IN" entity-name="NoteData" include="all" optional="true"/>        
    </service>

    <service name="sendMailFromScreenExt" max-retry="3" engine="java"
        location="org.ofbiz.commonext.email.ExtEmailServices" invoke="sendMailFromScreen">
        <description>SCIPIO: Send E-Mail From Screen Widget Service, application-level enhanced
            This version provides improved webSiteId/productStoreId/orderId handling.</description>
        <implements service="sendMailFromScreenStd"/>
    </service>

    <service name="sendMailHiddenInLogFromScreenExt" max-retry="3" engine="java" hideResultInLog="true"
             location="org.ofbiz.commonext.email.ExtEmailServices" invoke="sendMailHiddenInLogFromScreen">
        <description>SCIPIO: Send E-Mail hidden in log (password, etc.) From Screen Widget Service, application-level enhanced
            This version provides improved webSiteId/productStoreId/orderId handling.</description>
        <implements service="sendMailFromScreenInterface"/>
    </service>

    <service name="sendMailFromScreen" max-retry="3" engine="java"
        location="org.ofbiz.commonext.email.ExtEmailServices" invoke="sendMailFromScreen">
        <description>SCIPIO: Send E-Mail From Screen Widget Service, application-level enhanced (CommonExt override)
            This version provides improved webSiteId/productStoreId/orderId handling.</description>
        <implements service="sendMailFromScreenExt"/>
    </service>

    <service name="sendMailHiddenInLogFromScreen" max-retry="3" engine="java" hideResultInLog="true"
             location="org.ofbiz.commonext.email.ExtEmailServices" invoke="sendMailHiddenInLogFromScreen">
        <description>SCIPIO: Send E-Mail hidden in log (password, etc.) From Screen Widget Service, application-level enhanced (CommonExt override)
            This version provides improved webSiteId/productStoreId/orderId handling.</description>
        <implements service="sendMailHiddenInLogFromScreenExt"/>
    </service>

</services>