mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
the version being reverted to is created. This clone has the previous head version as its ancestor and a wcm:reverted aspect applied. wcm:reverted contains wcm:revertedid, the node id that the reversion is a clone of. Revert to version is now a simple call to a new AVMService method, revert(). Propagated this to the remote API. Modified the the AVMRevertToVersionAction to use this mechanism. Though really the action isn't really needed now. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4824 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
82 lines
2.6 KiB
XML
82 lines
2.6 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"/>
|
|
<import uri="http://www.alfresco.org/model/system/1.0" prefix="sys"/>
|
|
</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>
|
|
<!-- Captures the node that a node was reverted from. -->
|
|
<aspect name="wcm:reverted">
|
|
<title>Contains a reference to the node that this node was reverted from.</title>
|
|
<properties>
|
|
<property name="wcm:revertedid">
|
|
<title>The id of the node this was reverted from.</title>
|
|
<type>d:long</type>
|
|
<mandatory>true</mandatory>
|
|
</property>
|
|
</properties>
|
|
</aspect>
|
|
</aspects>
|
|
|
|
</model>
|