Files
ofbiz-plugins/googlebase/entitydef/entitymodel.xml
T
Ashish Vijaywargiya 4726c94d5d Applied patch from jira issue OFBIZ-3132 - Multiple productStore support to googleBase and eBay.
Changes includes following:
1) Created new search form for eBay and GoogleBase - It was not good to update *advancesearch*.ftl file present inside catalog component. Now it will be easy to maintain separate file for future deployments.
2) Restricted productStoreId and prodCatalogId field to search.
3) Added webSite drop-down on "Export to eBay" and "Export to GoogleBase" page.
4) Select webSite to get the webSiteUrl. 

Thanks Parimal for your contribution - this will surely help the community.
Special thanks to Mridul, Rishi, Chirag, Deepak & Me :-) for discussing requirement and also special thanks to Jacopo for the notes and discussion on requirements.
 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@831534 13f79535-47bb-0310-9956-ffa450edef68
2009-10-31 12:01:52 +00:00

62 lines
3.1 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.
-->
<entitymodel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/entitymodel.xsd">
<!-- ========================================================= -->
<!-- ======================== Defaults ======================= -->
<!-- ========================================================= -->
<title>Entity of an Open For Business Project Component</title>
<description>None</description>
<copyright>Copyright 2001-2009 The Apache Software Foundation</copyright>
<author>None</author>
<version>1.0</version>
<!-- ========================================================= -->
<!-- ======================== Data Model ===================== -->
<!-- The modules in this file are as follows: -->
<!-- - org.ofbiz.googlebase.config -->
<!-- ========================================================= -->
<!-- ========================================================= -->
<!-- org.ofbiz.googlebase.config -->
<!-- ========================================================= -->
<entity entity-name="GoogleBaseConfig"
package-name="org.ofbiz.googlebase.config"
title="Google Base Configuration">
<field name="productStoreId" type="id-ne"></field>
<field name="developerKey" type="value"><description>Developer Key that should be obtained from Google Base</description></field>
<field name="authenticationUrl" type="value"><description>Authentication URL for Google Base</description></field>
<field name="accountEmail" type="name"><description>Gmail Account for logging into Google Base</description></field>
<field name="accountPassword" type="name" encrypt="true"></field>
<field name="postItemsUrl" type="value"><description>All the items should be posted to this url</description></field>
<field name="webSiteId" type="id-ne"></field>
<prim-key field="productStoreId"/>
<relation type="one" fk-name="GBS_PROD_STORE" rel-entity-name="ProductStore">
<key-map field-name="productStoreId"/>
</relation>
<relation type="one" fk-name="GBS_WEBSITE" rel-entity-name="WebSite">
<key-map field-name="webSiteId"/>
</relation>
</entity>
</entitymodel>