[exo-jcr-commits] exo-jcr SVN: r1065 - jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/test/resources/conf/test.

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Dec 15 10:06:39 EST 2009


Author: tolusha
Date: 2009-12-15 10:06:39 -0500 (Tue, 15 Dec 2009)
New Revision: 1065

Modified:
   jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/test/resources/conf/test/nodetypes-config-extended.xml
   jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/test/resources/conf/test/nodetypes-config.xml
   jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/test/resources/conf/test/nodetypes-usecase.xml
Log:
EXOJCR-300: revert node types

Modified: jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/test/resources/conf/test/nodetypes-config-extended.xml
===================================================================
--- jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/test/resources/conf/test/nodetypes-config-extended.xml	2009-12-15 14:43:28 UTC (rev 1064)
+++ jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/test/resources/conf/test/nodetypes-config-extended.xml	2009-12-15 15:06:39 UTC (rev 1065)
@@ -150,37 +150,51 @@
          </childNodeDefinition>
       </childNodeDefinitions>
    </nodeType>
-
-   <nodeType name="exo:article" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
-      <supertypes>
-         <supertype>nt:base</supertype>
-         <supertype>mix:referenceable</supertype>
-         <!--supertype>exo:rss-enable</supertype-->
-      </supertypes>
-      <propertyDefinitions>
-         <propertyDefinition name="exo:title" requiredType="String" autoCreated="false" mandatory="true" onParentVersion="COPY" protected="false"
-            multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="exo:summary" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
-            multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="exo:text" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
-            multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-      </propertyDefinitions>
-      <childNodeDefinitions>
-         <childNodeDefinition name="*" defaultPrimaryType="nt:file" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
-            sameNameSiblings="true">
-            <requiredPrimaryTypes>
-               <requiredPrimaryType>nt:file</requiredPrimaryType>
-            </requiredPrimaryTypes>
-         </childNodeDefinition>
-      </childNodeDefinitions>
-   </nodeType>
 
+   <nodeType name="exo:relationable" isMixin="true" hasOrderableChildNodes="false" primaryItemName="">
+      <propertyDefinitions>
+         <propertyDefinition name="exo:relation" requiredType="Reference" autoCreated="false" mandatory="true" onParentVersion="COPY"
+            protected="false" multiple="true">
+            <valueConstraints />
+         </propertyDefinition>
+      </propertyDefinitions>
+   </nodeType>
+
+   <nodeType name="exo:rss-enable" isMixin="true" hasOrderableChildNodes="false" primaryItemName="">
+      <propertyDefinitions>
+         <propertyDefinition name="exo:title" requiredType="String" autoCreated="false" mandatory="true" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:summary" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+      </propertyDefinitions>
+   </nodeType>
+
+   <nodeType name="exo:article" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
+      <supertypes>
+         <supertype>nt:base</supertype>
+         <supertype>mix:referenceable</supertype>
+         <supertype>exo:rss-enable</supertype>
+      </supertypes>
+      <propertyDefinitions>
+         <propertyDefinition name="exo:text" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+      </propertyDefinitions>
+      <childNodeDefinitions>
+         <childNodeDefinition name="*" defaultPrimaryType="nt:file" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            sameNameSiblings="true">
+            <requiredPrimaryTypes>
+               <requiredPrimaryType>nt:file</requiredPrimaryType>
+            </requiredPrimaryTypes>
+         </childNodeDefinition>
+      </childNodeDefinitions>
+   </nodeType>
+
    <nodeType name="exo:tab" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
       <supertypes>
          <supertype>nt:base</supertype>
@@ -217,6 +231,28 @@
       </childNodeDefinitions>
    </nodeType>
 
+   <nodeType name="exo:published" isMixin="true" hasOrderableChildNodes="false" primaryItemName="">
+      <propertyDefinitions>
+         <propertyDefinition name="exo:startPublication" requiredType="Date" autoCreated="false" mandatory="true" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:endPublication" requiredType="Date" autoCreated="false" mandatory="true" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+      </propertyDefinitions>
+   </nodeType>
+
+   <nodeType name="exo:categorized" isMixin="true" hasOrderableChildNodes="false" primaryItemName="">
+      <propertyDefinitions>
+         <propertyDefinition name="exo:category" requiredType="Reference" autoCreated="false" mandatory="true" onParentVersion="COPY"
+            protected="false" multiple="true">
+            <valueConstraints />
+         </propertyDefinition>
+      </propertyDefinitions>
+   </nodeType>
+
    <nodeType name="exo:template" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
       <supertypes>
          <supertype>nt:base</supertype>
@@ -421,6 +457,52 @@
       </childNodeDefinitions> -->
    </nodeType>
 
+   <nodeType name="exo:sample" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
+      <supertypes>
+         <supertype>nt:base</supertype>
+         <supertype>exo:rss-enable</supertype>
+      </supertypes>
+      <propertyDefinitions>
+         <propertyDefinition name="exo:title" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:description" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:date" requiredType="Date" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:datetime" requiredType="Date" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:summary" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:content" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+      </propertyDefinitions>
+      <childNodeDefinitions>
+         <childNodeDefinition name="*" defaultPrimaryType="nt:file" autoCreated="false" mandatory="false" onParentVersion="VERSION"
+            protected="false" sameNameSiblings="true">
+            <requiredPrimaryTypes>
+               <requiredPrimaryType>nt:file</requiredPrimaryType>
+            </requiredPrimaryTypes>
+         </childNodeDefinition>
+         <childNodeDefinition name="exo:image" defaultPrimaryType="nt:resource" autoCreated="false" mandatory="false" onParentVersion="VERSION"
+            protected="false" sameNameSiblings="true">
+            <requiredPrimaryTypes>
+               <requiredPrimaryType>nt:resource</requiredPrimaryType>
+            </requiredPrimaryTypes>
+         </childNodeDefinition>
+      </childNodeDefinitions>
+   </nodeType>
 
    <nodeType name="exo:watchable" isMixin="true" hasOrderableChildNodes="false" primaryItemName="">
       <supertypes>
@@ -552,6 +634,71 @@
       </propertyDefinitions>
    </nodeType>
 
+   <nodeType name="exo:folksonomized" isMixin="true" hasOrderableChildNodes="false" primaryItemName="">
+      <propertyDefinitions>
+         <propertyDefinition name="exo:folksonomy" requiredType="Reference" autoCreated="false" mandatory="true" onParentVersion="COPY"
+            protected="false" multiple="true">
+            <valueConstraints />
+         </propertyDefinition>
+      </propertyDefinitions>
+   </nodeType>
+
+   <nodeType name="exo:schedulableInfo" isMixin="true" hasOrderableChildNodes="false" primaryItemName="">
+      <propertyDefinitions>
+         <propertyDefinition name="exo:scheduledInitiator" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:jobName" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:jobGroup" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:jobClass" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:jobDescription" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:scheduleType" requiredType="String" autoCreated="false" mandatory="true" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:startTime" requiredType="Date" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:endTime" requiredType="Date" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:repeatCount" requiredType="Long" autoCreated="false" mandatory="false" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:timeInterval" requiredType="Long" autoCreated="false" mandatory="false" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:cronExpression" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:counter" requiredType="Long" autoCreated="true" mandatory="true" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+            <defaultValues>
+               <defaultValue>0</defaultValue>
+            </defaultValues>
+         </propertyDefinition>
+      </propertyDefinitions>
+   </nodeType>
+
    <nodeType name="mix:i18n" isMixin="true" hasOrderableChildNodes="false" primaryItemName="">
       <propertyDefinitions>
          <propertyDefinition name="exo:language" requiredType="String" autoCreated="true" mandatory="false" onParentVersion="COPY" protected="false"

Modified: jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/test/resources/conf/test/nodetypes-config.xml
===================================================================
--- jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/test/resources/conf/test/nodetypes-config.xml	2009-12-15 14:43:28 UTC (rev 1064)
+++ jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/test/resources/conf/test/nodetypes-config.xml	2009-12-15 15:06:39 UTC (rev 1065)
@@ -102,6 +102,41 @@
       </childNodeDefinitions>
    </nodeType>
 
+   <!-- exo:actions property will be used to store all actions that reference to this node -->
+   <nodeType name="exo:actionable" isMixin="true" hasOrderableChildNodes="false" primaryItemName="">
+      <propertyDefinitions>
+         <propertyDefinition name="exo:actions" requiredType="Reference" autoCreated="false" mandatory="true" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+      </propertyDefinitions>
+      <childNodeDefinitions>
+         <childNodeDefinition name="*" defaultPrimaryType="" autoCreated="false" mandatory="false" onParentVersion="VERSION" protected="false"
+            sameNameSiblings="true">
+            <requiredPrimaryTypes>
+               <requiredPrimaryType>exo:actionStorage</requiredPrimaryType>
+            </requiredPrimaryTypes>
+         </childNodeDefinition>
+      </childNodeDefinitions>
+   </nodeType>
+
+   <nodeType name="exo:move" isMixin="true" hasOrderableChildNodes="false" primaryItemName="">
+      <propertyDefinitions>
+         <propertyDefinition name="exo:repository" requiredType="String" autoCreated="false" mandatory="true" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:destWorkspace" requiredType="String" autoCreated="false" mandatory="true" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:destPath" requiredType="String" autoCreated="false" mandatory="true" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+      </propertyDefinitions>
+   </nodeType>
+
    <nodeType name="mix:title" isMixin="true" hasOrderableChildNodes="false" primaryItemName="">
       <propertyDefinitions>
          <propertyDefinition name="jcr:title" requiredType="String" autoCreated="false" mandatory="false"

Modified: jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/test/resources/conf/test/nodetypes-usecase.xml
===================================================================
--- jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/test/resources/conf/test/nodetypes-usecase.xml	2009-12-15 14:43:28 UTC (rev 1064)
+++ jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/test/resources/conf/test/nodetypes-usecase.xml	2009-12-15 15:06:39 UTC (rev 1065)
@@ -33,7 +33,102 @@
       </propertyDefinitions>
    </nodeType>
 
+   <nodeType name="rma:record" isMixin="true" hasOrderableChildNodes="false" primaryItemName="">
+      <supertypes>
+         <supertype>mix:referenceable</supertype>
+         <supertype>exo:metadata</supertype>
+      </supertypes>
+      <propertyDefinitions>
+         <propertyDefinition name="rma:recordIdentifier" requiredType="String" autoCreated="false" mandatory="true" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="rma:subject" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="rma:format" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="rma:mediaFormat" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="rma:dateFiled" requiredType="Date" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="rma:publicationDate" requiredType="Date" autoCreated="false" mandatory="false" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="rma:dateReceived" requiredType="Date" autoCreated="false" mandatory="false" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="rma:originator" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="rma:originatingOrganization" requiredType="String" autoCreated="false" mandatory="true" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="rma:addressees" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="rma:otherAddressees" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="rma:supplementalMArkingList" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="rma:isObsolete" requiredType="Boolean" autoCreated="true" mandatory="false" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+            <defaultValues>
+               <defaultValue>false</defaultValue>
+            </defaultValues>
+         </propertyDefinition>
+         <propertyDefinition name="rma:superseded" requiredType="Reference" autoCreated="true" mandatory="false" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+            <defaultValues>
+               <defaultValue>false</defaultValue>
+            </defaultValues>
+         </propertyDefinition>
+         <propertyDefinition name="rma:recordNote" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:internalUse" requiredType="Boolean" autoCreated="true" mandatory="false" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+            <defaultValues>
+               <defaultValue>true</defaultValue>
+            </defaultValues>
+         </propertyDefinition>
+      </propertyDefinitions>
+   </nodeType>
+
    <!-- audit nodetypes -->
+
+   <nodeType name="exo:auditable" isMixin="true" hasOrderableChildNodes="false" primaryItemName="">
+      <supertypes>
+         <supertype>mix:referenceable</supertype>
+      </supertypes>
+      <propertyDefinitions>
+         <propertyDefinition name="exo:auditHistory" requiredType="String" autoCreated="false" mandatory="true" onParentVersion="COPY"
+            protected="true" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+      </propertyDefinitions>
+   </nodeType>
+
    <nodeType name="exo:auditRecord" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
       <supertypes>
          <supertype>nt:base</supertype>
@@ -137,4 +232,25 @@
       </propertyDefinitions>
    </nodeType>
 
+   <nodeType name="exo:archiveable" isMixin="true" hasOrderableChildNodes="false" primaryItemName="">
+      <propertyDefinitions>
+         <propertyDefinition name="exo:restorePath" requiredType="String" autoCreated="false" mandatory="true" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+      </propertyDefinitions>
+   </nodeType>
+   <nodeType name="exo:rss-enable" isMixin="true" hasOrderableChildNodes="false" primaryItemName="">
+      <propertyDefinitions>
+         <propertyDefinition name="exo:title" requiredType="String" autoCreated="false" mandatory="true" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:summary" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+      </propertyDefinitions>
+   </nodeType>
+
 </nodeTypes>



More information about the exo-jcr-commits mailing list