svn commit: r755953 - /ofbiz/trunk/specialpurpose/projectmgr/servicedef/services.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r755953 - /ofbiz/trunk/specialpurpose/projectmgr/servicedef/services.xml

jleroux@apache.org
Author: jleroux
Date: Thu Mar 19 11:59:30 2009
New Revision: 755953

URL: http://svn.apache.org/viewvc?rev=755953&view=rev
Log:
projectmgr component
Following best practice.
Changed location="org/ofbiz/......... to location="component:// in the service location attribute.

Modified:
    ofbiz/trunk/specialpurpose/projectmgr/servicedef/services.xml

Modified: ofbiz/trunk/specialpurpose/projectmgr/servicedef/services.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/servicedef/services.xml?rev=755953&r1=755952&r2=755953&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/servicedef/services.xml (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/servicedef/services.xml Thu Mar 19 11:59:30 2009
@@ -23,7 +23,7 @@
     <description>Project Manager service definitions.</description>
 
     <service name="createTimeEntryInTimesheet" default-entity-name="TimeEntry" engine="simple" auth="true"
-        location="org/ofbiz/project/ProjectServices.xml" invoke="createTimeEntryInTimesheet">
+        location="component://projectmgrl/script/org/ofbiz/project/ProjectServices.xml" invoke="createTimeEntryInTimesheet">
         <description>Creates TimeEntry and searches for a timesheetId, if required it will create a weekly time sheet, it also assigns the party to the task</description>
         <permission-service service-name="projectMgrPermission" main-action="CREATE"/>
         <auto-attributes include="pk" mode="OUT" optional="false"/>
@@ -34,7 +34,7 @@
     </service>
 
     <service name="createProjectTimesheet" engine="simple" default-entity-name="Timesheet"
-        location="org/ofbiz/workeffort/timesheet/TimesheetServices.xml" invoke="createTimesheetForThisWeek">
+        location="component://projectmgrl/script/org/ofbiz/workeffort/timesheet/TimesheetServices.xml" invoke="createTimesheetForThisWeek">
         <description>Creates Timesheet for this week if no required date specified.</description>
         <permission-service service-name="projectMgrPermission" main-action="CREATE"/>
         <auto-attributes include="pk" mode="OUT" optional="false"/>
@@ -46,7 +46,7 @@
     </service>
 
     <service name="projectMgrPermission" engine="simple"
-        location="org/ofbiz/project/ProjectPermissionServices.xml" invoke="projectMgrPermission">
+        location="component://projectmgrl/script/org/ofbiz/project/ProjectPermissionServices.xml" invoke="projectMgrPermission">
         <implements service="permissionInterface"/>
         <attribute name="projectId" type="String" mode="IN" optional="true"/>        
         <attribute name="phaseId" type="String" mode="IN" optional="true"/>        
@@ -58,7 +58,7 @@
     </service>
 
     <service name="updateTimeEntryByWorkeffort" engine="simple"
-        location="org/ofbiz/project/ProjectServices.xml" invoke="updateTimeEntryByWorkeffort">
+        location="component://projectmgrl/script/org/ofbiz/project/ProjectServices.xml" invoke="updateTimeEntryByWorkeffort">
         <description>Update workeffort by workeffortId and timesheetId </description>
         <permission-service service-name="projectMgrPermission" main-action="UPDATE"/>
         <attribute name="timesheetId" type="String" mode="INOUT" optional="false"/>
@@ -77,7 +77,7 @@
     </service>
 
     <service name="getProject" engine="simple"
-        location="org/ofbiz/project/ProjectServices.xml" invoke="getProject">
+        location="component://projectmgrl/script/org/ofbiz/project/ProjectServices.xml" invoke="getProject">
         <description>Get project information and related phase and task info.</description>
         <permission-service service-name="projectMgrPermission" main-action="VIEW"/>
         <attribute name="projectId" type="String" mode="INOUT" optional="true"/>
@@ -86,7 +86,7 @@
     </service>
     
     <service name="createProject" engine="simple" default-entity-name="WorkEffort"
-        location="org/ofbiz/project/ProjectServices.xml" invoke="createProject">
+        location="component://projectmgrl/script/org/ofbiz/project/ProjectServices.xml" invoke="createProject">
         <description>Copy a project planning from a template.</description>
         <permission-service service-name="projectMgrPermission" main-action="CREATE"/>
         <implements service="interfaceWorkEffort"/>        
@@ -106,7 +106,7 @@
     </service>
     
     <service name="updateProject" default-entity-name="WorkEffort" engine="simple"
-        location="org/ofbiz/project/ProjectServices.xml" invoke="updateProject">
+        location="component://projectmgrl/script/org/ofbiz/project/ProjectServices.xml" invoke="updateProject">
         <description>Update a Project</description>
         <permission-service service-name="projectMgrPermission" main-action="UPDATE"/>
         <implements service="interfaceWorkEffort"/>
@@ -116,7 +116,7 @@
     </service>
 
     <service name="createProjectTask" engine="simple" default-entity-name="WorkEffort"
-        location="org/ofbiz/project/ProjectServices.xml" invoke="createProjectTask">
+        location="component://projectmgrl/script/org/ofbiz/project/ProjectServices.xml" invoke="createProjectTask">
         <description>Create a new task and optionally assign to a resource.</description>
         <permission-service service-name="projectMgrPermission" main-action="CREATE"/>
         <implements service="interfaceWorkEffort"/>        
@@ -137,7 +137,7 @@
     </service>
     
     <service name="copyProject" engine="simple"
-        location="org/ofbiz/project/ProjectServices.xml" invoke="copyProject">
+        location="component://projectmgrl/script/org/ofbiz/project/ProjectServices.xml" invoke="copyProject">
         <description>Copy a project planning data but ignore the actual data.</description>
         <permission-service service-name="projectMgrPermission" main-action="CREATE"/>
         <attribute name="projectId" type="String" mode="INOUT" optional="false"/>
@@ -146,7 +146,7 @@
     </service>
     
     <service name="copyProjectToTemplate" engine="simple"
-        location="org/ofbiz/project/ProjectServices.xml" invoke="copyProjectToTemplate">
+        location="component://projectmgrl/script/org/ofbiz/project/ProjectServices.xml" invoke="copyProjectToTemplate">
         <description>Copy a project planning data to a template project.</description>
         <permission-service service-name="projectMgrPermission" main-action="CREATE"/>
         <attribute name="projectId" type="String" mode="INOUT" optional="false"/>
@@ -155,14 +155,14 @@
     </service>
     
     <service name="scheduleProject" engine="simple"
-        location="org/ofbiz/project/ProjectServices.xml" invoke="scheduleProject">
+        location="component://projectmgrl/script/org/ofbiz/project/ProjectServices.xml" invoke="scheduleProject">
         <description>(re) calculate the estimated start and enddates of tasks within a project</description>
         <permission-service service-name="projectMgrPermission" main-action="UPDATE"/>
         <attribute name="projectId" type="String" mode="INOUT" optional="true"/>
     </service>
     
     <service name="getProjectIdAndNameFromTask" engine="simple"
-        location="org/ofbiz/project/ProjectServices.xml" invoke="getProjectIdAndNameFromTask">
+        location="component://projectmgrl/script/org/ofbiz/project/ProjectServices.xml" invoke="getProjectIdAndNameFromTask">
         <description>Get the projectId and Name when a phase or task is provided.</description>
         <permission-service service-name="projectMgrPermission" main-action="VIEW"/>
         <attribute name="taskId" type="String" mode="INOUT" optional="true"/>
@@ -175,7 +175,7 @@
     </service>
     
     <service name="getProjectPhaseList" engine="simple"
-        location="org/ofbiz/project/ProjectServices.xml" invoke="getProjectPhaseList">
+        location="component://projectmgrl/script/org/ofbiz/project/ProjectServices.xml" invoke="getProjectPhaseList">
         <description>Get project phase information and related task info.</description>
         <permission-service service-name="projectMgrPermission" main-action="VIEW"/>
         <attribute name="projectId" type="String" mode="INOUT" optional="true"/>
@@ -183,7 +183,7 @@
     </service>
     
     <service name="getProjectTaskList" engine="simple"
-        location="org/ofbiz/project/ProjectServices.xml" invoke="getProjectTaskList">
+        location="component://projectmgrl/script/org/ofbiz/project/ProjectServices.xml" invoke="getProjectTaskList">
         <description>Get project phase information and related task info.</description>
         <permission-service service-name="projectMgrPermission" main-action="VIEW"/>
         <attribute name="projectId" type="String" mode="INOUT" optional="true"/>
@@ -191,7 +191,7 @@
     </service>
     
     <service name="getProjectTask" engine="simple"
-        location="org/ofbiz/project/ProjectServices.xml" invoke="getProjectTask">
+        location="component://projectmgrl/script/org/ofbiz/project/ProjectServices.xml" invoke="getProjectTask">
         <description>Get project task information and related timesheet info.</description>
         <permission-service service-name="projectMgrPermission" main-action="VIEW"/>
         <attribute name="hoursPartyId" type="String" mode="IN" optional="true"/>
@@ -202,7 +202,7 @@
     </service>
     
     <service name="getProjectsByParties" engine="simple"
-        location="org/ofbiz/project/ProjectServices.xml" invoke="getProjectsByParties">
+        location="component://projectmgrl/script/org/ofbiz/project/ProjectServices.xml" invoke="getProjectsByParties">
         <description>Get project information by party</description>
         <permission-service service-name="projectMgrPermission" main-action="VIEW"/>        
         <attribute name="projectId" type="String" mode="INOUT" optional="true"/>
@@ -211,7 +211,7 @@
     </service>
     
     <service name="getTasksByParties" engine="simple"
-        location="org/ofbiz/project/ProjectServices.xml" invoke="getTasksByParties">
+        location="component://projectmgrl/script/org/ofbiz/project/ProjectServices.xml" invoke="getTasksByParties">
         <description>Get project information by party</description>
         <permission-service service-name="projectMgrPermission" main-action="VIEW"/>
         <attribute name="workEffortId" type="String" mode="INOUT" optional="true"/>
@@ -220,7 +220,7 @@
     </service>
 
     <service name="updateTaskAssigment" default-entity-name="WorkEffortPartyAssignment" engine="simple"
-        location="org/ofbiz/project/ProjectServices.xml" invoke="updateTaskAssigment">
+        location="component://projectmgrl/script/org/ofbiz/project/ProjectServices.xml" invoke="updateTaskAssigment">
         <description>Update a WorkEffortPartyAssignment Entity, including set enddate and create new</description>
         <permission-service service-name="projectMgrPermission" main-action="UPDATE"/>
         <attribute name="workEffortId" type="String" mode="INOUT"/>
@@ -234,7 +234,7 @@
         <attribute name="comments" type="String" mode="IN" optional="true"/>
     </service>
     <service name="addProjectTimeToNewInvoice" engine="simple" auth="true"
-        location="org/ofbiz/project/ProjectServices.xml" invoke="addProjectTimeToNewInvoice">
+        location="component://projectmgrl/script/org/ofbiz/project/ProjectServices.xml" invoke="addProjectTimeToNewInvoice">
         <description>Add Project Time to a new Invoice</description>
         <attribute name="projectId" type="String" mode="IN" optional="false"/>
         <attribute name="partyIdFrom" type="String" mode="IN" optional="true"/>
@@ -244,7 +244,7 @@
         <attribute name="reCreate" type="String" mode="IN" optional="true"/>
     </service>
     <service name="addValidationPartiesToTask" engine="simple" auth="true"
-        location="org/ofbiz/project/ProjectServices.xml" invoke="addValidationPartiesToTask">
+        location="component://projectmgrl/script/org/ofbiz/project/ProjectServices.xml" invoke="addValidationPartiesToTask">
         <description>SECA to add either project-testing or -approval parties to a task when a task is set to complete</description>
         <attribute name="workEffortId" type="String" mode="IN" optional="true"/>
         <attribute name="partyId" type="String" mode="IN" optional="true"/>