Files
alfresco-community-repo/config/alfresco/model/wcmModel.xml
Ariel Backenroth 1d5101f1f0 first stab at the multi channel thing
- renamed create-xml-content-type wizard to create-form wizard and moved it into the wcm source tree
- modified the create form wizard to accept 0 to n template output methods
- changed terminology from presentation template to template output method
- using associations to track output methods
- added file extension as property of templateoutputmethod to parameterize what the name of the output file should be
- auto adding .xml to file name in create web content if none specified.
- making associating an output method with a template optional 



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4043 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-06 02:26:38 +00:00

120 lines
3.8 KiB
XML

<model name="wcm:wcmmodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<description>WCM Specific Types</description>
<author>Alfresco</author>
<published>2006-10-06</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/content/1.0" prefix="cm"/>
</imports>
<namespaces>
<namespace uri="http://www.alfresco.org/model/wcmmodel/1.0" prefix="wcm"/>
</namespaces>
<types>
<!-- Consider this an abstract type for most purposes. -->
<type name="wcm:avmcontent">
<title>AVM Content</title>
<parent>cm:content</parent>
</type>
<type name="wcm:avmplaincontent">
<title>AVM Plain content</title>
<parent>wcm:avmcontent</parent>
</type>
<type name="wcm:avmlayeredcontent">
<title>AVM Layered Content</title>
<parent>cm:content</parent>
<properties>
<property name="wcm:avmfileindirection">
<title>File Layer Indirection</title>
<type>d:noderef</type>
<mandatory>true</mandatory>
</property>
</properties>
</type>
<!-- Consider this abstract for most purposes. -->
<type name="wcm:avmfolder">
<title>AVM Folder</title>
<parent>cm:folder</parent>
</type>
<type name="wcm:avmplainfolder">
<title>AVM Plain Folder</title>
<parent>wcm:avmfolder</parent>
</type>
<type name="wcm:avmlayeredfolder">
<title>AVM Layered Folder</title>
<parent>wcm:avmfolder</parent>
<properties>
<property name="wcm:avmdirindirection">
<title>Directory Layer Indirection</title>
<type>d:noderef</type>
<mandatory>true</mandatory>
</property>
</properties>
</type>
</types>
<aspects>
<!-- An XForms capture template aspect. -->
<aspect name="wcm:template">
<title>XForms Template</title>
<properties>
<property name="wcm:schemaroottagname">
<title>Schema Root Tag Name</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
</properties>
<associations>
<association name="wcm:templateoutputmethods">
<title>Template Output Methods</title>
<source>
<role>wcm:capture</role>
<mandatory>false</mandatory>
<many>false</many>
</source>
<target>
<class>wcm:templateoutputmethod</class>
<role>wcm:presentation</role>
<mandatory>false</mandatory>
<many>true</many>
</target>
</association>
</associations>
</aspect>
<!-- An XML to something else transformer. -->
<aspect name="wcm:templateoutputmethod">
<title>XML Transformer</title>
<properties>
<property name="wcm:templateoutputmethodtype">
<title>Type</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="wcm:templateoutputmethodderivedfileextension">
<title>Type</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="wcm:templatesource">
<title>Template Source</title>
<type>d:noderef</type>
<mandatory>true</mandatory>
</property>
</properties>
</aspect>
</aspects>
</model>