git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808792 13f79535-47bb-0310-9956-ffa450edef68
760 lines
55 KiB
XML
760 lines
55 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>Common Application Shared WorkEffort Services</description>
|
|
<vendor>OFBiz</vendor>
|
|
<version>1.0</version>
|
|
|
|
<!-- WorkEffort services -->
|
|
<service name="interfaceWorkEffort" default-entity-name="WorkEffort" engine="interface" location="" invoke="">
|
|
<description>WorkEffort Entity Interface</description>
|
|
<auto-attributes mode="IN" include="nonpk" optional="true">
|
|
<exclude field-name="lastStatusUpdate"/>
|
|
<exclude field-name="revisionNumber"/>
|
|
<exclude field-name="createdDate"/>
|
|
<exclude field-name="createdByUserLogin"/>
|
|
<exclude field-name="lastModifiedDate"/>
|
|
<exclude field-name="lastModifiedByUserLogin"/>
|
|
</auto-attributes>
|
|
</service>
|
|
<service name="createWorkEffort" default-entity-name="WorkEffort" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkEffort">
|
|
<description>Create a WorkEffort Entity</description>
|
|
<permission-service service-name="workEffortGenericPermission" main-action="CREATE"/>
|
|
<implements service="interfaceWorkEffort"/>
|
|
<auto-attributes mode="INOUT" include="pk" optional="true"/>
|
|
<attribute name="quickAssignPartyId" type="String" mode="IN" optional="true"/>
|
|
<attribute name="requirementId" type="String" mode="IN" optional="true"/>
|
|
<attribute name="custRequestId" type="String" mode="IN" optional="true"/>
|
|
<attribute name="communicationEventId" type="String" mode="IN" optional="true"/>
|
|
<override name="workEffortTypeId" optional="false"/>
|
|
<override name="workEffortName" optional="false"/>
|
|
<override name="currentStatusId" optional="false"/>
|
|
</service>
|
|
<service name="createWorkEffortAndPartyAssign" default-entity-name="WorkEffort" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkEffortAndPartyAssign">
|
|
<description>Create a WorkEffort Entity and assign to a party</description>
|
|
<permission-service service-name="workEffortGenericPermission" main-action="CREATE"/>
|
|
<implements service="interfaceWorkEffort"/>
|
|
<auto-attributes mode="INOUT" include="pk" optional="true"/>
|
|
<attribute name="partyId" type="String" mode="IN" optional="false"/>
|
|
<attribute name="roleTypeId" type="String" mode="IN" optional="false"/>
|
|
<attribute name="statusId" type="String" mode="IN" optional="false"/>
|
|
<attribute name="quickAssignPartyId" type="String" mode="IN" optional="true"/>
|
|
<attribute name="requirementId" type="String" mode="IN" optional="true"/>
|
|
<attribute name="communicationEventId" type="String" mode="IN" optional="true"/>
|
|
<override name="workEffortTypeId" optional="false"/>
|
|
<override name="workEffortName" optional="false"/>
|
|
<override name="currentStatusId" optional="false"/>
|
|
</service>
|
|
<service name="updateWorkEffort" default-entity-name="WorkEffort" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="updateWorkEffort">
|
|
<description>Update a WorkEffort Entity</description>
|
|
<permission-service service-name="workEffortGenericPermission" main-action="UPDATE"/>
|
|
<implements service="interfaceWorkEffort"/>
|
|
<auto-attributes mode="IN" include="pk" optional="false"/>
|
|
<attribute name="communicationEventId" type="String" mode="IN" optional="true"/>
|
|
<attribute name="reason" type="String" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="deleteWorkEffort" default-entity-name="WorkEffort" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="deleteWorkEffort">
|
|
<description>Delete a WorkEffort Entity</description>
|
|
<auto-attributes mode="IN" include="pk" optional="false"/>
|
|
</service>
|
|
|
|
<service name="duplicateWorkEffort" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="duplicateWorkEffort" auth="true">
|
|
<description>Duplicate a Work Effort using a new workEffortId</description>
|
|
<permission-service service-name="workEffortGenericPermission" main-action="CREATE"/>
|
|
<attribute name="workEffortId" type="String" mode="IN" optional="false"/>
|
|
<attribute name="oldWorkEffortId" type="String" mode="IN" optional="false"/>
|
|
<attribute name="duplicateWorkEffortAssocs" type="String" mode="IN" optional="true"/>
|
|
<attribute name="duplicateWorkEffortContents" type="String" mode="IN" optional="true"/>
|
|
<attribute name="duplicateWorkEffortNotes" type="String" mode="IN" optional="true"/>
|
|
<attribute name="duplicateWorkEffortAssignmentRates" type="String" mode="IN" optional="true"/>
|
|
<attribute name="removeWorkEffortAssocs" type="String" mode="IN" optional="true"/>
|
|
<attribute name="removeWorkEffortContents" type="String" mode="IN" optional="true"/>
|
|
<attribute name="removeWorkEffortNotes" type="String" mode="IN" optional="true"/>
|
|
<attribute name="removeWorkEffortAssignmentRates" type="String" mode="IN" optional="true"/>
|
|
</service>
|
|
|
|
<!-- Communication Event WorkEffort -->
|
|
<service name="makeCommunicationEventWorkEffort" default-entity-name="WorkEffort" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="makeCommunicationEventWorkEffort" auth="true">
|
|
<description>Make a Communication Event Workeffort and create the workeffort itself if the ID not supplied</description>
|
|
<auto-attributes include="pk" mode="INOUT" optional="false"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
<attribute name="communicationEventId" type="String" mode="INOUT"/>
|
|
<attribute name="relationDescription" type="String" mode="IN" optional="true"/>
|
|
</service>
|
|
|
|
<!-- WorkEffortPartyAssignment services -->
|
|
<service name="assignPartyToWorkEffort" default-entity-name="WorkEffortPartyAssignment" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="assignPartyToWorkEffort">
|
|
<description>Create a WorkEffortPartyAssignment Entity</description>
|
|
<permission-service service-name="workEffortGenericPermission" main-action="UPDATE"/>
|
|
<auto-attributes mode="IN" include="pk" optional="false"/>
|
|
<auto-attributes mode="IN" include="nonpk" optional="true">
|
|
<exclude field-name="statusDateTime"/>
|
|
</auto-attributes>
|
|
<override name="fromDate" mode="INOUT" optional="true"/>
|
|
<override name="statusId" optional="false"/>
|
|
</service>
|
|
<service name="updatePartyToWorkEffortAssignment" default-entity-name="WorkEffortPartyAssignment" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="updatePartyToWorkEffortAssignment">
|
|
<description>Update a WorkEffortPartyAssignment Entity</description>
|
|
<permission-service service-name="workEffortGenericPermission" main-action="UPDATE"/>
|
|
<auto-attributes mode="IN" include="pk" optional="false"/>
|
|
<auto-attributes mode="IN" include="nonpk" optional="true">
|
|
<exclude field-name="statusDateTime"/>
|
|
</auto-attributes>
|
|
</service>
|
|
<service name="deletePartyToWorkEffortAssignment" default-entity-name="WorkEffortPartyAssignment" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="deletePartyToWorkEffortAssignment">
|
|
<description>delete/set the thrudate on the WorkEffortPartyAssignment Entity to today</description>
|
|
<permission-service service-name="workEffortGenericPermission" main-action="UPDATE"/>
|
|
<auto-attributes mode="IN" include="pk" optional="false"/>
|
|
</service>
|
|
<service name="unassignPartyFromWorkEffort" default-entity-name="WorkEffortPartyAssignment" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="unassignPartyFromWorkEffort">
|
|
<description>Delete a WorkEffortPartyAssignment Entity</description>
|
|
<permission-service service-name="workEffortGenericPermission" main-action="DELETE"/>
|
|
<auto-attributes mode="IN" include="pk" optional="false"/>
|
|
</service>
|
|
|
|
<service name="quickAssignPartyToWorkEffort" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="quickAssignPartyToWorkEffort">
|
|
<description>Quick Assign Party To WorkEffort as Owner</description>
|
|
<attribute name="workEffortId" type="String" mode="IN" optional="false"/>
|
|
<attribute name="quickAssignPartyId" type="String" mode="IN" optional="false"/>
|
|
</service>
|
|
<service name="quickAssignPartyToWorkEffortWithRole" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="quickAssignPartyToWorkEffortWithRole">
|
|
<description>Quick Assign Party To WorkEffort as Owner</description>
|
|
<attribute name="workEffortId" type="String" mode="IN" optional="false"/>
|
|
<attribute name="quickAssignPartyId" type="String" mode="IN" optional="false"/>
|
|
<attribute name="roleTypeId" type="String" mode="IN" optional="false"/>
|
|
</service>
|
|
<service name="createWorkEffortNote" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkEffortNote" auth="true">
|
|
<description>Create a WorkEffort Note</description>
|
|
<permission-service service-name="workEffortGenericPermission" main-action="UPDATE"/>
|
|
<attribute name="workEffortId" type="String" mode="IN" optional="false"/>
|
|
<attribute name="noteInfo" type="String" mode="IN" optional="false"/>
|
|
<attribute name="noteParty" type="String" mode="IN" optional="true"/>
|
|
<attribute name="noteName" type="String" mode="IN" optional="true"/>
|
|
<attribute name="internalNote" type="String" mode="IN" optional="true"/>
|
|
<attribute name="noteId" type="String" mode="OUT" optional="false"/>
|
|
</service>
|
|
<service name="updateWorkEffortNote" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="updateWorkEffortNote" auth="true">
|
|
<description>Update a WorkEffort Note</description>
|
|
<attribute name="workEffortId" type="String" mode="IN" optional="false"/>
|
|
<attribute name="noteId" type="String" mode="IN" optional="false"/>
|
|
<attribute name="internalNote" type="String" mode="IN" optional="false"/>
|
|
<attribute name="noteInfo" type="String" mode="IN" optional="true"/>
|
|
</service>
|
|
<!-- Services for finding Assigned WorkEfforts -->
|
|
<service name="getWorkEffortAssignedEventsForRole" engine="java"
|
|
location="org.ofbiz.workeffort.workeffort.WorkEffortServices" invoke="getWorkEffortAssignedEventsForRole">
|
|
<description>Get the active WorkEffort Events where the logged in user is assigned in the specidied role.</description>
|
|
<attribute name="roleTypeId" type="String" mode="IN" optional="false"/>
|
|
<attribute name="events" type="java.util.List" mode="OUT" optional="false"/>
|
|
</service>
|
|
<service name="getWorkEffortAssignedEventsForRoleOfAllParties" engine="java"
|
|
location="org.ofbiz.workeffort.workeffort.WorkEffortServices" invoke="getWorkEffortAssignedEventsForRoleOfAllParties">
|
|
<description>Get the active WorkEffort Events in the specified role for all the parties.</description>
|
|
<attribute name="roleTypeId" type="String" mode="IN" optional="false"/>
|
|
<attribute name="events" type="java.util.List" mode="OUT" optional="false"/>
|
|
</service>
|
|
<service name="getWorkEffortAssignedTasks" engine="java"
|
|
location="org.ofbiz.workeffort.workeffort.WorkEffortServices" invoke="getWorkEffortAssignedTasks">
|
|
<description>Get WorkEffort Assigned Tasks</description>
|
|
<attribute name="tasks" type="java.util.List" mode="OUT" optional="false"/>
|
|
</service>
|
|
<service name="getWorkEffortAssignedActivities" engine="java"
|
|
location="org.ofbiz.workeffort.workeffort.WorkEffortServices" invoke="getWorkEffortAssignedActivities">
|
|
<description>Get WorkEffort Assigned Activities</description>
|
|
<attribute name="activities" type="java.util.List" mode="OUT" optional="false"/>
|
|
</service>
|
|
<service name="getWorkEffortAssignedActivitiesByRole" engine="java"
|
|
location="org.ofbiz.workeffort.workeffort.WorkEffortServices" invoke="getWorkEffortAssignedActivitiesByRole">
|
|
<description>Get WorkEffort Assigned Activities By Role</description>
|
|
<attribute name="roleActivities" type="java.util.List" mode="OUT" optional="false"/>
|
|
</service>
|
|
<service name="getWorkEffortAssignedActivitiesByGroup" engine="java"
|
|
location="org.ofbiz.workeffort.workeffort.WorkEffortServices" invoke="getWorkEffortAssignedActivitiesByGroup">
|
|
<description>Get WorkEffort Assigned Activities By Group</description>
|
|
<attribute name="groupActivities" type="java.util.List" mode="OUT" optional="false"/>
|
|
</service>
|
|
|
|
<!-- Worker services -->
|
|
<service name="getWorkEffort" engine="java"
|
|
location="org.ofbiz.workeffort.workeffort.WorkEffortServices" invoke="getWorkEffort">
|
|
<description>Get WorkEffort</description>
|
|
<attribute name="workEffortId" type="java.lang.String" mode="INOUT" optional="true"/>
|
|
<attribute name="currentStatusId" type="java.lang.String" mode="IN" optional="true"/>
|
|
<attribute name="workEffort" type="org.ofbiz.entity.GenericValue" mode="OUT" optional="true"/>
|
|
<attribute name="canView" type="java.lang.Boolean" mode="OUT" optional="true"/>
|
|
<attribute name="tryEntity" type="java.lang.Boolean" mode="OUT" optional="true"/>
|
|
<attribute name="currentStatusItem" type="org.ofbiz.entity.GenericValue" mode="OUT" optional="true"/>
|
|
<attribute name="partyAssigns" type="java.util.Collection" mode="OUT" optional="true"/>
|
|
</service>
|
|
<service name="getWorkEffortEventsByPeriod" auth="true" engine="java"
|
|
location="org.ofbiz.workeffort.workeffort.WorkEffortServices" invoke="getWorkEffortEventsByPeriod">
|
|
<description>Get WorkEffort Events by a period specified by periodType attribute (one of the
|
|
java.util.Calendar field values). Return a Map with periodStart as the key and a Collection of events for that period as value
|
|
If filterOutCanceledEvents is set to Boolean(true) then workEfforts with currentStatusId=EVENT_CANCELLED will not be returned.
|
|
To limit the events to a particular partyId, specify the partyId. To limit the events to a set of partyIds, specify a Collection of partyIds.
|
|
</description>
|
|
<attribute name="partyId" type="String" mode="IN" optional="true"/>
|
|
<attribute name="partyIds" type="java.util.Collection" mode="IN" optional="true"/>
|
|
<attribute name="facilityId" type="String" mode="IN" optional="true"/>
|
|
<attribute name="fixedAssetId" type="String" mode="IN" optional="true"/>
|
|
<attribute name="workEffortTypeId" type="String" mode="IN" optional="true"/>
|
|
<attribute name="start" type="java.sql.Timestamp" mode="IN" optional="false"/>
|
|
<attribute name="numPeriods" type="java.lang.Integer" mode="IN" optional="false"/>
|
|
<attribute name="periodType" type="java.lang.Integer" mode="IN" optional="false"/>
|
|
<attribute name="filterOutCanceledEvents" type="java.lang.Boolean" mode="IN" optional="true"/>
|
|
<attribute name="entityExprList" type="java.util.List" mode="IN" optional="true"/>
|
|
<attribute name="periods" type="java.util.List" mode="OUT" optional="false"/>
|
|
<attribute name="maxConcurrentEntries" type="java.lang.Integer" mode="OUT" optional="false"/>
|
|
</service>
|
|
<service name="removeDuplicateWorkEfforts" auth="true" engine="java"
|
|
location="org.ofbiz.workeffort.workeffort.WorkEffortServices" invoke="removeDuplicateWorkEfforts">
|
|
<description>Removes duplicate work efforts from a list of work efforts.</description>
|
|
<attribute name="workEffortIterator" type="java.util.ListIterator" mode="IN" optional="true"/>
|
|
<attribute name="workEfforts" type="java.util.List" mode="INOUT" optional="true"/>
|
|
</service>
|
|
<service name="getProductManufacturingSummaryByFacility" engine="java"
|
|
location="org.ofbiz.workeffort.workeffort.WorkEffortServices" invoke="getProductManufacturingSummaryByFacility">
|
|
<description>
|
|
Create a map with an entry for each facility. The value is another map with information about
|
|
the manufacturing orders running in the facility for the given product:
|
|
incoming - incomingProductionRunList, estimatedQuantityTotal. Shows quantity of product to be produced.
|
|
outgoing - outgoingProductionRunList, estimatedQuantityTotal. Shows quantity of product to be consumed.
|
|
</description>
|
|
<attribute name="productId" type="String" mode="IN" optional="false"/>
|
|
<attribute name="facilityId" type="String" mode="IN" optional="true"/>
|
|
<attribute name="summaryInByFacility" type="Map" mode="OUT" optional="false"/>
|
|
<attribute name="summaryOutByFacility" type="Map" mode="OUT" optional="false"/>
|
|
</service>
|
|
<service name="createWorkEffortAssoc" default-entity-name="WorkEffortAssoc" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkEffortAssoc">
|
|
<description>
|
|
Create a WorkEffort Assoc, for linking task to describe a project or
|
|
for linking routing with its routingTasks
|
|
</description>
|
|
<permission-service service-name="workEffortGenericPermission" main-action="UPDATE"/>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
<override name="fromDate" optional="true"/>
|
|
</service>
|
|
<service name="updateWorkEffortAssoc" default-entity-name="WorkEffortAssoc" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="updateWorkEffortAssoc">
|
|
<description>
|
|
Update a WorkEffort Assoc, for linking task to describe a project or
|
|
for linking routing with its routingTasks
|
|
</description>
|
|
<permission-service service-name="workEffortGenericPermission" main-action="UPDATE"/>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="removeWorkEffortAssoc" engine="simple" default-entity-name="WorkEffortAssoc"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="removeWorkEffortAssoc">
|
|
<description>
|
|
Remove a WorkEffort Assoc, for linking task to describe a project or
|
|
for linking routing with its routingTasks
|
|
</description>
|
|
<permission-service service-name="workEffortGenericPermission" main-action="UPDATE"/>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
</service>
|
|
<service name="createWorkEffortAndAssoc" engine="simple" location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkEffortAndAssoc" auth="true">
|
|
<description>Creates a WorkEffort entity and WorkEffortAssoc</description>
|
|
<auto-attributes include="pk" mode="INOUT" optional="true" entity-name="WorkEffort"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true" entity-name="WorkEffort"/>
|
|
<auto-attributes include="pk" mode="INOUT" optional="true" entity-name="WorkEffortAssoc"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true" entity-name="WorkEffortAssoc"/>
|
|
<attribute name="quickAssignPartyId" type="String" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="updateWorkEffortAndAssoc" engine="group" location="updateWorkEffortAndAssoc" invoke="" auth="true">
|
|
<description>Creates a WorkEffort entity and WorkEffortAssoc</description>
|
|
<auto-attributes include="pk" mode="INOUT" optional="true" entity-name="WorkEffort"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true" entity-name="WorkEffort"/>
|
|
<auto-attributes include="pk" mode="INOUT" optional="true" entity-name="WorkEffortAssoc"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true" entity-name="WorkEffortAssoc"/>
|
|
</service>
|
|
|
|
<service name="createWorkEffortGoodStandard" engine="simple" default-entity-name="WorkEffortGoodStandard"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkEffortGoodStandard">
|
|
<description>
|
|
Create a WorkEffort - Product Assoc, for linking WorkEffort to In or Out Product,
|
|
for routing it's the link between Manafactured Product with its routings
|
|
</description>
|
|
<permission-service service-name="workEffortGenericPermission" main-action="UPDATE"/>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
<override name="fromDate" optional="true"/>
|
|
</service>
|
|
<service name="updateWorkEffortGoodStandard" engine="simple" default-entity-name="WorkEffortGoodStandard"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="updateWorkEffortGoodStandard">
|
|
<description>
|
|
Update a WorkEffort - Product Assoc, for linking WorkEffort to In or Out Product,
|
|
for routing it's the link between Manafactured Product with its routings
|
|
</description>
|
|
<permission-service service-name="workEffortGenericPermission" main-action="UPDATE"/>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="removeWorkEffortGoodStandard" engine="simple" default-entity-name="WorkEffortGoodStandard"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="removeWorkEffortGoodStandard">
|
|
<description>Remove a WorkEffort - Product Assoc, for linking WorkEffort to In or Out Product,
|
|
for routing it's the link between Manafactured Product with its routings
|
|
</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
</service>
|
|
<service name="assignInventoryToWorkEffort" default-entity-name="WorkEffortInventoryAssign" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="assignInventoryToWorkEffort" auth="true">
|
|
<description>Create or update WorkEffortInventoryAssign</description>
|
|
<permission-service service-name="workEffortGenericPermission" main-action="UPDATE"/>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="createCommunicationEventWorkEff" engine="simple" location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="makeCommunicationEventWorkEffort" auth="true">
|
|
<description>Creates a CommunicationEvent entity and CommunicationEventWorkEff</description>
|
|
<auto-attributes include="pk" mode="INOUT" optional="true" entity-name="CommunicationEvent"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true" entity-name="CommunicationEvent"/>
|
|
<auto-attributes include="pk" mode="INOUT" optional="true" entity-name="CommunicationEventWorkEff"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true" entity-name="CommunicationEventWorkEff"/>
|
|
</service>
|
|
<service name="updateCommunicationEventWorkEff" engine="simple" location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="updateCommunicationEventWorkEff" auth="true">
|
|
<description>Updates CommunicationEventWorkEff</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false" entity-name="CommunicationEventWorkEff"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true" entity-name="CommunicationEventWorkEff"/>
|
|
</service>
|
|
<service name="deleteCommunicationEventWorkEff" engine="simple" location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="deleteCommunicationEventWorkEff" auth="true">
|
|
<description>Deletes CommunicationEventWorkEff</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false" entity-name="CommunicationEventWorkEff"/>
|
|
</service>
|
|
<service name="createWorkEffortRequest" engine="simple" location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkEffortRequest" auth="true">
|
|
<description>Creates a CustRequestWorkEffort</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false" entity-name="CustRequestWorkEffort"/>
|
|
<auto-attributes include="all" mode="IN" optional="true" entity-name="CustRequest"/>
|
|
<override name="custRequestId" optional="true" mode="INOUT"/>
|
|
</service>
|
|
<service name="deleteWorkEffortRequest" engine="simple" location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="deleteWorkEffortRequest" auth="true">
|
|
<description>Deletes a CustRequestWorkEffort</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false" entity-name="CustRequestWorkEffort"/>
|
|
</service>
|
|
<service name="createWorkEffortRequestItemAndRequestItem" engine="group" location="createWorkEffortRequestItemAndRequestItem" invoke="" auth="true">
|
|
<description>Creates a CustRequestItem entity and CustRequestItemWorkEffort</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false" entity-name="CustRequestItemWorkEffort"/>
|
|
<auto-attributes include="all" mode="IN" optional="true" entity-name="CustRequestItem"/>
|
|
<attribute name="custRequestItemExists" type="java.lang.String" mode="OUT" optional="true"/>
|
|
</service>
|
|
<service name="createWorkEffortRequestItem" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkEffortRequestItem" auth="true">
|
|
<description>Creates a CustRequestItemWorkEffort</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false" entity-name="CustRequestItemWorkEffort"/>
|
|
<auto-attributes include="all" mode="IN" optional="true" entity-name="CustRequestItem"/>
|
|
<attribute name="custRequestItemExists" type="java.lang.String" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="deleteWorkEffortRequestItem" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="deleteWorkEffortRequestItem" auth="true">
|
|
<description>Deletes a CustRequestItemWorkEffort</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false" entity-name="CustRequestItemWorkEffort"/>
|
|
</service>
|
|
<service name="checkCustRequestItemExists" engine="simple" location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="checkCustRequestItemExists" auth="true">
|
|
<description>Checks to see if a CustRequestItem exists</description>
|
|
<auto-attributes include="pk" mode="IN" optional="true" entity-name="CustRequestItem"/>
|
|
<attribute name="custRequestItemExists" type="java.lang.String" mode="OUT" optional="true"/>
|
|
</service>
|
|
|
|
<service name="createWorkEffortQuote" engine="simple" location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkEffortQuote" auth="true">
|
|
<description>Creates a QuoteWorkEffort</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false" entity-name="QuoteWorkEffort"/>
|
|
<auto-attributes include="all" mode="IN" optional="true" entity-name="Quote"/>
|
|
<override name="quoteId" optional="true" mode="INOUT"/>
|
|
</service>
|
|
<service name="deleteWorkEffortQuote" default-entity-name="QuoteWorkEffort" engine="simple" auth="true"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="deleteWorkEffortQuote">
|
|
<description>Deletes a QuoteWorkEffort</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
</service>
|
|
|
|
<service name="createWorkRequirementFulfillment" engine="simple" auth="true"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkRequirementFulfillment">
|
|
<description>Creates a WorkRequirementFulfillment</description>
|
|
<auto-attributes include="pk" mode="IN" optional="true" entity-name="WorkRequirementFulfillment"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true" entity-name="WorkRequirementFulfillment"/>
|
|
<auto-attributes include="all" mode="IN" optional="true" entity-name="Requirement"/>
|
|
</service>
|
|
<service name="deleteWorkRequirementFulfillment" engine="simple" auth="true"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="deleteWorkRequirementFulfillment">
|
|
<description>Deletes a WorkRequirementFulfillment</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false" entity-name="WorkRequirementFulfillment"/>
|
|
</service>
|
|
|
|
<service name="createShoppingListWorkEffort" engine="simple" location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createShoppingListWorkEffort" auth="true">
|
|
<description>Creates a ShoppingListWorkEffort</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false" entity-name="ShoppingListWorkEffort"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true" entity-name="ShoppingListWorkEffort"/>
|
|
<auto-attributes include="all" mode="IN" optional="true" entity-name="ShoppingList"/>
|
|
<override name="shoppingListId" optional="true" mode="INOUT"/>
|
|
</service>
|
|
<service name="deleteShoppingListWorkEffort" engine="simple" location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="deleteShoppingListWorkEffort" auth="true">
|
|
<description>Deletes a ShoppingListWorkEffort</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false" entity-name="ShoppingListWorkEffort"/>
|
|
</service>
|
|
|
|
<service name="createOrderHeaderWorkEffort" engine="simple" auth="true"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createOrderHeaderWorkEffort">
|
|
<description>Creates a OrderHeaderWorkEffort</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false" entity-name="OrderHeaderWorkEffort"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true" entity-name="OrderHeaderWorkEffort"/>
|
|
<auto-attributes include="all" mode="IN" optional="true" entity-name="OrderHeader"/>
|
|
<override name="orderId" optional="true" mode="INOUT"/>
|
|
</service>
|
|
<service name="deleteOrderHeaderWorkEffort" default-entity-name="OrderHeaderWorkEffort" engine="simple" auth="true"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="deleteOrderHeaderWorkEffort">
|
|
<description>Deletes a OrderHeaderWorkEffort</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
</service>
|
|
<service name="setWorkEffortFixedAssetAssign" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="setWorkEffortFixedAssetAssign" auth="true">
|
|
<description>Based on task's estimate dates, write assign entries for the fixed asset the task is assigned to</description>
|
|
<attribute mode="IN" name="workEffortId" optional="false" type="String"/>
|
|
</service>
|
|
<!-- WorkEffort-FixedAsset management services -->
|
|
<service name="createWorkEffortFixedAssetStd" engine="simple" auth="true"
|
|
default-entity-name="WorkEffortFixedAssetStd"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml"
|
|
invoke="createWorkEffortFixedAssetStd">
|
|
<description>Creates a WorkEffortFixedAssetStd entry to associate a routing task
|
|
with a fixed asset (type)</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="updateWorkEffortFixedAssetStd" engine="simple" auth="true"
|
|
default-entity-name="WorkEffortFixedAssetStd"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml"
|
|
invoke="updateWorkEffortFixedAssetStd">
|
|
<description>Updates an existing WorkEffortFixedAssetStd entry</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="removeWorkEffortFixedAssetStd" engine="simple" auth="true"
|
|
default-entity-name="WorkEffortFixedAssetStd"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml"
|
|
invoke="removeWorkEffortFixedAssetStd">
|
|
<description>Removes a WorkEffortFixedAssetStd, thus removing the association between a routing task
|
|
and a fixed asset (type)</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
</service>
|
|
<service name="createWorkEffortFixedAssetAssign" engine="simple" auth="true"
|
|
default-entity-name="WorkEffortFixedAssetAssign"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml"
|
|
invoke="createWorkEffortFixedAssetAssign">
|
|
<description>Create a WorkEffortFixedAssetAssign entry to associate a fixed asset
|
|
with a work effort (e.g. a production run task)</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
<override name="fromDate" optional="true" mode="IN"/>
|
|
</service>
|
|
<service name="updateWorkEffortFixedAssetAssign" engine="simple" auth="true"
|
|
default-entity-name="WorkEffortFixedAssetAssign"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml"
|
|
invoke="updateWorkEffortFixedAssetAssign">
|
|
<description>Update an existing WorkEffortFixedAssetAssign entry</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="removeWorkEffortFixedAssetAssign" engine="simple" auth="true"
|
|
default-entity-name="WorkEffortFixedAssetAssign"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml"
|
|
invoke="removeWorkEffortFixedAssetAssign">
|
|
<description>Remove a WorkEffortFixedAssign entry, which removes the association between a fixed asset
|
|
and a work effort (e.g. a production run task)</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
</service>
|
|
|
|
<!-- work effort content services -->
|
|
<service name="createWorkEffortContent" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml"
|
|
invoke="createWorkEffortContent"
|
|
default-entity-name="WorkEffortContent" auth="true">
|
|
<description>Create a Work Effort Content</description>
|
|
<permission-service service-name="workEffortGenericPermission" main-action="UPDATE"/>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
<override name="fromDate" optional="true"/>
|
|
</service>
|
|
<service name="updateWorkEffortContent" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml"
|
|
invoke="updateWorkEffortContent"
|
|
default-entity-name="WorkEffortContent" auth="true">
|
|
<description>Update a Work Effort Content</description>
|
|
<permission-service service-name="workEffortGenericPermission" main-action="UPDATE"/>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="deleteWorkEffortContent" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml"
|
|
invoke="deleteWorkEffortContent"
|
|
default-entity-name="WorkEffortContent" auth="true">
|
|
<description>Update a Work Effort Content</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
|
|
<!-- simple use content services -->
|
|
<service name="createWorkEffortTextContent" engine="group" transaction-timeout="300" auth="true">
|
|
<description>Creates a Text Document DataResource and Content Records</description>
|
|
<group>
|
|
<invoke name="createTextContent" result-to-context="true"/>
|
|
<invoke name="createWorkEffortContent"/>
|
|
</group>
|
|
</service>
|
|
<service name="updateWorkEffortTextContent" engine="group" transaction-timeout="300" auth="true">
|
|
<description>Update a Text Document DataResource and Content Records</description>
|
|
<group>
|
|
<invoke name="updateTextContent" result-to-context="true"/>
|
|
<invoke name="updateWorkEffortContent"/>
|
|
</group>
|
|
</service>
|
|
|
|
<service name="uploadWorkEffortContentFile" engine="group" transaction-timeout="300">
|
|
<description>Upload and attach a file to a WorkEffort</description>
|
|
<group>
|
|
<invoke name="createContentFromUploadedFile" result-to-context="true"/>
|
|
<invoke name="createWorkEffortContent"/>
|
|
</group>
|
|
</service>
|
|
|
|
<!-- work effort review services -->
|
|
<service name="createWorkEffortReview" default-entity-name="WorkEffortReview" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkEffortReview" auth="true">
|
|
<description>Create a Work Effort Review</description>
|
|
<auto-attributes include="pk" mode="IN" optional="true"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="updateWorkEffortReview" default-entity-name="WorkEffortReview" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="updateWorkEffortReview" auth="true">
|
|
<description>Update a Work Effort Review</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="deleteWorkEffortReview" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="deleteWorkEffortReview" auth="true">
|
|
<description>Remove a Work Effort Review</description>
|
|
<auto-attributes entity-name="WorkEffortReview" include="pk" mode="IN" optional="false"/>
|
|
</service>
|
|
|
|
<service name="indexWorkEffortKeywords" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="indexWorkEffortKeywords">
|
|
<description>Index the Keywords for a WorkEffort</description>
|
|
<attribute name="workEffortId" type="String" mode="IN" optional="false"/>
|
|
<attribute name="workEffortInstance" type="org.ofbiz.entity.GenericValue" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="createWorkEffortKeyword" default-entity-name="WorkEffortKeyword" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkEffortKeyword" auth="true">
|
|
<description>Create a Work Effort Keyword</description>
|
|
<auto-attributes include="pk" mode="IN" optional="true"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="deleteWorkEffortKeyword" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="deleteWorkEffortKeyword" auth="true">
|
|
<description>Remove a Work Effort Keyword</description>
|
|
<auto-attributes entity-name="WorkEffortKeyword" include="pk" mode="IN" optional="false"/>
|
|
</service>
|
|
<service name="createWorkEffortKeywords" default-entity-name="WorkEffortKeyword" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkEffortKeywords" auth="true">
|
|
<description>Create a Work Effort Keyword</description>
|
|
<auto-attributes include="pk" mode="IN" optional="true"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="deleteWorkEffortKeywords" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="deleteWorkEffortKeywords" auth="true">
|
|
<description>Remove all Work Effort Keyword</description>
|
|
<auto-attributes entity-name="WorkEffort" include="pk" mode="IN" optional="false"/>
|
|
</service>
|
|
|
|
<!-- Permission Services -->
|
|
<service name="workEffortManagerPermission" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/permission/WorkEffortPermissionServices.xml" invoke="workEffortManagerPermission">
|
|
<implements service="permissionInterface"/>
|
|
</service>
|
|
<service name="workEffortGenericPermission" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/permission/WorkEffortPermissionServices.xml" invoke="workEffortGenericPermission">
|
|
<implements service="permissionInterface"/>
|
|
<attribute name="workEffortId" mode="IN" type="String" optional="true"/>
|
|
<attribute name="workEffortParentId" mode="IN" type="String" optional="true"/>
|
|
</service>
|
|
<service name="timesheetUpdatePermission" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/permission/WorkEffortPermissionServices.xml" invoke="timesheetUpdatePermission">
|
|
<implements service="permissionInterface"/>
|
|
<attribute name="workEffortId" mode="IN" type="String" optional="true"></attribute>
|
|
</service>
|
|
|
|
<!-- WorkEffort Skill Standard Services -->
|
|
<service name="createWorkEffortSkillStandard" engine="simple" default-entity-name="WorkEffortSkillStandard"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkEffortSkillStandard" auth="true">
|
|
<description>Create WorkEffortSkillStandard</description>
|
|
<auto-attributes mode="IN" include="pk" optional="false"/>
|
|
<auto-attributes mode="IN" include="nonpk" optional="true"/>
|
|
</service>
|
|
<service name="updateWorkEffortSkillStandard" engine="simple" default-entity-name="WorkEffortSkillStandard"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="updateWorkEffortSkillStandard" auth="true">
|
|
<description>Update WorkEffortSkillStandard</description>
|
|
<auto-attributes mode="IN" include="pk" optional="false"/>
|
|
<auto-attributes mode="IN" include="nonpk" optional="true"/>
|
|
</service>
|
|
<service name="deleteWorkEffortSkillStandard" engine="simple" default-entity-name="WorkEffortSkillStandard"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="deleteWorkEffortSkillStandard" auth="true">
|
|
<description>Delete WorkEffortSkillStandard</description>
|
|
<auto-attributes mode="IN" include="pk" optional="false"/>
|
|
</service>
|
|
|
|
<!-- WorkEffort Contact Mech Services -->
|
|
<service name="createWorkEffortContactMech" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkEffortContactMech" auth="true">
|
|
<description>Create WorkEffortContactMech; if contactMechId is not provided, a new contact mech is created (if partyId is set then the new contact mech is also associated to the party)</description>
|
|
<permission-service service-name="workEffortGenericPermission" main-action="CREATE"/>
|
|
<auto-attributes entity-name="WorkEffortContactMech" mode="IN" include="nonpk" optional="true"/>
|
|
<auto-attributes entity-name="PartyContactMech" include="all" mode="IN" optional="true"/>
|
|
<attribute name="workEffortId" mode="IN" type="String" optional="false"></attribute>
|
|
<attribute name="contactMechTypeId" mode="IN" type="String" optional="true"></attribute>
|
|
<attribute name="infoString" mode="IN" type="String" optional="true"></attribute>
|
|
<attribute name="contactMechPurposeTypeId" type="String" mode="IN" optional="true"/>
|
|
<attribute name="contactMechId" type="String" mode="INOUT" optional="true"/>
|
|
</service>
|
|
<service name="deleteWorkEffortContactMech" engine="simple" default-entity-name="WorkEffortContactMech"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="deleteWorkEffortContactMech" auth="true">
|
|
<description>Delete WorkEffortContactMech</description>
|
|
<permission-service service-name="workEffortGenericPermission" main-action="DELETE"/>
|
|
<auto-attributes mode="IN" include="pk" optional="false"/>
|
|
</service>
|
|
|
|
<!--WorkEffortInventoryProduced Services -->
|
|
<service name="createWorkEffortInventoryProduced" engine="simple" default-entity-name="WorkEffortInventoryProduced"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkEffortInventoryProduced" auth="true">
|
|
<description>Create WorkEffortInventoryProduced</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="false"/>
|
|
</service>
|
|
<service name="deleteWorkEffortInventoryProduced" engine="simple" default-entity-name="WorkEffortInventoryProduced"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="deleteWorkEffortInventoryProduced" auth="true">
|
|
<description>Delete WorkEffortInventoryProduced</description>
|
|
<auto-attributes mode="IN" include="pk" optional="false"/>
|
|
</service>
|
|
|
|
<!-- WorkEffort iCalendar Services -->
|
|
<service name="createWorkEffortICalData" default-entity-name="WorkEffortIcalData" engine="entity-auto" invoke="create" auth="true">
|
|
<description>Create WorkEffort iCalendar Data</description>
|
|
<permission-service service-name="workEffortICalendarPermission" main-action="CREATE"/>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="updateWorkEffortICalData" default-entity-name="WorkEffortIcalData" engine="entity-auto" invoke="update" auth="true">
|
|
<description>Update WorkEffort iCalendar Data</description>
|
|
<permission-service service-name="workEffortICalendarPermission" main-action="UPDATE"/>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="deleteWorkEffortICalData" default-entity-name="WorkEffortIcalData" engine="entity-auto" invoke="delete" auth="true">
|
|
<description>Delete WorkEffort iCalendar Data</description>
|
|
<permission-service service-name="workEffortICalendarPermission" main-action="DELETE"/>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
</service>
|
|
<service name="workEffortICalendarPermission" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/permission/WorkEffortPermissionServices.xml" invoke="workEffortICalendarPermission">
|
|
<description>iCalendar Permission Check</description>
|
|
<implements service="permissionInterface"/>
|
|
<attribute type="String" mode="IN" name="workEffortId" optional="true"/>
|
|
</service>
|
|
<service name="getICalWorkEfforts" engine="simple" auth="false"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="getICalWorkEfforts">
|
|
<description>Get iCalendar Work Efforts</description>
|
|
<!-- No permission checking - the servlet handles that -->
|
|
<attribute type="String" mode="IN" name="workEffortId" optional="false"/>
|
|
<attribute type="List" mode="OUT" name="workEfforts"/>
|
|
</service>
|
|
<service name="getPartyICalUrl" engine="simple" auth="false"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="getPartyICalUrl">
|
|
<description>Get Party iCalendar URL</description>
|
|
<!-- No permission checking - the servlet handles that -->
|
|
<attribute type="String" mode="IN" name="partyId" optional="false"/>
|
|
<attribute type="String" mode="OUT" name="iCalUrl" optional="true"/>
|
|
</service>
|
|
|
|
<!-- WorkEffort Event Reminder Services -->
|
|
<service name="createWorkEffortEventReminder" default-entity-name="WorkEffortEventReminder" engine="entity-auto" invoke="create" auth="true">
|
|
<description>Create a WorkEffort Event Reminder</description>
|
|
<permission-service service-name="workEffortGenericPermission" main-action="CREATE"/>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
<override name="sequenceId" mode="OUT"/>
|
|
</service>
|
|
<service name="updateWorkEffortEventReminder" default-entity-name="WorkEffortEventReminder" engine="entity-auto" invoke="update" auth="true">
|
|
<description>Update a WorkEffort Event Reminder</description>
|
|
<permission-service service-name="workEffortGenericPermission" main-action="UPDATE"/>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="deleteWorkEffortEventReminder" default-entity-name="WorkEffortEventReminder" engine="entity-auto" invoke="delete" auth="true">
|
|
<description>Delete a WorkEffort Event Reminder</description>
|
|
<permission-service service-name="workEffortGenericPermission" main-action="DELETE"/>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
</service>
|
|
<service name="processWorkEffortEventReminders" engine="java"
|
|
location="org.ofbiz.workeffort.workeffort.WorkEffortServices" invoke="processWorkEffortEventReminders" auth="true">
|
|
<description>Process work effort event reminders. This service is run by the job scheduler.</description>
|
|
</service>
|
|
<service name="migrateWorkEffortEventReminders" engine="java"
|
|
location="org.ofbiz.workeffort.workeffort.WorkEffortServices" invoke="migrateWorkEffortEventReminders" auth="true">
|
|
<description>Migrate work effort event reminders. Run this service to update work effort reminders.</description>
|
|
</service>
|
|
|
|
<!-- WorkEffort and Survey Services -->
|
|
<service name="createWorkEffortSurveyAppl" engine="simple" default-entity-name="WorkEffortSurveyAppl"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkEffortSurveyAppl" auth="true">
|
|
<description>Create a WorkEffort Survey</description>
|
|
<permission-service service-name="workEffortGenericPermission" main-action="CREATE"/>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
<override name="fromDate" optional="true"/>
|
|
</service>
|
|
<service name="updateWorkEffortSurveyAppl" default-entity-name="WorkEffortSurveyAppl" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="updateWorkEffortSurveyAppl" auth="true">
|
|
<description>Update a WorkEffort Survey</description>
|
|
<permission-service service-name="workEffortGenericPermission" main-action="UPDATE"/>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="deleteWorkEffortSurveyAppl" default-entity-name="WorkEffortSurveyAppl" engine="simple"
|
|
location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="deleteWorkEffortSurveyAppl" auth="true">
|
|
<description>Delete a WorkEffort Survey</description>
|
|
<permission-service service-name="workEffortGenericPermission" main-action="DELETE"/>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
</service>
|
|
</services>
|