git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418498 13f79535-47bb-0310-9956-ffa450edef68
163 lines
8.4 KiB
XML
163 lines
8.4 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<!--
|
|
* Copyright (c) 2001-2005 The Open For Business Project - www.ofbiz.org
|
|
*
|
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
|
* copy of this software and associated documentation files (the "Software"),
|
|
* to deal in the Software without restriction, including without limitation
|
|
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
* and/or sell copies of the Software, and to permit persons to whom the
|
|
* Software is furnished to do so, subject to the following conditions:
|
|
*
|
|
* The above copyright notice and this permission notice shall be included
|
|
* in all copies or substantial portions of the Software.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
|
|
* OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
|
|
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
-->
|
|
|
|
<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/services.xsd">
|
|
<description>Workflow Component Services</description>
|
|
<vendor>OFBiz</vendor>
|
|
<version>1.0</version>
|
|
|
|
<!-- Workflow services -->
|
|
<service name="wfLimitInvoker" engine="java"
|
|
location="org.ofbiz.workflow.client.WorkflowServices" invoke="limitInvoker">
|
|
<description>Required service used the workflow engine to invoke limitService</description>
|
|
<attribute name="serviceName" type="String" mode="IN"/>
|
|
<attribute name="serviceContext" type="java.util.Map" mode="IN"/>
|
|
<attribute name="workEffortId" type="String" mode="IN"/>
|
|
</service>
|
|
|
|
<service name="wfGetActivityContext" engine="java"
|
|
location="org.ofbiz.workflow.client.WorkflowServices" invoke="getActivityContext">
|
|
<description>Returns the current context of the requested activity</description>
|
|
<attribute name="workEffortId" type="String" mode="IN"/>
|
|
<attribute name="activityContext" type="java.util.Map" mode="OUT"/>
|
|
</service>
|
|
|
|
<service name="wfAppendActivityContext" engine="java"
|
|
location="org.ofbiz.workflow.client.WorkflowServices" invoke="appendActivityContext">
|
|
<description>Appends the current context to the activity context</description>
|
|
<attribute name="workEffortId" type="String" mode="IN"/>
|
|
<attribute name="currentContext" type="java.util.Map" mode="IN"/>
|
|
</service>
|
|
|
|
<service name="wfActivateActivity" engine="java"
|
|
location="org.ofbiz.workflow.client.WorkflowServices" invoke="activateActivity">
|
|
<description>Attempt to initiate a workflow activity</description>
|
|
<attribute name="workEffortId" type="String" mode="IN"/>
|
|
</service>
|
|
|
|
<service name="wfCancelWorkflow" engine="java"
|
|
location="org.ofbiz.workflow.client.WorkflowServices" invoke="cancelWorkflow">
|
|
<description>Abort a workflow process</description>
|
|
<attribute name="workEffortId" type="String" mode="IN"/>
|
|
</service>
|
|
|
|
<service name="wfSuspendActivity" engine="java"
|
|
location="org.ofbiz.workflow.client.WorkflowServices" invoke="suspendActivity">
|
|
<description>Suspend a workflow activity</description>
|
|
<attribute name="workEffortId" type="String" mode="IN"/>
|
|
</service>
|
|
|
|
<service name="wfResumeActivity" engine="java"
|
|
location="org.ofbiz.workflow.client.WorkflowServices" invoke="resumeActivity">
|
|
<description>Resume a suspended activity</description>
|
|
<attribute name="workEffortId" type="String" mode="IN"/>
|
|
</service>
|
|
|
|
<service name="wfChangeActivityState" engine="java"
|
|
location="org.ofbiz.workflow.client.WorkflowServices" invoke="changeActivityState">
|
|
<description>Manually change the state of a workflow activity</description>
|
|
<attribute name="workEffortId" type="String" mode="IN"/>
|
|
<attribute name="newState" type="String" mode="IN"/>
|
|
</service>
|
|
|
|
<service name="wfAssignmentInterface" engine="interface" location="" invoke="">
|
|
<description>Interface service for workflow assignment services</description>
|
|
<attribute name="workEffortId" type="String" mode="IN"/>
|
|
<attribute name="partyId" type="String" mode="IN"/>
|
|
<attribute name="roleTypeId" type="String" mode="IN" optional="true"/>
|
|
<attribute name="fromDate" type="Timestamp" mode="IN"/>
|
|
</service>
|
|
|
|
<service name="wfAssignActivity" engine="java"
|
|
location="org.ofbiz.workflow.client.WorkflowServices" invoke="assignActivity">
|
|
<description>Assign a new party or role to a workflow activity</description>
|
|
<implements service="wfAssignmentInterface"/>
|
|
<attribute name="removeOldAssignments" type="String" mode="IN" optional="true"/>
|
|
</service>
|
|
|
|
<service name="wfAcceptAssignment" engine="java"
|
|
location="org.ofbiz.workflow.client.WorkflowServices" invoke="acceptAssignment">
|
|
<description>Accept a workflow user assignment</description>
|
|
<implements service="wfAssignmentInterface"/>
|
|
</service>
|
|
|
|
<service name="wfAcceptRoleAssignment" engine="java"
|
|
location="org.ofbiz.workflow.client.WorkflowServices" invoke="acceptRoleAssignment">
|
|
<description>Accept a workflow role assignment</description>
|
|
<implements service="wfAssignmentInterface"/>
|
|
</service>
|
|
|
|
<service name="wfCompleteAssignment" engine="java"
|
|
location="org.ofbiz.workflow.client.WorkflowServices" invoke="completeAssignment">
|
|
<description>Complete a workflow assignment</description>
|
|
<implements service="wfAssignmentInterface"/>
|
|
<attribute name="result" type="java.util.Map" mode="IN" optional="true"/>
|
|
</service>
|
|
|
|
<service name="wfDelegateAssignmentInterface" engine="interface" location="" invoke="">
|
|
<description>Interface service for assignment delegation services</description>
|
|
<attribute name="workEffortId" type="String" mode="IN"/>
|
|
<attribute name="fromPartyId" type="String" mode="IN"/>
|
|
<attribute name="fromRoleTypeId" type="String" mode="IN"/>
|
|
<attribute name="fromFromDate" type="Timestamp" mode="IN"/>
|
|
<attribute name="toPartyId" type="String" mode="IN"/>
|
|
<attribute name="toRoleTypeId" type="String" mode="IN"/>
|
|
<attribute name="toFromDate" type="Timestamp" mode="IN" optional="true"/>
|
|
</service>
|
|
|
|
<service name="wfDelegateAssignment" engine="java"
|
|
location="org.ofbiz.workflow.client.WorkflowServices" invoke="delegateAssignment">
|
|
<description>Delegate an assigned assignment to another party</description>
|
|
<implements service="wfDelegateAssignmentInterface"/>
|
|
</service>
|
|
|
|
<service name="wfDelegateAndAcceptAssignmet" engine="java"
|
|
location="org.ofbiz.workflow.client.WorkflowServices" invoke="delegateAcceptAssignment">
|
|
<description>Delegate an assigned assignment and accept</description>
|
|
<implements service="wfDelegateAssignmentInterface"/>
|
|
<attribute name="startActivity" type="Boolean" mode="IN" optional="true"/>
|
|
</service>
|
|
|
|
<service name="wfActivateApplication" engine="java"
|
|
location="org.ofbiz.workflow.WfApplicationServices" invoke="activateApplication">
|
|
<description>Activate a workflow assignment</description>
|
|
<attribute name="workEffortId" type="String" mode="IN"/>
|
|
<attribute name="applicationId" type="String" mode="OUT" optional="true"/>
|
|
</service>
|
|
|
|
<service name="wfGetApplicationContext" engine="java"
|
|
location="org.ofbiz.workflow.WfApplicationServices" invoke="getApplicationContext">
|
|
<description>Get the application Context</description>
|
|
<attribute name="applicationId" type="String" mode="IN"/>
|
|
<attribute name="applicationContext" type="java.util.Map" mode="OUT" optional="true"/>
|
|
</service>
|
|
|
|
<service name="wfCompleteApplication" engine="java"
|
|
location="org.ofbiz.workflow.WfApplicationServices" invoke="completeApplication">
|
|
<description>Complete a workflow assignment</description>
|
|
<attribute name="applicationId" type="String" mode="IN"/>
|
|
<attribute name="result" type="java.util.Map" mode="IN" optional="true"/>
|
|
</service>
|
|
</services>
|