Applied patch from Bruno Busco in Jira #OFBIZ-2172 with basics for VisualThemeSet; still not possible to change themes in ecommerce (should probably be supported on the back end instead of the front end, ie in the catalog manager and not by a customer in ecommerce, or perhaps only allowed in ecommerce if a flag on the ProductStore says its okay; also does not yet filter selectable themes in the back-end/manager applications

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743202 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
David E. Jones
2009-02-11 03:19:19 +00:00
parent 541e72feb5
commit b8707a26f8
10 changed files with 73 additions and 6 deletions
@@ -543,13 +543,26 @@ under the License.
<!-- org.ofbiz.common.theme -->
<!-- ============================ -->
<entity entity-name="VisualThemeSet"
package-name="org.ofbiz.common.theme"
title="Defines a set of Visual Themes">
<description>Groups toghether Visual Themes that can be used for one (or a set of) application.</description>
<field name="visualThemeSetId" type="id-ne"></field>
<field name="description" type="description"></field>
<prim-key field="visualThemeSetId"/>
</entity>
<entity entity-name="VisualTheme"
package-name="org.ofbiz.common.theme"
title="Defines a Visual Theme">
<description>The VisualTheme entity contains one entry per visual theme.</description>
<field name="visualThemeId" type="id-ne"></field>
<field name="visualThemeSetId" type="id"></field>
<field name="description" type="description"></field>
<prim-key field="visualThemeId"/>
<relation type="one" fk-name="VT_THEME_SET" rel-entity-name="VisualThemeSet">
<key-map field-name="visualThemeSetId"/>
</relation>
</entity>
<entity entity-name="VisualThemeResource"