mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Addition of nt:hierarchyNode, nt:folder, nt:file and nt:resource as defined in JCR 170 specification.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2795 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -4,15 +4,15 @@
|
|||||||
<version>1.0</version>
|
<version>1.0</version>
|
||||||
|
|
||||||
<imports>
|
<imports>
|
||||||
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
|
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d" />
|
||||||
</imports>
|
</imports>
|
||||||
|
|
||||||
<namespaces>
|
<namespaces>
|
||||||
<namespace uri="http://www.jcp.org/jcr/1.0" prefix="jcr"/>
|
<namespace uri="http://www.jcp.org/jcr/1.0" prefix="jcr" />
|
||||||
<namespace uri="http://www.jcp.org/jcr/nt/1.0" prefix="nt"/>
|
<namespace uri="http://www.jcp.org/jcr/nt/1.0" prefix="nt" />
|
||||||
<namespace uri="http://www.jcp.org/jcr/mix/1.0" prefix="mix"/>
|
<namespace uri="http://www.jcp.org/jcr/mix/1.0" prefix="mix" />
|
||||||
<namespace uri="http://www.jcp.org/jcr/sv/1.0" prefix="sv"/>
|
<namespace uri="http://www.jcp.org/jcr/sv/1.0" prefix="sv" />
|
||||||
<namespace uri="http://www.w3.org/XML/1998/namespace" prefix="xml"/>
|
<namespace uri="http://www.w3.org/XML/1998/namespace" prefix="xml" />
|
||||||
</namespaces>
|
</namespaces>
|
||||||
|
|
||||||
<types>
|
<types>
|
||||||
@@ -32,6 +32,93 @@
|
|||||||
</properties>
|
</properties>
|
||||||
</type>
|
</type>
|
||||||
|
|
||||||
|
<type name="nt:hierarchyNode">
|
||||||
|
<parent>nt:base</parent>
|
||||||
|
<properties>
|
||||||
|
<property name="jcr:created">
|
||||||
|
<type>d:date</type>
|
||||||
|
<protected>true</protected>
|
||||||
|
<mandatory>false</mandatory>
|
||||||
|
<multiple>false</multiple>
|
||||||
|
</property>
|
||||||
|
</properties>
|
||||||
|
</type>
|
||||||
|
|
||||||
|
<type name="nt:file">
|
||||||
|
<parent>nt:hierarchyNode</parent>
|
||||||
|
<associations>
|
||||||
|
<child-association name="jcr:content">
|
||||||
|
<source>
|
||||||
|
<mandatory>false</mandatory>
|
||||||
|
<many>true</many>
|
||||||
|
</source>
|
||||||
|
<target>
|
||||||
|
<class>nt:base</class>
|
||||||
|
<mandatory>true</mandatory>
|
||||||
|
<many>false</many>
|
||||||
|
</target>
|
||||||
|
<child-name>jcr:content</child-name>
|
||||||
|
<duplicate>false</duplicate>
|
||||||
|
</child-association>
|
||||||
|
</associations>
|
||||||
|
</type>
|
||||||
|
|
||||||
|
<type name="nt:folder">
|
||||||
|
<parent>nt:hierarchyNode</parent>
|
||||||
|
<associations>
|
||||||
|
<child-association name="jcr:contains">
|
||||||
|
<source>
|
||||||
|
<mandatory>false</mandatory>
|
||||||
|
<many>true</many>
|
||||||
|
</source>
|
||||||
|
<target>
|
||||||
|
<class>nt:hierarchyNode</class>
|
||||||
|
<mandatory>false</mandatory>
|
||||||
|
<many>true</many>
|
||||||
|
</target>
|
||||||
|
<duplicate>false</duplicate>
|
||||||
|
</child-association>
|
||||||
|
</associations>
|
||||||
|
</type>
|
||||||
|
|
||||||
|
<type name="nt:resource">
|
||||||
|
<parent>nt:base</parent>
|
||||||
|
<properties>
|
||||||
|
<property name="jcr:encoding">
|
||||||
|
<type>d:text</type>
|
||||||
|
<protected>false</protected>
|
||||||
|
<mandatory>false</mandatory>
|
||||||
|
<multiple>false</multiple>
|
||||||
|
</property>
|
||||||
|
<property name="jcr:mimeType">
|
||||||
|
<type>d:text</type>
|
||||||
|
<protected>false</protected>
|
||||||
|
<mandatory>true</mandatory>
|
||||||
|
<multiple>false</multiple>
|
||||||
|
</property>
|
||||||
|
<property name="jcr:data">
|
||||||
|
<type>d:content</type>
|
||||||
|
<protected>false</protected>
|
||||||
|
<mandatory>true</mandatory>
|
||||||
|
<multiple>false</multiple>
|
||||||
|
<index enabled="true">
|
||||||
|
<atomic>true</atomic>
|
||||||
|
<stored>false</stored>
|
||||||
|
<tokenised>true</tokenised>
|
||||||
|
</index>
|
||||||
|
</property>
|
||||||
|
<property name="jcr:lastModified">
|
||||||
|
<type>d:date</type>
|
||||||
|
<protected>false</protected>
|
||||||
|
<mandatory>true</mandatory>
|
||||||
|
<multiple>false</multiple>
|
||||||
|
</property>
|
||||||
|
</properties>
|
||||||
|
<mandatory-aspects>
|
||||||
|
<aspect>mix:referenceable</aspect>
|
||||||
|
</mandatory-aspects>
|
||||||
|
</type>
|
||||||
|
|
||||||
</types>
|
</types>
|
||||||
|
|
||||||
<aspects>
|
<aspects>
|
||||||
|
Reference in New Issue
Block a user