mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
ML Content Model
- Moved unused ML constructs to deprecated model file - cm:titled has d:mltext properties This change should be backwards compatible git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4583 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -569,6 +569,9 @@
|
|||||||
<value>org/alfresco/repo/action/actionModel.xml</value>
|
<value>org/alfresco/repo/action/actionModel.xml</value>
|
||||||
<value>org/alfresco/repo/rule/ruleModel.xml</value>
|
<value>org/alfresco/repo/rule/ruleModel.xml</value>
|
||||||
<value>org/alfresco/repo/version/version_model.xml</value>
|
<value>org/alfresco/repo/version/version_model.xml</value>
|
||||||
|
|
||||||
|
<!-- Deprecated types -->
|
||||||
|
<value>alfresco/model/deprecated/deprecated_contentModel.xml</value>
|
||||||
</list>
|
</list>
|
||||||
</property>
|
</property>
|
||||||
<property name="labels">
|
<property name="labels">
|
||||||
|
@@ -216,6 +216,31 @@
|
|||||||
</child-association>
|
</child-association>
|
||||||
</associations>
|
</associations>
|
||||||
</type>
|
</type>
|
||||||
|
|
||||||
|
<!-- Multilingual -->
|
||||||
|
<type name="cm:mlContainer">
|
||||||
|
<title>Multilingual Container</title>
|
||||||
|
<parent>sys:base</parent>
|
||||||
|
<properties>
|
||||||
|
<property name="cm:mlEditionLabel">
|
||||||
|
<title>Edition Label</title>
|
||||||
|
<type>d:text</type>
|
||||||
|
</property>
|
||||||
|
</properties>
|
||||||
|
<associations>
|
||||||
|
<child-association name="cm:mlChild">
|
||||||
|
<source>
|
||||||
|
<mandatory>true</mandatory>
|
||||||
|
<many>false</many>
|
||||||
|
</source>
|
||||||
|
<target>
|
||||||
|
<class>cm:mlTranslation</class>
|
||||||
|
<mandatory>true</mandatory>
|
||||||
|
<many>true</many>
|
||||||
|
</target>
|
||||||
|
</child-association>
|
||||||
|
</associations>
|
||||||
|
</type>
|
||||||
|
|
||||||
</types>
|
</types>
|
||||||
|
|
||||||
@@ -227,11 +252,11 @@
|
|||||||
<properties>
|
<properties>
|
||||||
<property name="cm:title">
|
<property name="cm:title">
|
||||||
<title>Title</title>
|
<title>Title</title>
|
||||||
<type>d:text</type>
|
<type>d:mltext</type>
|
||||||
</property>
|
</property>
|
||||||
<property name="cm:description">
|
<property name="cm:description">
|
||||||
<title>Description</title>
|
<title>Description</title>
|
||||||
<type>d:text</type>
|
<type>d:mltext</type>
|
||||||
</property>
|
</property>
|
||||||
</properties>
|
</properties>
|
||||||
</aspect>
|
</aspect>
|
||||||
@@ -271,43 +296,6 @@
|
|||||||
</properties>
|
</properties>
|
||||||
</aspect>
|
</aspect>
|
||||||
|
|
||||||
<aspect name="cm:localizable">
|
|
||||||
<title>Localizable</title>
|
|
||||||
<properties>
|
|
||||||
<property name="cm:locale">
|
|
||||||
<title>Locale</title>
|
|
||||||
<!-- need to have means to identify root instance of appropriate category -->
|
|
||||||
<type>d:category</type>
|
|
||||||
</property>
|
|
||||||
</properties>
|
|
||||||
</aspect>
|
|
||||||
|
|
||||||
<aspect name="cm:translatable">
|
|
||||||
<title>Translatable</title>
|
|
||||||
<parent>cm:localizable</parent>
|
|
||||||
<!-- TODO: Support mandatory-aspects on an aspect in the meta-model
|
|
||||||
<mandatory-aspects>
|
|
||||||
<aspect>cm:localizable</aspect>
|
|
||||||
</mandatory-aspects>
|
|
||||||
-->
|
|
||||||
<associations>
|
|
||||||
<association name="cm:translations">
|
|
||||||
<title>Translations</title>
|
|
||||||
<source>
|
|
||||||
<role>cm:translationOf</role>
|
|
||||||
<mandatory>false</mandatory>
|
|
||||||
<many>false</many>
|
|
||||||
</source>
|
|
||||||
<target>
|
|
||||||
<class>cm:content</class>
|
|
||||||
<role>cm:hasTranslation</role>
|
|
||||||
<mandatory>false</mandatory>
|
|
||||||
<many>true</many>
|
|
||||||
</target>
|
|
||||||
</association>
|
|
||||||
</associations>
|
|
||||||
</aspect>
|
|
||||||
|
|
||||||
<aspect name="cm:transformable">
|
<aspect name="cm:transformable">
|
||||||
<title>Transformable</title>
|
<title>Transformable</title>
|
||||||
<associations>
|
<associations>
|
||||||
@@ -706,6 +694,18 @@
|
|||||||
</properties>
|
</properties>
|
||||||
</aspect>
|
</aspect>
|
||||||
|
|
||||||
|
<!-- Multilingual -->
|
||||||
|
<aspect name="cm:mlTranslation">
|
||||||
|
<title>Translation</title>
|
||||||
|
<properties>
|
||||||
|
<property name="cm:language">
|
||||||
|
<title>Language</title>
|
||||||
|
<type>d:mltext</type>
|
||||||
|
<mandatory>true</mandatory>
|
||||||
|
</property>
|
||||||
|
</properties>
|
||||||
|
</aspect>
|
||||||
|
|
||||||
</aspects>
|
</aspects>
|
||||||
|
|
||||||
</model>
|
</model>
|
||||||
|
49
config/alfresco/model/deprecated/deprecated_contentModel.xml
Normal file
49
config/alfresco/model/deprecated/deprecated_contentModel.xml
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
<model name="cm:deprecated_contentmodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
|
||||||
|
|
||||||
|
<description>Deprecated Content Domain Model Types and Aspects</description>
|
||||||
|
<author>Alfresco</author>
|
||||||
|
<published>2006-12-12</published>
|
||||||
|
<version>1.0</version>
|
||||||
|
|
||||||
|
<imports>
|
||||||
|
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
|
||||||
|
<import uri="http://www.alfresco.org/model/system/1.0" prefix="sys"/>
|
||||||
|
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
|
||||||
|
</imports>
|
||||||
|
|
||||||
|
<aspects>
|
||||||
|
|
||||||
|
<aspect name="cm:localizable">
|
||||||
|
<title>Localizable</title>
|
||||||
|
<properties>
|
||||||
|
<property name="cm:locale">
|
||||||
|
<title>Locale</title>
|
||||||
|
<type>d:category</type>
|
||||||
|
</property>
|
||||||
|
</properties>
|
||||||
|
</aspect>
|
||||||
|
|
||||||
|
<aspect name="cm:translatable">
|
||||||
|
<title>Translatable</title>
|
||||||
|
<parent>cm:localizable</parent>
|
||||||
|
<associations>
|
||||||
|
<association name="cm:translations">
|
||||||
|
<title>Translations</title>
|
||||||
|
<source>
|
||||||
|
<role>cm:translationOf</role>
|
||||||
|
<mandatory>false</mandatory>
|
||||||
|
<many>false</many>
|
||||||
|
</source>
|
||||||
|
<target>
|
||||||
|
<class>cm:content</class>
|
||||||
|
<role>cm:hasTranslation</role>
|
||||||
|
<mandatory>false</mandatory>
|
||||||
|
<many>true</many>
|
||||||
|
</target>
|
||||||
|
</association>
|
||||||
|
</associations>
|
||||||
|
</aspect>
|
||||||
|
|
||||||
|
</aspects>
|
||||||
|
|
||||||
|
</model>
|
Reference in New Issue
Block a user