Author: jleroux
Date: Thu Mar 19 11:23:31 2009 New Revision: 755930 URL: http://svn.apache.org/viewvc?rev=755930&view=rev Log: manufacturing component Following best practice. Changed location="org/ofbiz/......... to location="component:// in the service location attribute. Modified: ofbiz/trunk/applications/manufacturing/servicedef/services_bom.xml ofbiz/trunk/applications/manufacturing/servicedef/services_calendar.xml ofbiz/trunk/applications/manufacturing/servicedef/services_formula.xml ofbiz/trunk/applications/manufacturing/servicedef/services_production_run.xml Modified: ofbiz/trunk/applications/manufacturing/servicedef/services_bom.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/servicedef/services_bom.xml?rev=755930&r1=755929&r2=755930&view=diff ============================================================================== --- ofbiz/trunk/applications/manufacturing/servicedef/services_bom.xml (original) +++ ofbiz/trunk/applications/manufacturing/servicedef/services_bom.xml Thu Mar 19 11:23:31 2009 @@ -26,7 +26,7 @@ <!-- Bill of Materials services --> <service name="createBOMAssoc" default-entity-name="ProductAssoc" engine="simple" - location="org/ofbiz/manufacturing/bom/BomSimpleMethods.xml" invoke="createBOMAssoc" auth="true"> + location="component://manufacturing/script/org/ofbiz/manufacturing/bom/BomSimpleMethods.xml" invoke="createBOMAssoc" auth="true"> <description>Add Product to Product Association</description> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> @@ -34,7 +34,7 @@ <override name="fromDate" optional="true"/> </service> <service name="copyBOMAssocs" default-entity-name="ProductAssoc" engine="simple" - location="org/ofbiz/manufacturing/bom/BomSimpleMethods.xml" invoke="copyBOMAssocs" auth="true"> + location="component://manufacturing/script/org/ofbiz/manufacturing/bom/BomSimpleMethods.xml" invoke="copyBOMAssocs" auth="true"> <description>Copy BOM associations from one product to another</description> <auto-attributes include="pk" mode="IN" optional="false"/> <attribute name="copyToProductId" type="String" optional="false" mode="IN"/> @@ -43,7 +43,7 @@ </service> <service name="updateProductManufacturingRule" engine="simple" default-entity-name="ProductManufacturingRule" - location="org/ofbiz/manufacturing/bom/BomSimpleMethods.xml" invoke="updateProductManufacturingRule"> + location="component://manufacturing/script/org/ofbiz/manufacturing/bom/BomSimpleMethods.xml" invoke="updateProductManufacturingRule"> <description>Update a Product Manufacturing Rule</description> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"> @@ -54,7 +54,7 @@ </service> <service name="addProductManufacturingRule" engine="simple" default-entity-name="ProductManufacturingRule" - location="org/ofbiz/manufacturing/bom/BomSimpleMethods.xml" invoke="addProductManufacturingRule"> + location="component://manufacturing/script/org/ofbiz/manufacturing/bom/BomSimpleMethods.xml" invoke="addProductManufacturingRule"> <description>Create a Product Manufacturing Rule</description> <auto-attributes include="pk" mode="IN" optional="true"/> <auto-attributes include="nonpk" mode="IN" optional="true"> @@ -65,7 +65,7 @@ </service> <service name="deleteProductManufacturingRule" engine="simple" - location="org/ofbiz/manufacturing/bom/BomSimpleMethods.xml" invoke="deleteProductManufacturingRule"> + location="component://manufacturing/script/org/ofbiz/manufacturing/bom/BomSimpleMethods.xml" invoke="deleteProductManufacturingRule"> <description>Remove a Product Manufacturing Rule</description> <attribute name="ruleId" form-label="${uiLabelMap.ManufacturingRuleId}" type="String" mode="IN" optional="false"/> </service> Modified: ofbiz/trunk/applications/manufacturing/servicedef/services_calendar.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/servicedef/services_calendar.xml?rev=755930&r1=755929&r2=755930&view=diff ============================================================================== --- ofbiz/trunk/applications/manufacturing/servicedef/services_calendar.xml (original) +++ ofbiz/trunk/applications/manufacturing/servicedef/services_calendar.xml Thu Mar 19 11:23:31 2009 @@ -25,27 +25,27 @@ <!-- Routing services --> <service name="createCalendar" engine="simple" - location="org/ofbiz/manufacturing/techdata/RoutingSimpleServices.xml" invoke="createCalendar"> + location="component://manufacturing/script/org/ofbiz/manufacturing/techdata/RoutingSimpleServices.xml" invoke="createCalendar"> <description>Create a calendar</description> <attribute name="calendarId" type="String" mode="IN" optional="false"/> <attribute name="description" type="String" mode="IN" optional="true"/> <attribute name="calendarWeekId" type="String" mode="IN" optional="true"/> </service> <service name="updateCalendar" engine="simple" - location="org/ofbiz/manufacturing/techdata/RoutingSimpleServices.xml" invoke="updateCalendar"> + location="component://manufacturing/script/org/ofbiz/manufacturing/techdata/RoutingSimpleServices.xml" invoke="updateCalendar"> <description>Update a calendar</description> <attribute name="calendarId" type="String" mode="IN" optional="false"/> <attribute name="description" type="String" mode="IN" optional="true"/> <attribute name="calendarWeekId" type="String" mode="IN" optional="true"/> </service> <service name="removeCalendar" engine="simple" - location="org/ofbiz/manufacturing/techdata/RoutingSimpleServices.xml" invoke="removeCalendar"> + location="component://manufacturing/script/org/ofbiz/manufacturing/techdata/RoutingSimpleServices.xml" invoke="removeCalendar"> <description>Remove a calendar</description> <attribute name="calendarId" type="String" mode="IN" optional="false"/> </service> <service name="createCalendarWeek" engine="simple" - location="org/ofbiz/manufacturing/techdata/RoutingSimpleServices.xml" invoke="createCalendarWeek"> + location="component://manufacturing/script/org/ofbiz/manufacturing/techdata/RoutingSimpleServices.xml" invoke="createCalendarWeek"> <description>Create a Calendar Week</description> <attribute name="calendarWeekId" type="String" mode="IN" optional="false"/> <attribute name="description" type="String" mode="IN" optional="true"/> @@ -65,7 +65,7 @@ <attribute name="sundayCapacity" type="BigDecimal" mode="IN" optional="true"/> </service> <service name="updateCalendarWeek" engine="simple" - location="org/ofbiz/manufacturing/techdata/RoutingSimpleServices.xml" invoke="updateCalendarWeek"> + location="component://manufacturing/script/org/ofbiz/manufacturing/techdata/RoutingSimpleServices.xml" invoke="updateCalendarWeek"> <description>Update a Calendar Week</description> <attribute name="calendarWeekId" type="String" mode="IN" optional="false"/> <attribute name="description" type="String" mode="IN" optional="true"/> @@ -85,13 +85,13 @@ <attribute name="sundayCapacity" type="BigDecimal" mode="IN" optional="true"/> </service> <service name="removeCalendarWeek" engine="simple" - location="org/ofbiz/manufacturing/techdata/RoutingSimpleServices.xml" invoke="removeCalendarWeek"> + location="component://manufacturing/script/org/ofbiz/manufacturing/techdata/RoutingSimpleServices.xml" invoke="removeCalendarWeek"> <description>Remove a Calendar Week</description> <attribute name="calendarWeekId" type="String" mode="IN" optional="false"/> </service> <service name="createCalendarExceptionDay" engine="simple" - location="org/ofbiz/manufacturing/techdata/RoutingSimpleServices.xml" invoke="createCalendarExceptionDay"> + location="component://manufacturing/script/org/ofbiz/manufacturing/techdata/RoutingSimpleServices.xml" invoke="createCalendarExceptionDay"> <description>Create a calendar ExceptionDay</description> <attribute name="calendarId" type="String" mode="IN" optional="false"/> <attribute name="description" type="String" mode="IN" optional="true"/> @@ -99,7 +99,7 @@ <attribute name="exceptionCapacity" type="BigDecimal" mode="IN" optional="true"/> </service> <service name="updateCalendarExceptionDay" engine="simple" - location="org/ofbiz/manufacturing/techdata/RoutingSimpleServices.xml" invoke="updateCalendarExceptionDay"> + location="component://manufacturing/script/org/ofbiz/manufacturing/techdata/RoutingSimpleServices.xml" invoke="updateCalendarExceptionDay"> <description>Update a calendar ExceptionDay</description> <attribute name="calendarId" type="String" mode="IN" optional="false"/> <attribute name="description" type="String" mode="IN" optional="true"/> @@ -107,13 +107,13 @@ <attribute name="exceptionCapacity" type="BigDecimal" mode="IN" optional="true"/> </service> <service name="removeCalendarExceptionDay" engine="simple" - location="org/ofbiz/manufacturing/techdata/RoutingSimpleServices.xml" invoke="removeCalendarExceptionDay"> + location="component://manufacturing/script/org/ofbiz/manufacturing/techdata/RoutingSimpleServices.xml" invoke="removeCalendarExceptionDay"> <description>Update a calendar ExceptionDay</description> <attribute name="calendarId" type="String" mode="IN" optional="false"/> <attribute name="exceptionDateStartTime" type="java.sql.Timestamp" mode="IN" optional="false"/> </service> <service name="createCalendarExceptionWeek" engine="simple" - location="org/ofbiz/manufacturing/techdata/RoutingSimpleServices.xml" invoke="createCalendarExceptionWeek"> + location="component://manufacturing/script/org/ofbiz/manufacturing/techdata/RoutingSimpleServices.xml" invoke="createCalendarExceptionWeek"> <description>Create a Calendar Exception Week</description> <attribute name="calendarId" type="String" mode="IN" optional="false"/> <attribute name="description" type="String" mode="IN" optional="true"/> @@ -121,7 +121,7 @@ <attribute name="calendarWeekId" type="String" mode="IN" optional="true"/> </service> <service name="updateCalendarExceptionWeek" engine="simple" - location="org/ofbiz/manufacturing/techdata/RoutingSimpleServices.xml" invoke="updateCalendarExceptionWeek"> + location="component://manufacturing/script/org/ofbiz/manufacturing/techdata/RoutingSimpleServices.xml" invoke="updateCalendarExceptionWeek"> <description>Update a Calendar Exception Week</description> <attribute name="calendarId" type="String" mode="IN" optional="false"/> <attribute name="description" type="String" mode="IN" optional="true"/> @@ -129,7 +129,7 @@ <attribute name="calendarWeekId" type="String" mode="IN" optional="true"/> </service> <service name="removeCalendarExceptionWeek" engine="simple" - location="org/ofbiz/manufacturing/techdata/RoutingSimpleServices.xml" invoke="removeCalendarExceptionWeek"> + location="component://manufacturing/script/org/ofbiz/manufacturing/techdata/RoutingSimpleServices.xml" invoke="removeCalendarExceptionWeek"> <description>Remove a Calendar Exception Week</description> <attribute name="calendarId" type="String" mode="IN" optional="false"/> <attribute name="exceptionDateStart" type="java.sql.Date" mode="IN" optional="false"/> Modified: ofbiz/trunk/applications/manufacturing/servicedef/services_formula.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/servicedef/services_formula.xml?rev=755930&r1=755929&r2=755930&view=diff ============================================================================== --- ofbiz/trunk/applications/manufacturing/servicedef/services_formula.xml (original) +++ ofbiz/trunk/applications/manufacturing/servicedef/services_formula.xml Thu Mar 19 11:23:31 2009 @@ -30,12 +30,12 @@ <attribute mode="OUT" name="quantity" optional="false" type="BigDecimal"/> </service> <service name="exampleComponentFormula" engine="simple" auth="true" - location="org/ofbiz/manufacturing/bom/BomFormulas.xml" invoke="exampleComponentFormula"> + location="component://manufacturing/script/org/ofbiz/manufacturing/bom/BomFormulas.xml" invoke="exampleComponentFormula"> <description>Example bom formula</description> <implements service="interfaceBomFormula"/> </service> <service name="linearComponentFormula" engine="simple" auth="true" - location="org/ofbiz/manufacturing/bom/BomFormulas.xml" invoke="linearComponentConsumptionFormula"> + location="component://manufacturing/script/org/ofbiz/manufacturing/bom/BomFormulas.xml" invoke="linearComponentConsumptionFormula"> <description>Formula that computes the quantity of linear component in bom</description> <implements service="interfaceBomFormula"/> </service> @@ -45,7 +45,7 @@ <attribute mode="OUT" name="totalTime" optional="false" type="BigDecimal"/> </service> <service name="exampleTaskFormula" engine="simple" auth="false" - location="org/ofbiz/manufacturing/techdata/TaskFormulae.xml" invoke="exampleTaskFormula"> + location="component://manufacturing/script/org/ofbiz/manufacturing/techdata/TaskFormulae.xml" invoke="exampleTaskFormula"> <description>Formula that computes the estimated manufacturing time of a given task</description> <implements service="interfaceTaskFormula"/> </service> Modified: ofbiz/trunk/applications/manufacturing/servicedef/services_production_run.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/servicedef/services_production_run.xml?rev=755930&r1=755929&r2=755930&view=diff ============================================================================== --- ofbiz/trunk/applications/manufacturing/servicedef/services_production_run.xml (original) +++ ofbiz/trunk/applications/manufacturing/servicedef/services_production_run.xml Thu Mar 19 11:23:31 2009 @@ -132,7 +132,7 @@ <attribute name="productId" type="String" mode="IN" optional="false"/> </service> <service name="issueProductionRunTask" engine="simple" - location="org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml" invoke="issueProductionRunTask" auth="false"> + location="component://manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml" invoke="issueProductionRunTask" auth="false"> <description> Issues the Inventory for a Production Run Task. Note that this skips the normal inventory reservation process. @@ -143,7 +143,7 @@ <attribute name="failIfItemsAreNotOnHand" type="String" mode="IN" optional="true"/> </service> <service name="issueProductionRunTaskComponent" engine="simple" - location="org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml" invoke="issueProductionRunTaskComponent" auth="false"> + location="component://manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml" invoke="issueProductionRunTaskComponent" auth="false"> <description> Issues the Inventory for a Production Run Task Component. For more info see the issueProductionRunTask service. If fromDate is passed, then the WorkEffortGoodStandard record with pk composed of (workEffortId|productId|fromDate) @@ -168,7 +168,7 @@ <attribute name="description" type="String" mode="IN" optional="true"/> </service> <service name="issueInventoryItemToWorkEffort" engine="simple" - location="org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml" invoke="issueInventoryItemToWorkEffort" auth="false"> + location="component://manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml" invoke="issueInventoryItemToWorkEffort" auth="false"> <description> Issue one InventoryItem (or part of it) to a WorkEffort. Note that this skips the normal inventory reservation process. |
Free forum by Nabble | Edit this page |