mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Extended the content model to include relevant avm specific types.
cm:avmcontent and cm:avmfolder are 'abstract'. cm:avmplaincontent is derived from cm:avmcontent and is just a plain file. cm:avmlayeredcontent is derived from cm:avmcontent and is (surprise) a layered file and has a d:noderef mandatory property, cm:avmfileindirection, that is the (possibly non-existent) file that the layered file is transparent to. cm:avmplainfolder is derived from cm:avmfolder and is just a plain directory. cm:avmlayeredfolder is a layered directory and has a property, cm:avmdirinderection, that is the (possibly non-existent) directory that the layered directory is transparent to. The ContentModel QName constants are. TYPE_AVM_PLAIN_FOLDER TYPE_AVM_LAYERED_FOLDER TYPE_AVM_PLAIN_CONTENT TYPE_AVM_LAYERED_CONTENT PROP_AVM_DIR_INDIRECTION PROP_AVM_FILE_INDIRECTION One can now create all four flavors of avm nodes through AVMNodeService.createNode(). The advantage of using these over the corresponding AVMService methods is that since (for now) AVMService, is permission and indexing unaware. Backed out cm:mounted aspect and dispatching code in DbNodeServiceImpl. (Dave and Derek, you may now relax) as we are implementing the UI with AVM dedicated screens. Finally, beginning interface for AVM node tree synchronization and comparison. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3764 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -79,11 +79,29 @@
|
||||
</properties>
|
||||
</type>
|
||||
|
||||
<!-- Consider this an abstract type for most purposes. -->
|
||||
<type name="cm:avmcontent">
|
||||
<title>AVM Content</title>
|
||||
<parent>cm:content</parent>
|
||||
<title>AVM Content</title>
|
||||
<parent>cm:content</parent>
|
||||
</type>
|
||||
|
||||
<type name="cm:avmplaincontent">
|
||||
<title>AVM Plain content</title>
|
||||
<parent>cm:avmcontent</parent>
|
||||
</type>
|
||||
|
||||
<type name="cm:avmlayeredcontent">
|
||||
<title>AVM Layered Content</title>
|
||||
<parent>cm:content</parent>
|
||||
<properties>
|
||||
<property name="cm:avmfileindirection">
|
||||
<title>File Layer Indirection</title>
|
||||
<type>d:noderef</type>
|
||||
<mandatory>true</mandatory>
|
||||
</property>
|
||||
</properties>
|
||||
</type>
|
||||
|
||||
<type name="cm:dictionaryModel">
|
||||
<title>Dictionary Model</title>
|
||||
<parent>cm:content</parent>
|
||||
@@ -143,9 +161,27 @@
|
||||
<parent>cm:folder</parent>
|
||||
</type>
|
||||
|
||||
<!-- Consider this abstract for most purposes. -->
|
||||
<type name="cm:avmfolder">
|
||||
<title>AVM Folder</title>
|
||||
<parent>cm:folder</parent>
|
||||
<title>AVM Folder</title>
|
||||
<parent>cm:folder</parent>
|
||||
</type>
|
||||
|
||||
<type name="cm:avmplainfolder">
|
||||
<title>AVM Plain Folder</title>
|
||||
<parent>cm:avmfolder</parent>
|
||||
</type>
|
||||
|
||||
<type name="cm:avmlayeredfolder">
|
||||
<title>AVM Layered Folder</title>
|
||||
<parent>cm:avmfolder</parent>
|
||||
<properties>
|
||||
<property name="cm:avmdirindirection">
|
||||
<title>Directory Layer Indirection</title>
|
||||
<type>d:noderef</type>
|
||||
<mandatory>true</mandatory>
|
||||
</property>
|
||||
</properties>
|
||||
</type>
|
||||
|
||||
<type name="cm:person">
|
||||
@@ -696,16 +732,6 @@
|
||||
</properties>
|
||||
</aspect>
|
||||
|
||||
<aspect name="cm:mounted">
|
||||
<title>Mounted</title>
|
||||
<properties>
|
||||
<property name="cm:mountpoint">
|
||||
<title>Mountpoint</title>
|
||||
<type>d:noderef</type>
|
||||
</property>
|
||||
</properties>
|
||||
</aspect>
|
||||
|
||||
</aspects>
|
||||
|
||||
</model>
|
||||
|
Reference in New Issue
Block a user