blob: 25a197a2f07673abe94dd64464106912c460b83b [file] [log] [blame]
<?xml version="1.0"?>
<!DOCTYPE databases PUBLIC "-//EXOLAB/Castor Mapping DTD Version 1.0//EN"
"http://castor.exolab.org/mapping.dtd">
<mapping xmlns:portlet="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
<class name="org.apache.cocoon.portal.pluto.om.common.DisplayNameImpl">
<field name="displayName" type="java.lang.String">
<bind-xml node="text"/>
</field>
<field name="castorLocale" type="java.lang.String">
<bind-xml name="xml:lang" node="attribute"/>
</field>
</class>
<class name="org.apache.cocoon.portal.pluto.om.common.DescriptionImpl">
<field name="description" type="java.lang.String">
<bind-xml node="text"/>
</field>
<field name="castorLocale" type="java.lang.String">
<bind-xml name="xml:lang" node="attribute"/>
</field>
</class>
<class name="org.apache.cocoon.portal.pluto.om.common.SecurityRoleRefImpl">
<field name="castorDescriptions"
type="org.apache.cocoon.portal.pluto.om.common.DescriptionImpl"
collection="collection">
<bind-xml name="portlet:description" node="element"/>
</field>
<field name="roleName" type="java.lang.String" required="true">
<bind-xml name="portlet:role-name" node="element"/>
</field>
<field name="roleLink" type="java.lang.String">
<bind-xml name="portlet:role-link" node="element"/>
</field>
</class>
<class name="org.apache.cocoon.portal.pluto.om.common.ParameterImpl">
<field name="castorDescriptions"
type="org.apache.cocoon.portal.pluto.om.common.DescriptionImpl"
collection="collection">
<bind-xml name="portlet:description" node="element"/>
</field>
<field name="name" type="java.lang.String" required="true">
<bind-xml name="portlet:name" node="element"/>
</field>
<field name="value" type="java.lang.String" required="true">
<bind-xml name="portlet:value" node="element"/>
</field>
</class>
<class name="org.apache.cocoon.portal.pluto.om.common.PreferenceImpl">
<field name="name" type="java.lang.String" required="true">
<bind-xml name="portlet:name" node="element"/>
</field>
<field name="castorValues" type="java.lang.String" collection="collection" required="true">
<bind-xml name="portlet:value" node="element"/>
</field>
<!--field name="modifiable" type="java.lang.Boolean">
<bind-xml name="portlet:modifiable" node="element"/>
</field-->
<field name="readOnly" type="java.lang.String">
<bind-xml name="portlet:read-only" node="element"/>
</field>
</class>
<class name="org.apache.cocoon.portal.pluto.om.common.ContentTypeImpl">
<field name="contentType" type="java.lang.String">
<bind-xml name="portlet:mime-type" node="element"/>
</field>
<field name="castorPortletModes"
type="java.lang.String"
collection="collection">
<bind-xml name="portlet:portlet-mode" node="element"/>
</field>
</class>
<class name="org.apache.cocoon.portal.pluto.om.common.PreferenceSetImpl">
<field name="castorPreferences" type="org.apache.cocoon.portal.pluto.om.common.PreferenceImpl" collection="collection">
<bind-xml name="portlet:preference" node="element"/>
</field>
<field name="castorPreferencesValidator" type="java.lang.String">
<bind-xml name="portlet:preferences-validator" node="element"/>
</field>
</class>
<class name="org.apache.cocoon.portal.pluto.om.common.LanguageSetImpl">
<field name="title" type="java.lang.String">
<bind-xml name="portlet:title" node="element"/>
</field>
<field name="shortTitle" type="java.lang.String">
<bind-xml name="portlet:short-title" node="element"/>
</field>
<field name="castorKeywords" type="java.lang.String">
<bind-xml name="portlet:keywords" node="element"/>
</field>
</class>
<class name="org.apache.cocoon.portal.pluto.om.PortletDefinitionImpl">
<field name="id" type="java.lang.String" direct="true">
<bind-xml name="id" node="attribute"/>
</field>
<field name="castorDescriptions"
type="org.apache.cocoon.portal.pluto.om.common.DescriptionImpl"
collection="collection">
<bind-xml name="portlet:description" node="element"/>
</field>
<field name="name" type="java.lang.String">
<bind-xml name="portlet:portlet-name" node="element"/>
</field>
<field name="castorDisplayNames"
type="org.apache.cocoon.portal.pluto.om.common.DisplayNameImpl"
collection="collection">
<bind-xml name="portlet:display-name" node="element"/>
</field>
<field name="className" type="java.lang.String">
<bind-xml name="portlet:portlet-class" node="element"/>
</field>
<field name="castorInitParams"
type="org.apache.cocoon.portal.pluto.om.common.ParameterImpl"
collection="collection">
<bind-xml name="portlet:init-param" node="element"/>
</field>
<field name="expirationCache" type="java.lang.String">
<bind-xml name="portlet:expiration-cache" node="element"/>
</field>
<field name="castorContentTypes"
type="org.apache.cocoon.portal.pluto.om.common.ContentTypeImpl"
collection="collection">
<bind-xml name="portlet:supports" node="element"/>
</field>
<field name="castorSupportedLocales" type="java.lang.String" collection="collection">
<bind-xml name="portlet:supported-locale" node="element"/>
</field>
<field name="resourceBundle" type="java.lang.String">
<bind-xml name="portlet:resource-bundle" node="element"/>
</field>
<field name="castorResources" type="org.apache.cocoon.portal.pluto.om.common.LanguageSetImpl">
<bind-xml name="portlet:portlet-info" node="element"/>
</field>
<field name="castorPreferences"
type="org.apache.cocoon.portal.pluto.om.common.PreferenceSetImpl">
<bind-xml name="portlet:portlet-preferences" node="element"/>
</field>
<field name="castorInitSecurityRoleRefs"
type="org.apache.cocoon.portal.pluto.om.common.SecurityRoleRefImpl"
collection="collection">
<bind-xml name="portlet:security-role-ref" node="element"/>
</field>
</class>
<class name="org.apache.cocoon.portal.pluto.om.PortletApplicationDefinitionImpl">
<map-to xml="portlet-app" ns-uri="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"/>
<field name="version" type="java.lang.String">
<bind-xml name="version" node="attribute"/>
</field>
<field name="appId" type="java.lang.String">
<bind-xml name="id" node="attribute"/>
</field>
<field name="castorPortlets"
type="org.apache.cocoon.portal.pluto.om.PortletDefinitionImpl"
collection="collection">
<bind-xml name="portlet:portlet" node="element"/>
</field>
<field name="customPortletMode" type="java.lang.String" collection="collection">
<bind-xml name="portlet:custom-portlet-mode" node="element"/>
</field>
<field name="customPortletState" type="java.lang.String" collection="collection">
<bind-xml name="portlet:custom-window-state" node="element"/>
</field>
<field name="userAttribute" type="java.lang.String" collection="collection">
<bind-xml name="portlet:user-attribute" node="element"/>
</field>
<field name="securityConstraint" type="java.lang.String" collection="collection">
<bind-xml name="portlet:security-constraint" node="element"/>
</field>
</class>
</mapping>