git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@604418 13f79535-47bb-0310-9956-ffa450edef68
94 lines
5.1 KiB
XML
94 lines
5.1 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>Project Manager service definitions.</description>
|
|
|
|
<service name="updateTimeEntryByWorkeffort" engine="simple"
|
|
location="org/ofbiz/project/ProjectServices.xml" invoke="updateTimeEntryByWorkeffort">
|
|
<description>Update workeffort by workeffort and timesheetId </description>
|
|
<attribute name="timesheetId" type="String" mode="IN" optional="false"/>
|
|
<attribute name="workEffortId" type="String" mode="IN" optional="true"/><!-- when empty will be ignored -->
|
|
<attribute name="hoursDay0" type="Double" mode="IN" optional="true"/>
|
|
<attribute name="hoursDay1" type="Double" mode="IN" optional="true"/>
|
|
<attribute name="hoursDay2" type="Double" mode="IN" optional="true"/>
|
|
<attribute name="hoursDay3" type="Double" mode="IN" optional="true"/>
|
|
<attribute name="hoursDay4" type="Double" mode="IN" optional="true"/>
|
|
<attribute name="hoursDay5" type="Double" mode="IN" optional="true"/>
|
|
<attribute name="hoursDay6" type="Double" mode="IN" optional="true"/>
|
|
</service>
|
|
|
|
<service name="getProject" engine="simple"
|
|
location="org/ofbiz/project/ProjectServices.xml" invoke="getProject">
|
|
<description>Get project information and realated phase and task info.</description>
|
|
<attribute name="projectId" type="String" mode="INOUT" optional="true"/>
|
|
<attribute name="projectInfo" type="java.util.Map" mode="OUT" optional="true"/>
|
|
</service>
|
|
|
|
<service name="getProjectIdAndName" engine="simple"
|
|
location="org/ofbiz/project/ProjectServices.xml" invoke="getProjectIdAndName">
|
|
<description>Get the projectId and Name when a phase or task is provided.</description>
|
|
<attribute name="taskId" type="String" mode="IN" optional="true"/>
|
|
<attribute name="phaseId" type="String" mode="IN" optional="true"/>
|
|
<attribute name="projectId" type="String" mode="OUT" optional="true"/>
|
|
<attribute name="projectName" type="String" mode="OUT" optional="true"/>
|
|
</service>
|
|
|
|
<service name="getProjectPhaseList" engine="simple"
|
|
location="org/ofbiz/project/ProjectServices.xml" invoke="getProjectPhaseList">
|
|
<description>Get project phase information and related task info.</description>
|
|
<attribute name="projectId" type="String" mode="INOUT" optional="true"/>
|
|
<attribute name="phaseList" type="List" mode="OUT" optional="true"/>
|
|
</service>
|
|
|
|
<service name="getProjectTaskList" engine="simple"
|
|
location="org/ofbiz/project/ProjectServices.xml" invoke="getProjectTaskList">
|
|
<description>Get project phase information and related task info.</description>
|
|
<attribute name="projectId" type="String" mode="INOUT" optional="true"/>
|
|
<attribute name="taskList" type="List" mode="OUT" optional="true"/>
|
|
</service>
|
|
|
|
<service name="getProjectTask" engine="simple"
|
|
location="org/ofbiz/project/ProjectServices.xml" invoke="getProjectTask">
|
|
<description>Get project task information and related timesheet info.</description>
|
|
<attribute name="taskId" type="String" mode="INOUT" optional="true"/>
|
|
<attribute name="projectId" type="String" mode="OUT" optional="true"/>
|
|
<attribute name="taskInfo" type="Map" mode="OUT" optional="true"/>
|
|
</service>
|
|
|
|
<service name="getProjectsByParties" engine="simple"
|
|
location="org/ofbiz/project/ProjectServices.xml" invoke="getProjectsByParties">
|
|
<description>Get project information by party</description>
|
|
<attribute name="projectId" type="String" mode="INOUT" optional="true"/>
|
|
<attribute name="partyId" type="String" mode="INOUT" optional="true"/>
|
|
<attribute name="projectParties" type="List" mode="OUT" optional="true"/>
|
|
</service>
|
|
|
|
<service name="getTasksByParties" engine="simple"
|
|
location="org/ofbiz/project/ProjectServices.xml" invoke="getTasksByParties">
|
|
<description>Get project information by party</description>
|
|
<attribute name="workEffortId" type="String" mode="INOUT" optional="true"/>
|
|
<attribute name="partyId" type="String" mode="INOUT" optional="true"/>
|
|
<attribute name="taskParties" type="List" mode="OUT" optional="true"/>
|
|
</service>
|
|
|
|
</services>
|