Files
ofbiz-framework/applications/product/servicedef/services_maint.xml
T
Jacques Le Roux dad67935f7 A (large) patch from Scott Gray "Update ASL header" (https://issues.apache.org/jira/browse/OFBIZ-637).
I put also some svn:ignore for shark build and lib diretories and assetmaint/build 

I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.

I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00

117 lines
7.9 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://www.ofbiz.org/dtds/services.xsd">
<description>Product Component Maintenance Services</description>
<vendor>OFBiz</vendor>
<version>1.0</version>
<!-- Product Category Maintenance Services -->
<service name="copyCategoryProductMembers" engine="simple" transaction-timeout="600"
location="org/ofbiz/product/category/CategoryServices.xml" invoke="copyCategoryProductMembers" auth="true">
<description>Copy Product Members from one Category to Another, optionally filtering by the given valid date (otherwise no date filtering done), and optionally recursing (if recurse=Y) down the from category</description>
<attribute name="productCategoryId" type="String" mode="IN" optional="false"/>
<attribute name="productCategoryIdTo" type="String" mode="IN" optional="false"/>
<attribute name="validDate" type="Timestamp" mode="IN" optional="true"/>
<attribute name="recurse" type="String" mode="IN" optional="true"/>
</service>
<service name="expireAllCategoryProductMembers" engine="simple"
location="org/ofbiz/product/category/CategoryServices.xml" invoke="expireAllCategoryProductMembers" auth="true">
<description>Expire All Product Members in a Category optionally using the thruDate specified as the expire date (now timestamp used by default)</description>
<attribute name="productCategoryId" type="String" mode="IN" optional="false"/>
<attribute name="thruDate" type="Timestamp" mode="IN" optional="true"/>
</service>
<service name="removeExpiredCategoryProductMembers" engine="simple"
location="org/ofbiz/product/category/CategoryServices.xml" invoke="removeExpiredCategoryProductMembers" auth="true">
<description>Remove All Expired Product Members in a Category, optionally uses the valid date instead of now to determine if the member has expired</description>
<attribute name="productCategoryId" type="String" mode="IN" optional="false"/>
<attribute name="validDate" type="Timestamp" mode="IN" optional="true"/>
</service>
<!-- ========================================= -->
<!-- Some Product Maintenance Utility Services -->
<!-- ========================================= -->
<!-- These are generally run manually, but some can be run on a schedule as well. -->
<service name="discVirtualsWithDiscVariants" engine="java"
location="org.ofbiz.product.product.ProductUtilServices" invoke="discVirtualsWithDiscVariants" auth="true" transaction-timeout="36000000" require-new-transaction="true">
<description>Discontinue Virtuals With Discontinued Variants</description>
</service>
<service name="removeCategoryMembersOfDiscProducts" engine="java"
location="org.ofbiz.product.product.ProductUtilServices" invoke="removeCategoryMembersOfDiscProducts" auth="true" transaction-timeout="36000000" require-new-transaction="true">
<description>Remove Category Members Of Discontinued Products</description>
</service>
<service name="removeDuplicateOpenEndedCategoryMembers" engine="java"
location="org.ofbiz.product.product.ProductUtilServices" invoke="removeDuplicateOpenEndedCategoryMembers" auth="true" transaction-timeout="36000000" require-new-transaction="true">
<description>Remove Duplicate, excluding fromDate, Category Members that have no thruDate</description>
</service>
<service name="makeStandAloneFromSingleVariantVirtuals" engine="java"
location="org.ofbiz.product.product.ProductUtilServices" invoke="makeStandAloneFromSingleVariantVirtuals" auth="true" transaction-timeout="36000000" require-new-transaction="true">
<description>Make Stand Alone From Single Variant Virtuals</description>
</service>
<service name="mergeVirtualWithSingleVariant" engine="java"
location="org.ofbiz.product.product.ProductUtilServices" invoke="mergeVirtualWithSingleVariant" auth="true" transaction-timeout="3600000" require-new-transaction="true">
<description>A service to be called by the make stand alone service to do the operation for one product.</description>
<attribute name="productId" type="String" mode="IN" optional="false"/>
<attribute name="removeOld" type="Boolean" mode="IN" optional="false"/>
<attribute name="test" type="Boolean" mode="IN" optional="true"/>
</service>
<service name="setAllProductImageNames" engine="java"
location="org.ofbiz.product.product.ProductUtilServices" invoke="setAllProductImageNames" auth="true" transaction-timeout="36000000" require-new-transaction="true">
<description>Set All Product Image Names; pattern example: /images/products/${size}/${productId}.jpg; defaults to values in the catalog.properties file (image.url.prefix + / + image.filename.format)</description>
<attribute name="pattern" type="String" mode="IN" optional="true"/>
</service>
<service name="clearAllVirtualProductImageNames" engine="java"
location="org.ofbiz.product.product.ProductUtilServices" invoke="clearAllVirtualProductImageNames" auth="true" transaction-timeout="36000000" require-new-transaction="true">
<description>Set All Product Image Names</description>
</service>
<service name="attachProductFeaturesToCategory" engine="java"
location="org.ofbiz.product.product.ProductUtilServices" invoke="attachProductFeaturesToCategory" auth="true" transaction-timeout="36000000" require-new-transaction="true">
<description>Attach Product Features To Category Through Groups</description>
<attribute name="productCategoryId" type="String" mode="IN" optional="false"/>
<attribute name="doSubCategories" type="String" mode="IN" optional="true"/>
</service>
<!-- ============================== -->
<!-- Promotion Maintenance Services -->
<!-- ============================== -->
<service name="purgeOldStoreAutoPromos" engine="java"
location="org.ofbiz.product.promo.PromoServices" invoke="purgeOldStoreAutoPromos" auth="true">
<description>Purge Expired ProductStorePromoAppl Records, by store or global if productStoreId is null</description>
<attribute name="productStoreId" type="String" mode="IN" optional="true"/>
</service>
<!-- ============================== -->
<!-- Inventory Maintenance Services -->
<!-- ============================== -->
<service name="updateOldInventoryToDetailAll" engine="simple"
location="org/ofbiz/product/inventory/InventoryServices.xml" invoke="updateOldInventoryToDetailAll" auth="true">
<description>Update Old Inventory To Detail</description>
</service>
<service name="updateOldInventoryToDetailSingle" engine="simple" require-new-transaction="true"
location="org/ofbiz/product/inventory/InventoryServices.xml" invoke="updateOldInventoryToDetailSingle" auth="true">
<description>Update Old Inventory To Detail</description>
<attribute name="inventoryItem" type="GenericValue" mode="IN" optional="false"/>
</service>
</services>