blob: 27524e20caf6f3ad1810e8663aa2ab66ded60806 [file] [log] [blame]
<?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>Product Component Services</description>
<vendor>OFBiz</vendor>
<version>1.0</version>
<!-- Product Feature Services -->
<service name="createProductFeatureCategory" engine="simple"
location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="createProductFeatureCategory" auth="true">
<description>Create a ProductFeatureCategory record</description>
<attribute name="parentCategoryId" type="String" mode="IN" optional="true"/>
<attribute name="description" type="String" mode="IN" optional="false"/>
<attribute name="productFeatureCategoryId" type="String" mode="OUT" optional="false"/>
</service>
<service name="updateProductFeatureCategory" engine="simple"
location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="updateProductFeatureCategory" auth="true">
<description>Update a ProductFeatureCategory record</description>
<attribute name="productFeatureCategoryId" type="String" mode="IN" optional="false"/>
<attribute name="parentCategoryId" type="String" mode="IN" optional="true"/>
<attribute name="description" type="String" mode="IN" optional="false"/>
</service>
<service name="createProductFeature" engine="simple"
location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="createProductFeature" auth="true">
<description>Create a ProductFeature record</description>
<attribute name="productFeatureTypeId" type="String" mode="IN" optional="false"/>
<attribute name="productFeatureCategoryId" type="String" mode="IN" optional="true"/>
<attribute name="description" type="String" mode="IN" optional="false"/>
<attribute name="uomId" type="String" mode="IN" optional="true"/>
<attribute name="numberSpecified" type="BigDecimal" mode="IN" optional="true"/>
<attribute name="defaultAmount" type="BigDecimal" mode="IN" optional="true"/>
<attribute name="productFeatureId" type="String" mode="IN" optional="true"/>
<attribute name="productFeatureId" type="String" mode="OUT" optional="false"/>
<attribute name="defaultSequenceNum" type="Long" mode="IN" optional="true"/>
<attribute name="idCode" type="String" mode="IN" optional="true"/>
<attribute name="abbrev" type="String" mode="IN" optional="true"/>
</service>
<service name="updateProductFeature" engine="simple"
location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="updateProductFeature" auth="true">
<description>Update a ProductFeature record</description>
<attribute name="productFeatureId" type="String" mode="IN" optional="false"/>
<attribute name="productFeatureTypeId" type="String" mode="IN" optional="false"/>
<attribute name="productFeatureCategoryId" type="String" mode="IN" optional="true"/>
<attribute name="description" type="String" mode="IN" optional="false"/>
<attribute name="uomId" type="String" mode="IN" optional="true"/>
<attribute name="numberSpecified" type="BigDecimal" mode="IN" optional="true"/>
<attribute name="defaultAmount" type="BigDecimal" mode="IN" optional="true"/>
<attribute name="defaultSequenceNum" type="Long" mode="IN" optional="true"/>
<attribute name="idCode" type="String" mode="IN" optional="true"/>
<attribute name="abbrev" type="String" mode="IN" optional="true"/>
</service>
<service name="applyFeatureToProduct" engine="simple"
location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="applyFeatureToProduct" auth="true">
<description>Apply a ProductFeature to a Product; a fromDate can be used
to specify when the feature will be applied, if no fromDate is specified,
it will be applied now.</description>
<attribute name="productId" type="String" mode="IN" optional="false"/>
<attribute name="productFeatureId" type="String" mode="IN" optional="false"/>
<attribute name="productFeatureApplTypeId" type="String" mode="IN" optional="false"/>
<attribute name="fromDate" type="java.sql.Timestamp" mode="IN" optional="true"/>
<attribute name="thruDate" type="java.sql.Timestamp" mode="IN" optional="true"/>
<attribute name="sequenceNum" type="Long" mode="IN" optional="true"/>
<attribute name="amount" type="BigDecimal" mode="IN" optional="true"/>
</service>
<service name="updateFeatureToProductApplication" engine="simple"
location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="updateFeatureToProductApplication" auth="true">
<description>Update a ProductFeature to Product Application</description>
<attribute name="productId" type="String" mode="IN" optional="false"/>
<attribute name="productFeatureId" type="String" mode="IN" optional="false"/>
<attribute name="productFeatureApplTypeId" type="String" mode="IN" optional="false"/>
<attribute name="fromDate" type="java.sql.Timestamp" mode="IN" optional="false"/>
<attribute name="thruDate" type="java.sql.Timestamp" mode="IN" optional="true"/>
<attribute name="sequenceNum" type="Long" mode="IN" optional="true"/>
<attribute name="amount" type="BigDecimal" mode="IN" optional="true"/>
<attribute name="recurringAmount" type="BigDecimal" mode="IN" optional="true"/>
</service>
<service name="removeFeatureFromProduct" engine="simple"
location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="removeFeatureFromProduct" auth="true">
<description>Remove a ProductFeature from a Product; a thruDate can be used
to specify when the feature will be removed, if no thruDate is specified,
it will be removed now.</description>
<attribute name="productId" type="String" mode="IN" optional="false"/>
<attribute name="productFeatureId" type="String" mode="IN" optional="false"/>
<attribute name="fromDate" type="java.sql.Timestamp" mode="IN" optional="false"/>
<attribute name="thruDate" type="java.sql.Timestamp" mode="IN" optional="true"/>
</service>
<service name="applyFeatureToProductFromTypeAndCode" engine="simple"
location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="applyFeatureToProductFromTypeAndCode" auth="true">
<description>Apply a ProductFeature to a Product</description>
<attribute name="productId" type="String" mode="IN" optional="false"/>
<attribute name="productFeatureTypeId" type="String" mode="IN" optional="false"/>
<attribute name="idCode" type="String" mode="IN" optional="false"/>
<attribute name="productFeatureApplTypeId" type="String" mode="IN" optional="false"/>
<attribute name="fromDate" type="java.sql.Timestamp" mode="IN" optional="true"/>
<attribute name="thruDate" type="java.sql.Timestamp" mode="IN" optional="true"/>
<attribute name="sequenceNum" type="Long" mode="IN" optional="true"/>
</service>
<!-- ProductFeatureCategoryAppl Services -->
<service name="createProductFeatureCategoryAppl" default-entity-name="ProductFeatureCategoryAppl" engine="simple"
location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="createProductFeatureCategoryAppl" auth="true">
<description>Create a ProductFeatureCategory to ProductCategory Application</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
<override name="fromDate" optional="true"/>
</service>
<service name="updateProductFeatureCategoryAppl" default-entity-name="ProductFeatureCategoryAppl" engine="simple"
location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="updateProductFeatureCategoryAppl" auth="true">
<description>Update a ProductFeatureCategory to ProductCategory Application</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
</service>
<service name="removeProductFeatureCategoryAppl" default-entity-name="ProductFeatureCategoryAppl" engine="simple"
location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="removeProductFeatureCategoryAppl" auth="true">
<description>Remove a ProductFeatureCategory to ProductCategory Application</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
</service>
<!-- ProductFeatureCatGrpAppl Services -->
<service name="createProductFeatureCatGrpAppl" default-entity-name="ProductFeatureCatGrpAppl" engine="simple"
location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="createProductFeatureCatGrpAppl" auth="true">
<description>Create a ProductFeatureGroup to ProductCategory Application</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
<override name="fromDate" optional="true"/>
</service>
<service name="updateProductFeatureCatGrpAppl" default-entity-name="ProductFeatureCatGrpAppl" engine="simple"
location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="updateProductFeatureCatGrpAppl" auth="true">
<description>Update a ProductFeatureGroup to ProductCategory Application</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
</service>
<service name="removeProductFeatureCatGrpAppl" default-entity-name="ProductFeatureCatGrpAppl" engine="simple"
location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="removeProductFeatureCatGrpAppl" auth="true">
<description>Remove a ProductFeatureGroup to ProductCategory Application</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
</service>
<!-- ProductFeatureGroup Services -->
<service name="createProductFeatureGroup" engine="simple"
location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="createProductFeatureGroup" auth="true">
<description>Create a ProductFeatureGroup</description>
<attribute name="description" type="String" mode="IN" optional="true"/>
<attribute name="productFeatureGroupId" type="String" mode="OUT" optional="false"/>
</service>
<service name="updateProductFeatureGroup" engine="simple"
location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="updateProductFeatureGroup" auth="true">
<description>Create a ProductFeatureGroup</description>
<attribute name="productFeatureGroupId" type="String" mode="IN" optional="false"/>
<attribute name="description" type="String" mode="IN" optional="true"/>
</service>
<service name="createProductFeatureGroupAppl" engine="simple"
location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="createProductFeatureGroupAppl" auth="true">
<description>Create a ProductFeatureGroup to ProductFeature Application</description>
<attribute name="productFeatureGroupId" type="String" mode="IN" optional="false"/>
<attribute name="productFeatureId" type="String" mode="IN" optional="false"/>
<attribute name="fromDate" type="java.sql.Timestamp" mode="IN" optional="true"/>
<attribute name="thruDate" type="java.sql.Timestamp" mode="IN" optional="true"/>
<attribute name="sequenceNum" type="Long" mode="IN" optional="true"/>
</service>
<service name="updateProductFeatureGroupAppl" engine="simple"
location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="updateProductFeatureGroupAppl" auth="true">
<description>Update a ProductFeatureGroup to ProductFeature Application</description>
<attribute name="productFeatureGroupId" type="String" mode="IN" optional="false"/>
<attribute name="productFeatureId" type="String" mode="IN" optional="false"/>
<attribute name="fromDate" type="java.sql.Timestamp" mode="IN" optional="false"/>
<attribute name="thruDate" type="java.sql.Timestamp" mode="IN" optional="true"/>
<attribute name="sequenceNum" type="Long" mode="IN" optional="true"/>
</service>
<service name="removeProductFeatureGroupAppl" engine="simple"
location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="removeProductFeatureGroupAppl" auth="true">
<description>Remove a ProductFeatureGroup to ProductFeature Application</description>
<attribute name="productFeatureGroupId" type="String" mode="IN" optional="false"/>
<attribute name="productFeatureId" type="String" mode="IN" optional="false"/>
<attribute name="fromDate" type="java.sql.Timestamp" mode="IN" optional="false"/>
</service>
<!-- ProductFeatureIactn Services -->
<service name="createProductFeatureIactn" default-entity-name="ProductFeatureIactn" engine="simple"
location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="createProductFeatureIactn" auth="true">
<description>Create a ProductFeatureIactn</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
<override name="productFeatureIactnTypeId" mode="IN" optional="false"/>
</service>
<service name="removeProductFeatureIactn" default-entity-name="ProductFeatureIactn" engine="simple"
location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="removeProductFeatureIactn" auth="true">
<description>Remove a ProductFeatureIactn</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
</service>
<!-- ProductFeatureType Services -->
<service name="createProductFeatureType" default-entity-name="ProductFeatureType" engine="simple"
location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="createProductFeatureType" auth="true">
<description>Create a ProductFeatureType</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
<override name="productFeatureTypeId" mode="IN" optional="true" />
</service>
<service name="updateProductFeatureType" default-entity-name="ProductFeatureType" engine="simple"
location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="updateProductFeatureType" auth="true">
<description>Update a ProductFeatureType</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
</service>
<service name="removeProductFeatureType" default-entity-name="ProductFeatureType" engine="simple"
location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="removeProductFeatureType" auth="true">
<description>Remove a ProductFeatureType</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
</service>
<!-- ProductFeatureApplAttr -->
<service name="createProductFeatureApplAttr" default-entity-name="ProductFeatureApplAttr" engine="simple"
location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="createProductFeatureApplAttr" auth="true">
<description>Create a ProductFeatureApplAttr</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
<override name="fromDate" optional="true"/>
</service>
<service name="updateProductFeatureApplAttr" default-entity-name="ProductFeatureApplAttr" engine="simple"
location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="updateProductFeatureApplAttr" auth="true">
<description>Update a ProductFeatureApplAttr</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
</service>
<service name="removeProductFeatureApplAttr" default-entity-name="ProductFeatureApplAttr" engine="simple"
location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="removeProductFeatureApplAttr" auth="true">
<description>Remove a ProductFeatureApplAttr</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
</service>
<!-- Feature Price Service -->
<service name="createFeaturePrice" engine="simple" default-entity-name="ProductFeaturePrice"
location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="createFeaturePrice" auth="true">
<description>Create a Feature Price</description>
<auto-attributes mode="IN" include="pk" optional="false"/>
<auto-attributes include="nonpk" mode="IN" optional="true">
<exclude field-name="createdDate"/>
<exclude field-name="createdByUserLogin"/>
<exclude field-name="lastModifiedDate"/>
<exclude field-name="lastModifiedByUserLogin"/>
</auto-attributes>
<override name="productFeatureId" mode="IN" optional="true"/>
<override name="fromDate" mode="INOUT" optional="true"/>
<override name="price" optional="false"/>
</service>
<service name="updateFeaturePrice" engine="simple" default-entity-name="ProductFeaturePrice"
location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="updateFeaturePrice" auth="true">
<description>Update a Feature Price</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
<auto-attributes include="nonpk" mode="IN" optional="true">
<exclude field-name="createdDate"/>
<exclude field-name="createdByUserLogin"/>
<exclude field-name="lastModifiedDate"/>
<exclude field-name="lastModifiedByUserLogin"/>
</auto-attributes>
<override name="price" optional="false"/>
</service>
<service name="deleteFeaturePrice" engine="simple" default-entity-name="ProductFeaturePrice"
location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="deleteFeaturePrice" auth="true">
<description>Delete a Feature Price</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
</service>
</services>