| <?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>Google Base Component Services</description> |
| <vendor>OFBiz</vendor> |
| <version>1.0</version> |
| |
| <service name="exportToGoogle" engine="java" |
| location="org.ofbiz.googlebase.ProductsExportToGoogle" invoke="exportToGoogle" auth="true"> |
| <description>Export products to Google Base</description> |
| <attribute type="List" mode="IN" name="selectResult" optional="false"/> |
| <attribute type="String" mode="IN" name="webSiteUrl" optional="false"/> |
| <attribute type="String" mode="IN" name="imageUrl" optional="true"/> |
| <attribute type="String" mode="IN" name="actionType" optional="false"/> |
| <attribute type="String" mode="IN" name="statusId" optional="false"/> |
| <attribute type="String" mode="IN" name="testMode" optional="false"/> |
| <attribute type="String" mode="IN" name="trackingCodeId" optional="true"/> |
| <attribute type="String" mode="IN" name="webSiteMountPoint" optional="false"/> |
| <attribute type="String" mode="IN" name="countryCode" optional="false"/> |
| <attribute type="String" mode="IN" name="productStoreId" optional="true"/> |
| <attribute type="String" mode="IN" name="allowRecommended" optional="true"/> |
| <attribute type="String" mode="IN" name="utmSource" optional="true"/> |
| <attribute type="String" mode="IN" name="utmMedium" optional="true"/> |
| <attribute type="String" mode="IN" name="utmTerm" optional="true"/> |
| <attribute type="String" mode="IN" name="utmContent" optional="true"/> |
| <attribute type="String" mode="IN" name="utmCampaign" optional="true"/> |
| </service> |
| <service name="exportProductCategoryToGoogle" engine="java" |
| location="org.ofbiz.googlebase.ProductsExportToGoogle" invoke="exportProductCategoryToGoogle" auth="true"> |
| <description>Export products in a category to Google Base</description> |
| <attribute type="String" mode="IN" name="productCategoryId" optional="false"/> |
| <attribute type="String" mode="IN" name="actionType" optional="false"/> |
| <attribute type="String" mode="IN" name="webSiteUrl" optional="false"/> |
| <attribute type="String" mode="IN" name="imageUrl" optional="true"/> |
| </service> |
| |
| <!-- Start configuration services --> |
| <service name="createGoogleBaseConfig" default-entity-name="GoogleBaseConfig" engine="entity-auto" invoke="create" auth="true"> |
| <description>Create a GoogleBaseConfig</description> |
| <auto-attributes include="pk" mode="IN" optional="false"/> |
| <auto-attributes include="nonpk" mode="IN" optional="true"/> |
| </service> |
| <service name="updateGoogleBaseConfig" default-entity-name="GoogleBaseConfig" engine="entity-auto" invoke="update" auth="true"> |
| <description>Update a GoogleBaseConfig</description> |
| <auto-attributes include="pk" mode="IN" optional="false"/> |
| <auto-attributes include="nonpk" mode="IN" optional="true"/> |
| </service> |
| <service name="deleteGoogleBaseConfig" default-entity-name="GoogleBaseConfig" engine="entity-auto" invoke="delete" auth="true"> |
| <description>Delete a GoogleBaseConfig</description> |
| <auto-attributes include="pk" mode="IN" optional="false"/> |
| </service> |
| |
| <!-- Auto update to google base **scheduled service --> |
| <service name="autoUpdateToGoogleBase" engine="simple" |
| location="component://googlebase/script/org/ofbiz/googlebase/GooglebaseServices.xml" invoke="autoUpdateToGoogleBase" auth="true" use-transaction="false"> |
| <description>Auto update to google base</description> |
| <attribute type="List" mode="OUT" name="allProductExportList" optional="true"/> |
| </service> |
| </services> |