You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by ta...@apache.org on 2004/02/03 22:28:11 UTC
cvs commit: jakarta-jetspeed-2/archives/castor old-profiler.properties portletdefinitionmapping.xml psml-mapping.xml registry-hsql-database.xml registry-mapping.xml registry-mysql-database.xml registry-xml-mapping.xml registry.xml
taylor 2004/02/03 13:28:11
Added: archives/castor old-profiler.properties
portletdefinitionmapping.xml psml-mapping.xml
registry-hsql-database.xml registry-mapping.xml
registry-mysql-database.xml
registry-xml-mapping.xml registry.xml
Log:
made backup of Castor mapping files
Revision Changes Path
1.1 jakarta-jetspeed-2/archives/castor/old-profiler.properties
Index: old-profiler.properties
===================================================================
# -------------------------------------------------------------------
# P R O F I L E R
# -------------------------------------------------------------------
services.Profiler.classname=org.apache.jetspeed.services.profiler.JetspeedProfilerService
# The default resource filename
services.Profiler.resource.default=default
# The default resource filename extension
services.Profiler.resource.ext=.psml
# When a new user is created, this account's psml is cloned to the new account psml
# Setting this account to nothing configures role-based psml as the default method for new users
services.Profiler.newuser.template=turbine
# Media types template to create for user. (comma separated)
services.Profiler.newuser.media_types=html,wml
#
# Profiler Fallback options
#
# use Role-based PSML fallback
services.Profiler.rolefallback=true
# Consider the language as part of the fallback?
services.Profiler.fallback.language=true
# Consider the country code as part of the fallback?
services.Profiler.fallback.country=true
# If resource is not found under mediatype, keep searching?
services.Profiler.fallback.to.root=false
#
# Profiler Role-based merge fallback options
#
# When rolefallback is true and rolemerge is true, new user's profile will
# be an aggregate of psml from each role the user is part of.
services.Profiler.rolemerge=false
# Controller to use in merged profile
services.Profiler.rolemerge.controller=TabController
# Control to use in merged profile
services.Profiler.rolemerge.control=TabControl
1.1 jakarta-jetspeed-2/archives/castor/portletdefinitionmapping.xml
Index: portletdefinitionmapping.xml
===================================================================
<?xml version="1.0"?>
<!DOCTYPE databases PUBLIC "-//EXOLAB/Castor Mapping DTD Version 1.0//EN"
"http://castor.exolab.org/mapping.dtd">
<mapping>
<class name="org.apache.jetspeed.om.impl.SecurityRoleRefImpl">
<!-- STW Test
<field name="description" type="java.lang.String">
<bind-xml name="description" node="element"/>
</field>
-->
<field name="roleName" type="java.lang.String" required="true">
<bind-xml name="role-name" node="element"/>
</field>
<field name="roleLink" type="java.lang.String">
<bind-xml name="role-link" node="element"/>
</field>
</class>
<!-- <class name="org.apache.jetspeed.om.common.ParameterImpl"> -->
<class name="org.apache.jetspeed.om.impl.PortletInitParameterImpl">
<field name="description" type="java.lang.String">
<bind-xml name="description" node="element"/>
</field>
<field name="name" type="java.lang.String" required="true">
<bind-xml name="name" node="element"/>
</field>
<field name="value" type="java.lang.String" required="true">
<bind-xml name="value" node="element"/>
</field>
</class>
<class name="org.apache.jetspeed.tools.castor.om.common.PreferenceDescriptor">
<field name="name" type="java.lang.String" required="true">
<bind-xml name="name" node="element"/>
</field>
<field name="castorValues" type="java.lang.String" collection="collection" required="true">
<bind-xml name="value" node="element"/>
</field>
<field name="readOnly" type="java.lang.Boolean">
<bind-xml name="modifiable" node="element"/>
</field>
</class>
<class name="org.apache.jetspeed.tools.castor.om.common.portlet.ContentTypeDescriptor">
<field name="contentType" type="java.lang.String">
<bind-xml name="mime-type" node="element"/>
</field>
<field name="castorPortletModes"
type="java.lang.String"
collection="collection">
<bind-xml name="portlet-mode" node="element"/>
</field>
</class>
<!--
<class name="org.apache.pluto.portalImpl.om.portlet.impl.PortletInfoImpl">
<field name="defaultInfo" type="org.apache.pluto.portalImpl.om.portlet.impl.LanguageImpl">
<bind-xml name="default-info" node="element"/>
</field>
</class>
-->
<class name="org.apache.jetspeed.tools.castor.om.common.PreferenceSetDescriptor">
<field name="castorPreferences" type="org.apache.jetspeed.tools.castor.om.common.PreferenceDescriptor" collection="collection">
<bind-xml name="preference" node="element"/>
</field>
<!--
<field name="preferencesValidator" type="java.lang.String">
<bind-xml name="preferences-validator" node="element"/>
</field>
-->
<field name="preferenceValidatorClassname" type="java.lang.String">
<bind-xml name="preferences-validator" node="element"/>
</field>
</class>
<class name="org.apache.jetspeed.tools.castor.om.common.LanguageSetDescriptor">
<field name="title" type="java.lang.String">
<bind-xml name="title" node="element"/>
</field>
<field name="shortTitle" type="java.lang.String">
<bind-xml name="short-title" node="element"/>
</field>
<field name="castorKeywords" type="java.lang.String">
<bind-xml name="keywords" node="element"/>
</field>
</class>
<class name="org.apache.jetspeed.tools.castor.om.common.portlet.PortletDefinitionDescriptor">
<field name="portletIdentifier" type="java.lang.String">
<bind-xml name="id" node="attribute"/>
</field>
<!--
<field name="description" type="java.lang.String">
<bind-xml name="description" node="element"/>
</field>
-->
<field name="name" type="java.lang.String">
<bind-xml name="portlet-name" node="element"/>
</field>
<field name="displayName" type="java.lang.String">
<bind-xml name="display-name" node="element"/>
</field>
<field name="className" type="java.lang.String">
<bind-xml name="portlet-class" node="element"/>
</field>
<field name="castorInitParams"
type="org.apache.jetspeed.om.impl.PortletInitParameterImpl"
collection="collection">
<bind-xml name="init-param" node="element"/>
</field>
<field name="expirationCache" type="java.lang.String">
<bind-xml name="expiration-cache" node="element"/>
</field>
<field name="castorContentTypes"
type="org.apache.jetspeed.tools.castor.om.common.portlet.ContentTypeDescriptor"
collection="collection">
<bind-xml name="supports" node="element"/>
</field>
<field name="castorSupportedLocales" type="java.lang.String" collection="collection">
<bind-xml name="supported-locale" node="element"/>
</field>
<field name="resourceBundle" type="java.lang.String">
<bind-xml name="resource-bundle" node="element"/>
</field>
<field name="castorResources" type="org.apache.jetspeed.tools.castor.om.common.LanguageSetDescriptor">
<bind-xml name="portlet-info" node="element"/>
</field>
<field name="castorPreferences"
type="org.apache.jetspeed.tools.castor.om.common.PreferenceSetDescriptor">
<bind-xml name="portlet-preferences" node="element"/>
</field>
<field name="castorInitSecurityRoleRefs"
type="org.apache.jetspeed.om.impl.SecurityRoleRefImpl"
collection="collection">
<bind-xml name="security-role-ref" node="element"/>
</field>
</class>
<class name="org.apache.jetspeed.om.portlet.impl.PortletApplicationDefinitionImpl">
<map-to xml="portlet-app"/>
<field name="version" type="java.lang.String">
<bind-xml name="version" node="attribute"/>
</field>
<field name="applicationIdentifier" type="java.lang.String">
<bind-xml name="id" node="attribute"/>
</field>
<field name="portletDefinitions"
type="org.apache.jetspeed.tools.castor.om.common.portlet.PortletDefinitionDescriptor"
collection="collection">
<bind-xml name="portlet" node="element"/>
</field>
<!--
TODO: implement these
<field name="customPortletMode" type="java.lang.String" collection="collection">
<bind-xml name="custom-portlet-mode" node="element"/>
</field>
<field name="customPortletState" type="java.lang.String" collection="collection">
<bind-xml name="custom-window-state" node="element"/>
</field>
<field name="userAttribute" type="java.lang.String" collection="collection">
<bind-xml name="user-attribute" node="element"/>
</field>
<field name="securityConstraint" type="java.lang.String" collection="collection">
<bind-xml name="security-constraint" node="element"/>
</field>
-->
</class>
</mapping>
1.1 jakarta-jetspeed-2/archives/castor/psml-mapping.xml
Index: psml-mapping.xml
===================================================================
<?xml version="1.0"?>
<mapping>
<class name="org.apache.jetspeed.om.profile.psml.PsmlPortlets">
<map-to xml="portlets"/>
<field name="id" type="java.lang.String">
<bind-xml name="id" node="attribute"/>
</field>
<field name="name" type="java.lang.String">
<bind-xml name="name" node="attribute"/>
</field>
<field name="metaInfo"
type="org.apache.jetspeed.om.profile.psml.PsmlMetaInfo">
<bind-xml name="metainfo"/>
</field>
<field name="security"
type="org.apache.jetspeed.om.profile.psml.PsmlSecurity">
<bind-xml name="security"/>
</field>
<field name="securityRef" type="org.apache.jetspeed.om.BaseSecurityReference">
<bind-xml name="security-ref"/>
</field>
<field name="skin"
type="org.apache.jetspeed.om.profile.psml.PsmlSkin">
<bind-xml name="skin"/>
</field>
<field name="layout"
type="org.apache.jetspeed.om.profile.psml.PsmlLayout">
<bind-xml name="layout"/>
</field>
<field name="control"
type="org.apache.jetspeed.om.profile.psml.PsmlControl">
<bind-xml name="control"/>
</field>
<field name="controller"
type="org.apache.jetspeed.om.profile.psml.PsmlController">
<bind-xml name="controller"/>
</field>
<field name="parameters"
type="org.apache.jetspeed.om.profile.psml.PsmlParameter"
collection="vector">
<bind-xml name="parameter"/>
</field>
<field name="entries"
type="org.apache.jetspeed.om.profile.psml.PsmlEntry"
collection="vector">
<bind-xml name="entry"/>
</field>
<field name="portlets"
type="org.apache.jetspeed.om.profile.psml.PsmlPortlets"
set-method="addPortlets"
get-method="getPortlets"
collection="vector">
<bind-xml name="portlets"/>
</field>
<field name="references"
type="org.apache.jetspeed.om.profile.psml.PsmlReference"
set-method="addReference"
get-method="getReferences"
collection="vector">
<bind-xml name="reference"/>
</field>
</class>
<class name="org.apache.jetspeed.om.profile.psml.PsmlEntry">
<map-to xml="entry"/>
<field name="id" type="java.lang.String">
<bind-xml name="id" node="attribute"/>
</field>
<field name="name" type="java.lang.String">
<bind-xml name="name" node="attribute"/>
</field>
<field name="parent" type="java.lang.String">
<bind-xml name="parent" node="attribute"/>
</field>
<field name="metaInfo"
type="org.apache.jetspeed.om.profile.psml.PsmlMetaInfo">
<bind-xml name="metainfo"/>
</field>
<field name="securityRef" type="org.apache.jetspeed.om.BaseSecurityReference">
<bind-xml name="security-ref"/>
</field>
<field name="skin"
type="org.apache.jetspeed.om.profile.psml.PsmlSkin">
<bind-xml name="skin"/>
</field>
<field name="layout"
type="org.apache.jetspeed.om.profile.psml.PsmlLayout">
<bind-xml name="layout"/>
</field>
<field name="control"
type="org.apache.jetspeed.om.profile.psml.PsmlControl">
<bind-xml name="control"/>
</field>
<field name="parameters"
type="org.apache.jetspeed.om.profile.psml.PsmlParameter"
collection="vector">
<bind-xml name="parameter"/>
</field>
</class>
<class name="org.apache.jetspeed.om.profile.psml.PsmlSecurity">
<map-to xml="security"/>
<field name="id" type="java.lang.String">
<bind-xml name="id" node="attribute"/>
</field>
</class>
<class name="org.apache.jetspeed.om.profile.psml.PsmlParameter">
<map-to xml="parameter"/>
<field name="name" type="java.lang.String">
<bind-xml name="name" node="attribute"/>
</field>
<field name="value" type="java.lang.String">
<bind-xml name="value" node="attribute"/>
</field>
<field name="securityRef" type="org.apache.jetspeed.om.BaseSecurityReference">
<bind-xml name="security-ref"/>
</field>
</class>
<class name="org.apache.jetspeed.om.profile.psml.PsmlSkin">
<map-to xml="skin"/>
<field name="name" type="java.lang.String">
<bind-xml name="name" node="attribute"/>
</field>
<field name="state" type="java.lang.String">
<bind-xml name="state" node="attribute"/>
</field>
<field name="parameters"
type="org.apache.jetspeed.om.profile.psml.PsmlParameter"
collection="vector">
<bind-xml name="property"/>
</field>
</class>
<class name="org.apache.jetspeed.om.profile.psml.PsmlLayout">
<map-to xml="layout"/>
<field name="name" type="java.lang.String">
<bind-xml name="name" node="attribute"/>
</field>
<field name="position" type="long">
<bind-xml name="position" node="attribute"/>
</field>
<field name="size" type="long">
<bind-xml name="size" node="attribute"/>
</field>
<field name="parameters"
type="org.apache.jetspeed.om.profile.psml.PsmlParameter"
collection="vector">
<bind-xml name="property"/>
</field>
</class>
<class name="org.apache.jetspeed.om.profile.psml.PsmlControl">
<map-to xml="control"/>
<field name="name" type="java.lang.String">
<bind-xml name="name" node="attribute"/>
</field>
<field name="parameters"
type="org.apache.jetspeed.om.profile.psml.PsmlParameter"
collection="vector">
<bind-xml name="property"/>
</field>
</class>
<class name="org.apache.jetspeed.om.profile.psml.PsmlController">
<map-to xml="controller"/>
<field name="name" type="java.lang.String">
<bind-xml name="name" node="attribute"/>
</field>
<field name="parameters"
type="org.apache.jetspeed.om.profile.psml.PsmlParameter"
collection="vector">
<bind-xml name="property"/>
</field>
</class>
<class name="org.apache.jetspeed.om.profile.psml.PsmlReference">
<map-to xml="reference"/>
<field name="id" type="java.lang.String">
<bind-xml name="id" node="attribute"/>
</field>
<field name="name" type="java.lang.String">
<bind-xml name="name" node="attribute"/>
</field>
<field name="path" type="java.lang.String">
<bind-xml name="path" node="attribute"/>
</field>
<field name="skin"
type="org.apache.jetspeed.om.profile.psml.PsmlSkin">
<bind-xml name="skin"/>
</field>
<field name="layout"
type="org.apache.jetspeed.om.profile.psml.PsmlLayout">
<bind-xml name="layout"/>
</field>
<field name="metaInfo"
type="org.apache.jetspeed.om.profile.psml.PsmlMetaInfo">
<bind-xml name="metainfo"/>
</field>
<field name="securityRef" type="org.apache.jetspeed.om.BaseSecurityReference">
<bind-xml name="security-ref"/>
</field>
<field name="security"
type="org.apache.jetspeed.om.profile.psml.PsmlSecurity">
<bind-xml name="security"/>
</field>
</class>
<class name="org.apache.jetspeed.om.BaseSecurityReference">
<map-to xml="security-ref"/>
<field name="parent" type="java.lang.String">
<bind-xml name="parent" node="attribute"/>
</field>
</class>
</mapping>
1.1 jakarta-jetspeed-2/archives/castor/registry-hsql-database.xml
Index: registry-hsql-database.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<database name="registry" engine="hsql">
<driver url="jdbc:hsqldb:/WEB-INF/db/hsql/Registry"
class-name="org.hsqldb.jdbcDriver">
<param name="user" value="sa" />
<param name="password" value="" />
</driver>
<mapping href="registry-mapping.xml"/>
</database>
1.1 jakarta-jetspeed-2/archives/castor/registry-mapping.xml
Index: registry-mapping.xml
===================================================================
<?xml version='1.0'?>
<!-- Currently this is a place holder -->
<schema>
<class name="org.apache.jetspeed.om.common.impl.CastorJdoApplication"
identity="applicationId"
key-generator="MAX">
<map-to table="application"/>
<field name="applicationId" type="long">
<sql name="application_id" />
</field>
<field name="name" type="string">
<sql name="app_name" type="char"/>
</field>
<field name="version" type="string">
<sql name="version" type="char"/>
</field>
<field name="url" type="string">
<sql name="url" type="char"/>
</field>
</class>
<class name="org.apache.jetspeed.om.common.impl.CastorJdoPortletEntity"
identity="portletId"
key-generator="MAX">
<map-to table="portlet"/>
<field name="application"
type="org.apache.jetspeed.om.common.impl.CastorJdoApplication"
required="true">
<sql name="application_id"/>
</field>
<field name="portletId" type="long">
<sql name="portlet_id"/>
</field>
<field name="applicationId" type="long">
<sql name="application_id"/>
</field>
<field name="name" type="string">
<sql name="portlet_name" type="char"/>
</field>
<field name="expirationCache" type="long">
<sql name="cache_lifetime" type="integer"/>
</field>
<field name="id" type="string">
<sql name="id" type="char"/>
</field>
<field name="portletClass" type="string">
<sql name="classname" type="char"/>
</field>
<field name="descriptions"
type="org.apache.jetspeed.om.common.impl.CastorJdoPortletDescription"
get-method="getDescriptionArray"
set-method="setDescriptionArray"
collection="arraylist">
<sql many-key="portlet_id"/>
</field>
<field name="preferences"
type="org.apache.jetspeed.om.common.impl.CastorJdoPortletPreference"
get-method="getPreferenceArray"
set-method="setPreferenceArray"
collection="arraylist">
<sql many-key="portlet_id"/>
</field>
<field name="initParameters"
type="org.apache.jetspeed.om.common.impl.CastorJdoPortletInitParameter"
get-method="getInitParameterArray"
set-method="setInitParameterArray"
collection="arraylist">
<sql many-key="portlet_id"/>
</field>
</class>
<class name="org.apache.jetspeed.om.common.impl.CastorJdoPortletDescription"
identity="descriptionId"
key-generator="MAX"
depends="org.apache.jetspeed.om.common.impl.CastorJdoPortletEntity">
<map-to table="portlet_description"/>
<field name="portlet"
type="org.apache.jetspeed.om.common.impl.CastorJdoPortletEntity"
required="true">
<sql name="portlet_id"/>
</field>
<field name="descriptionId" type="long">
<sql name="description_id"/>
</field>
<field name="portletId" type="long">
<sql name="portlet_id"/>
</field>
<field name="language" type="string">
<sql name="language" type="char"/>
</field>
<field name="description" type="string">
<sql name="description" type="char"/>
</field>
</class>
<class name="org.apache.jetspeed.om.common.impl.CastorJdoPortletPreference"
identity="preferenceId"
key-generator="MAX"
depends="org.apache.jetspeed.om.common.impl.CastorJdoPortletEntity">
<map-to table="portlet_preference"/>
<field name="portlet"
type="org.apache.jetspeed.om.common.impl.CastorJdoPortletEntity"
required="true">
<sql name="portlet_id"/>
</field>
<field name="preferenceId" type="long">
<sql name="preference_id"/>
</field>
<field name="portletId" type="long">
<sql name="portlet_id"/>
</field>
<field name="name" type="string">
<sql name="name" type="char"/>
</field>
<field name="id" type="string">
<sql name="id" type="char"/>
</field>
<field name="modifiable" type="boolean">
<sql name="modifiable" type="integer"/>
</field>
<field name="descriptions"
type="org.apache.jetspeed.om.common.impl.CastorJdoPortletPrefDesc"
get-method="getDescriptionArray"
set-method="setDescriptionArray"
collection="arraylist">
<sql many-key="preference_id"/>
</field>
<field name="values"
type="org.apache.jetspeed.om.common.impl.CastorJdoPortletPrefValue"
get-method="getValueArray"
set-method="setValueArray"
collection="arraylist">
<sql many-key="preference_id"/>
</field>
</class>
<class name="org.apache.jetspeed.om.common.impl.CastorJdoPortletPrefDesc"
identity="prefDescId"
key-generator="MAX"
depends="org.apache.jetspeed.om.common.impl.CastorJdoPortletPreference">
<map-to table="portlet_pref_desc"/>
<field name="portletPreference"
type="org.apache.jetspeed.om.common.impl.CastorJdoPortletPreference"
required="true">
<sql name="preference_id"/>
</field>
<field name="prefDescId" type="long">
<sql name="pref_desc_id"/>
</field>
<field name="preferenceId" type="long">
<sql name="preference_id"/>
</field>
<field name="language" type="string">
<sql name="language" type="char"/>
</field>
<field name="description" type="string">
<sql name="description" type="char"/>
</field>
</class>
<class name="org.apache.jetspeed.om.common.impl.CastorJdoPortletPrefValue"
identity="prefValueId"
key-generator="MAX"
depends="org.apache.jetspeed.om.common.impl.CastorJdoPortletPreference">
<map-to table="portlet_pref_value"/>
<field name="portletPreference"
type="org.apache.jetspeed.om.common.impl.CastorJdoPortletPreference"
required="true">
<sql name="preference_id"/>
</field>
<field name="prefValueId" type="long">
<sql name="pref_value_id"/>
</field>
<field name="preferenceId" type="long">
<sql name="preference_id"/>
</field>
<field name="prefValue" type="string">
<sql name="pref_value" type="char"/>
</field>
</class>
<class name="org.apache.jetspeed.om.common.impl.CastorJdoPortletInitParameter"
identity="initParameterId"
key-generator="MAX"
depends="org.apache.jetspeed.om.common.impl.CastorJdoPortletEntity">
<map-to table="portlet_init_param"/>
<field name="portlet"
type="org.apache.jetspeed.om.common.impl.CastorJdoPortletEntity"
required="true">
<sql name="portlet_id"/>
</field>
<field name="initParameterId" type="long">
<sql name="init_param_id"/>
</field>
<field name="portletId" type="long">
<sql name="portlet_id"/>
</field>
<field name="name" type="string">
<sql name="name" type="char"/>
</field>
<field name="id" type="string">
<sql name="id" type="char"/>
</field>
<field name="value" type="string">
<sql name="param_value" type="char"/>
</field>
<!--
<field name="" type="boolean">
<sql name="modifiable" type="integer"/>
</field>
<field name="descriptions"
type="org.apache.jetspeed.om.common.impl.CastorJdoPortletPrefDesc"
get-method="getDescriptionArray"
set-method="setDescriptionArray"
collection="arraylist">
<sql many-key="preference_id"/>
</field>
<field name="values"
type="org.apache.jetspeed.om.common.impl.CastorJdoPortletPrefValue"
get-method="getValueArray"
set-method="setValueArray"
collection="arraylist">
<sql many-key="preference_id"/>
</field>
-->
</class>
</schema>
1.1 jakarta-jetspeed-2/archives/castor/registry-mysql-database.xml
Index: registry-mysql-database.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<database name="registry" engine="mysql">
<driver url="jdbc:mysql://localhost/js2"
class-name="com.mysql.jdbc.Driver"/>
<mapping href="registry-mapping.xml"/>
</database>
1.1 jakarta-jetspeed-2/archives/castor/registry-xml-mapping.xml
Index: registry-xml-mapping.xml
===================================================================
<?xml version="1.0"?>
<mapping>
<class name="org.apache.jetspeed.om.common.impl.CastorJdoApplication">
<map-to xml="portlet-app"/>
<field name="name" type="string">
<bind-xml name="id" node="attribute"/>
</field>
<field name="version" type="java.lang.String">
<bind-xml name="version" node="attribute"/>
</field>
<field name="portlets"
type="org.apache.jetspeed.om.common.impl.CastorJdoPortletEntity"
get-method="getPortletsByXML"
collection="arraylist">
<bind-xml name="portlet"/>
</field>
</class>
<class name="org.apache.jetspeed.om.common.impl.CastorJdoPortletEntity">
<map-to xml="portlet"/>
<field name="id" type="string">
<bind-xml name="id" node="attribute"/>
</field>
<field name="name" type="string">
<bind-xml name="portlet-name" node="element"/>
</field>
<field name="portletClass" type="string">
<bind-xml name="portlet-class" node="element"/>
</field>
<field name="expirationCache" type="long">
<bind-xml name="expiration-cache" node="element"/>
</field>
<field name="displayNames"
type="org.apache.jetspeed.om.common.base.BaseDisplayName"
collection="array">
<bind-xml name="display-name"/>
</field>
<field name="supports"
type="org.apache.jetspeed.om.common.base.BaseSupport"
collection="array">
<bind-xml name="supports"/>
</field>
<field name="portletInfo"
type="org.apache.jetspeed.om.common.base.BasePortletInfo" >
<bind-xml name="portlet-info"/>
</field>
<field name="initParameters"
type="org.apache.jetspeed.om.common.impl.CastorJdoPortletInitParameter"
collection="array">
<bind-xml name="init-param"/>
</field>
</class>
<class name="org.apache.jetspeed.om.common.base.BaseDisplayName">
<map-to xml="display-name"/>
<field name="name" type="string">
<bind-xml name="display-name" node="text"/>
</field>
<field name="language" type="string">
<bind-xml name="lang" node="attribute"/>
</field>
</class>
<class name="org.apache.jetspeed.om.common.base.BaseSupport">
<map-to xml="supports"/>
<field name="id" type="string">
<bind-xml name="id" node="attribute"/>
</field>
<field name="MimeType" type="string">
<bind-xml name="mime-type" node="element"/>
</field>
<field name="PortletMode" type="string" collection="array">
<bind-xml name="portlet-mode" node="element"/>
</field>
</class>
<class name="org.apache.jetspeed.om.common.base.BasePortletInfo">
<map-to xml="portletInfo"/>
<field name="id" type="string">
<bind-xml name="id" node="element"/>
</field>
<field name="title" type="string">
<bind-xml name="title" node="element"/>
</field>
<field name="shortTitle" type="string">
<bind-xml name="short-title" node="element"/>
</field>
<field name="keywords" type="string">
<bind-xml name="keywords" node="element"/>
</field>
<field name="resourceBundle" type="string">
<bind-xml name="resource-bundle" node="element"/>
</field>
</class>
<class name="org.apache.jetspeed.om.common.impl.CastorJdoPortletDescription">
<map-to xml="description"/>
<field name="description" type="string">
<bind-xml name="description" node="text"/>
</field>
<field name="language" type="string">
<bind-xml name="lang" node="attribute"/>
</field>
</class>
<class name="org.apache.jetspeed.om.common.impl.CastorJdoPortletInitParameter">
<map-to xml="initParameters"/>
<field name="id" type="string">
<bind-xml name="id" node="element"/>
</field>
<field name="name" type="string">
<bind-xml name="name" node="element"/>
</field>
<field name="value" type="string">
<bind-xml name="value" node="element"/>
</field>
<field name="descriptions"
type="org.apache.jetspeed.om.common.impl.CastorJdoPortletDescription"
collection="array">
<bind-xml name="description"/>
</field>
</class>
</mapping>
1.1 jakarta-jetspeed-2/archives/castor/registry.xml
Index: registry.xml
===================================================================
<?xml version="1.0"?>
<mapping>
<class name="org.apache.jetspeed.services.registry.impl.RegistryFragment">
<map-to xml="registry"/>
<field name="portlets"
type="org.apache.jetspeed.om.registry.base.BasePortletEntry"
collection="vector">
<bind-xml name="portlet-entry"/>
</field>
<field name="controls"
type="org.apache.jetspeed.om.registry.base.BasePortletControlEntry"
collection="vector">
<bind-xml name="portlet-control-entry"/>
</field>
<field name="controllers"
type="org.apache.jetspeed.om.registry.base.BasePortletControllerEntry"
collection="vector">
<bind-xml name="portlet-controller-entry"/>
</field>
<field name="medias"
type="org.apache.jetspeed.om.registry.base.BaseMediaTypeEntry"
collection="vector">
<bind-xml name="media-type-entry"/>
</field>
<field name="skins"
type="org.apache.jetspeed.om.registry.base.BaseSkinEntry"
collection="vector">
<bind-xml name="skin-entry"/>
</field>
<field name="securityEntries"
type="org.apache.jetspeed.om.registry.base.BaseSecurityEntry"
collection="vector">
<bind-xml name="security-entry"/>
</field>
<field name="clients"
type="org.apache.jetspeed.om.registry.base.BaseClientEntry"
collection="vector">
<bind-xml name="client-entry"/>
</field>
</class>
<class name="org.apache.jetspeed.om.registry.base.BasePortletEntry">
<map-to xml="portlet-entry"/>
<field name="name" type="java.lang.String">
<bind-xml name="name" node="attribute"/>
</field>
<field name="hidden" type="boolean">
<bind-xml name="hidden" node="attribute"/>
</field>
<field name="baseSecurity"
type="org.apache.jetspeed.om.registry.base.BaseSecurity">
<bind-xml name="security"/>
</field>
<field name="securityRef" type="org.apache.jetspeed.om.BaseSecurityReference">
<bind-xml name="security-ref"/>
</field>
<field name="baseMetaInfo"
type="org.apache.jetspeed.om.registry.base.BaseMetaInfo">
<bind-xml name="meta-info"/>
</field>
<field name="classname" type="java.lang.String">
<bind-xml name="classname" node="element"/>
</field>
<field name="tools"
type="org.apache.jetspeed.om.registry.base.BaseToolDescriptor"
collection="vector">
<bind-xml name="tool"/>
</field>
<field name="parameters"
type="org.apache.jetspeed.om.registry.base.BaseCachedParameter"
collection="vector">
<bind-xml name="parameter"/>
</field>
<field name="mediaTypes"
type="org.apache.jetspeed.om.registry.base.BaseMediaType"
collection="vector">
<bind-xml name="media-type"/>
</field>
<field name="type" type="java.lang.String">
<bind-xml name="type" node="attribute"/>
</field>
<field name="parent" type="java.lang.String">
<bind-xml name="parent" node="attribute"/>
</field>
<!--
<field name="application" type="boolean">
<bind-xml name="application" node="attribute"/>
</field>
-->
<field name="contentURL" type="org.apache.jetspeed.om.registry.base.BaseContentURL">
<bind-xml name="url" node="element"/>
</field>
<field name="categories" type="org.apache.jetspeed.om.registry.base.BaseCategory"
collection="vector">
<bind-xml name="category" node="element"/>
</field>
</class>
<class name="org.apache.jetspeed.om.registry.base.BasePortletControlEntry">
<map-to xml="portlet-control-entry"/>
<field name="name" type="java.lang.String">
<bind-xml name="name" node="attribute"/>
</field>
<field name="hidden" type="boolean">
<bind-xml name="hidden" node="attribute"/>
</field>
<field name="baseSecurity"
type="org.apache.jetspeed.om.registry.base.BaseSecurity">
<bind-xml name="security"/>
</field>
<field name="securityRef" type="org.apache.jetspeed.om.BaseSecurityReference">
<bind-xml name="security-ref"/>
</field>
<field name="baseMetaInfo"
type="org.apache.jetspeed.om.registry.base.BaseMetaInfo">
<bind-xml name="meta-info"/>
</field>
<field name="classname" type="java.lang.String">
<bind-xml name="classname" node="element"/>
</field>
<field name="parameters"
type="org.apache.jetspeed.om.registry.base.BaseParameter"
collection="vector">
<bind-xml name="parameter"/>
</field>
<field name="mediaTypes"
type="org.apache.jetspeed.om.registry.base.BaseMediaType"
collection="vector">
<bind-xml name="media-type"/>
</field>
</class>
<class name="org.apache.jetspeed.om.registry.base.BasePortletControllerEntry">
<map-to xml="portlet-controller-entry"/>
<field name="name" type="java.lang.String">
<bind-xml name="name" node="attribute"/>
</field>
<field name="hidden" type="boolean">
<bind-xml name="hidden" node="attribute"/>
</field>
<field name="baseSecurity"
type="org.apache.jetspeed.om.registry.base.BaseSecurity">
<bind-xml name="security"/>
</field>
<field name="securityRef" type="org.apache.jetspeed.om.BaseSecurityReference">
<bind-xml name="security-ref"/>
</field>
<field name="baseMetaInfo"
type="org.apache.jetspeed.om.registry.base.BaseMetaInfo">
<bind-xml name="meta-info"/>
</field>
<field name="classname" type="java.lang.String">
<bind-xml name="classname" node="element"/>
</field>
<field name="parameters"
type="org.apache.jetspeed.om.registry.base.BaseParameter"
collection="vector">
<bind-xml name="parameter"/>
</field>
<field name="mediaTypes"
type="org.apache.jetspeed.om.registry.base.BaseMediaType"
collection="vector">
<bind-xml name="media-type"/>
</field>
</class>
<class name="org.apache.jetspeed.om.registry.base.BaseMediaTypeEntry">
<map-to xml="media-type-entry"/>
<field name="name" type="java.lang.String">
<bind-xml name="name" node="attribute"/>
</field>
<field name="hidden" type="boolean">
<bind-xml name="hidden" node="attribute"/>
</field>
<field name="baseSecurity"
type="org.apache.jetspeed.om.registry.base.BaseSecurity">
<bind-xml name="security"/>
</field>
<field name="securityRef" type="org.apache.jetspeed.om.BaseSecurityReference">
<bind-xml name="security-ref"/>
</field>
<field name="baseMetaInfo"
type="org.apache.jetspeed.om.registry.base.BaseMetaInfo">
<bind-xml name="meta-info"/>
</field>
<field name="mimeType" type="java.lang.String">
<bind-xml name="mime-type" node="element"/>
</field>
<field name="characterSet" type="java.lang.String">
<bind-xml name="character-set" node="element"/>
</field>
<field name="capabilities"
type="org.apache.jetspeed.om.registry.base.BaseCapabilityMap">
<bind-xml name="capability-map" node="element"/>
</field>
</class>
<class name="org.apache.jetspeed.om.registry.base.BaseSkinEntry">
<map-to xml="skin-entry"/>
<field name="name" type="java.lang.String">
<bind-xml name="name" node="attribute"/>
</field>
<field name="hidden" type="boolean">
<bind-xml name="hidden" node="attribute"/>
</field>
<field name="baseSecurity"
type="org.apache.jetspeed.om.registry.base.BaseSecurity">
<bind-xml name="security"/>
</field>
<field name="securityRef" type="org.apache.jetspeed.om.BaseSecurityReference">
<bind-xml name="security-ref"/>
</field>
<field name="baseMetaInfo"
type="org.apache.jetspeed.om.registry.base.BaseMetaInfo">
<bind-xml name="meta-info"/>
</field>
<field name="parameters"
type="org.apache.jetspeed.om.registry.base.BaseParameter"
collection="vector">
<bind-xml name="property"/>
</field>
</class>
<class name="org.apache.jetspeed.om.registry.base.BaseMetaInfo">
<map-to xml="meta-info"/>
<field name="title" type="java.lang.String">
<bind-xml name="title" node="element"/>
</field>
<field name="description" type="java.lang.String">
<bind-xml name="description" node="element"/>
</field>
<field name="image" type="java.lang.String">
<bind-xml name="image" node="element"/>
</field>
</class>
<class name="org.apache.jetspeed.om.registry.base.BaseToolDescriptor">
<map-to xml="tool"/>
<field name="name" type="java.lang.String">
<bind-xml name="name" node="element"/>
</field>
<field name="scope" type="java.lang.String">
<bind-xml name="scope" node="element"/>
</field>
<field name="classname" type="java.lang.String">
<bind-xml name="classname" node="element"/>
</field>
</class>
<class name="org.apache.jetspeed.om.registry.base.BaseSecurity">
<map-to xml="security"/>
<field name="role" type="java.lang.String">
<bind-xml name="role" node="attribute"/>
</field>
</class>
<class name="org.apache.jetspeed.om.registry.base.BaseMediaType">
<map-to xml="media-type"/>
<field name="ref" type="java.lang.String">
<bind-xml name="ref" node="attribute"/>
</field>
</class>
<class name="org.apache.jetspeed.om.registry.base.BaseParameter">
<map-to xml="parameter"/>
<field name="name" type="java.lang.String">
<bind-xml name="name" node="attribute"/>
</field>
<field name="value" type="java.lang.String">
<bind-xml name="value" node="attribute"/>
</field>
<field name="type" type="java.lang.String">
<bind-xml name="type" node="attribute"/>
</field>
<field name="hidden" type="boolean">
<bind-xml name="hidden" node="attribute"/>
</field>
<field name="baseSecurity"
type="org.apache.jetspeed.om.registry.base.BaseSecurity">
<bind-xml name="security"/>
</field>
<field name="securityRef" type="org.apache.jetspeed.om.BaseSecurityReference">
<bind-xml name="security-ref"/>
</field>
<field name="baseMetaInfo"
type="org.apache.jetspeed.om.registry.base.BaseMetaInfo">
<bind-xml name="meta-info"/>
</field>
</class>
<class name="org.apache.jetspeed.om.registry.base.BaseCachedParameter">
<map-to xml="parameter"/>
<field name="name" type="java.lang.String">
<bind-xml name="name" node="attribute"/>
</field>
<field name="value" type="java.lang.String">
<bind-xml name="value" node="attribute"/>
</field>
<field name="type" type="java.lang.String">
<bind-xml name="type" node="attribute"/>
</field>
<field name="hidden" type="boolean">
<bind-xml name="hidden" node="attribute"/>
</field>
<field name="baseSecurity"
type="org.apache.jetspeed.om.registry.base.BaseSecurity">
<bind-xml name="security"/>
</field>
<field name="securityRef" type="org.apache.jetspeed.om.BaseSecurityReference">
<bind-xml name="security-ref"/>
</field>
<field name="baseMetaInfo"
type="org.apache.jetspeed.om.registry.base.BaseMetaInfo">
<bind-xml name="meta-info"/>
</field>
<field name="cachedOnName" type="boolean">
<bind-xml name="cachedOnName" node="attribute"/>
</field>
<field name="cachedOnValue" type="boolean">
<bind-xml name="cachedOnValue" node="attribute"/>
</field>
</class>
<class name="org.apache.jetspeed.om.registry.base.BaseContentURL">
<map-to xml="url"/>
<field name="URL" type="java.lang.String">
<bind-xml name="url" node="text"/>
</field>
<field name="cachedOnURL" type="boolean">
<bind-xml name="cachedOnURL" node="attribute"/>
</field>
</class>
<class name="org.apache.jetspeed.om.registry.base.BaseCategory">
<map-to xml="category"/>
<field name="name" type="java.lang.String">
<bind-xml name="category" node="text"/>
</field>
<field name="group" type="java.lang.String">
<bind-xml name="group" node="attribute"/>
</field>
</class>
<class name="org.apache.jetspeed.om.registry.base.BaseSecurityEntry">
<map-to xml="security-entry"/>
<field name="name" type="java.lang.String">
<bind-xml name="name" node="attribute"/>
</field>
<field name="securityRef" type="org.apache.jetspeed.om.BaseSecurityReference">
<bind-xml name="security-ref"/>
</field>
<field name="baseMetaInfo"
type="org.apache.jetspeed.om.registry.base.BaseMetaInfo">
<bind-xml name="meta-info"/>
</field>
<field name="accesses"
type="org.apache.jetspeed.om.registry.base.BaseSecurityAccess"
collection="vector">
<bind-xml name="access"/>
</field>
</class>
<class name="org.apache.jetspeed.om.registry.base.BaseSecurityAccess">
<map-to xml="access"/>
<field name="action" type="java.lang.String">
<bind-xml name="action" node="attribute"/>
</field>
<field name="allows"
collection="vector">
<bind-xml name="allow-if"/>
</field>
<field name="ownerAllows"
collection="vector">
<bind-xml name="allow-if-owner"/>
</field>
</class>
<class name="org.apache.jetspeed.om.registry.base.BaseSecurityAllow">
<map-to xml="allow-if"/>
<field name="role" type="java.lang.String">
<bind-xml name="role" node="attribute"/>
</field>
<field name="user" type="java.lang.String">
<bind-xml name="user" node="attribute"/>
</field>
</class>
<class name="org.apache.jetspeed.om.registry.base.BaseSecurityAllowOwner">
<map-to xml="allow-if-owner"/>
</class>
<class name="org.apache.jetspeed.om.BaseSecurityReference">
<map-to xml="security-ref"/>
<field name="parent" type="java.lang.String">
<bind-xml name="parent" node="attribute"/>
</field>
</class>
<!-- Class mapping for the Client Registry definition -->
<class name="org.apache.jetspeed.om.registry.base.BaseClientEntry">
<map-to xml="client-entry"/>
<field name="name" type="java.lang.String">
<bind-xml name="name" node="attribute"/>
</field>
<field name="hidden" type="boolean">
<bind-xml name="hidden" node="attribute"/>
</field>
<field name="baseSecurity"
type="org.apache.jetspeed.om.registry.base.BaseSecurity">
<bind-xml name="security"/>
</field>
<field name="securityRef" type="org.apache.jetspeed.om.BaseSecurityReference">
<bind-xml name="security-ref"/>
</field>
<field name="baseMetaInfo"
type="org.apache.jetspeed.om.registry.base.BaseMetaInfo">
<bind-xml name="meta-info"/>
</field>
<field name="useragentpattern" type="java.lang.String">
<bind-xml name="user-agent-pattern" node="element"/>
</field>
<field name="manufacturer" type="java.lang.String">
<bind-xml name="manufacturer" node="element"/>
</field>
<field name="model" type="java.lang.String">
<bind-xml name="model" node="element"/>
</field>
<field name="version" type="java.lang.String">
<bind-xml name="version" node="element"/>
</field>
<field name="mimetypes"
type="org.apache.jetspeed.om.registry.base.BaseMimetypeMap">
<bind-xml name="mimetype-map" node="element"/>
</field>
<field name="capabilities"
type="org.apache.jetspeed.om.registry.base.BaseCapabilityMap">
<bind-xml name="capability-map" node="element"/>
</field>
</class>
<class name="org.apache.jetspeed.om.registry.base.BaseMimetypeMap">
<map-to xml="mimetype-map"/>
<field name="mimetypesVector"
type="java.lang.String"
collection="vector">
<bind-xml name="mimetype" node="element"/>
</field>
</class>
<class name="org.apache.jetspeed.om.registry.base.BaseCapabilityMap">
<map-to xml="capability-map"/>
<field name="caps"
type="java.lang.String"
collection="vector">
<bind-xml name="capability" node="element"/>
</field>
</class>
</mapping>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org