Author: pnedonosko
Date: 2009-10-20 07:36:31 -0400 (Tue, 20 Oct 2009)
New Revision: 318
Added:
jcr/trunk/component/core/src/main/resources/conf/portal/
jcr/trunk/component/core/src/main/resources/org/
jcr/trunk/component/core/src/main/resources/org/exoplatform/
jcr/trunk/component/core/src/main/resources/org/exoplatform/services/
jcr/trunk/component/core/src/main/resources/org/exoplatform/services/jcr/
jcr/trunk/component/core/src/main/resources/org/exoplatform/services/jcr/impl/
jcr/trunk/component/core/src/main/resources/org/exoplatform/services/jcr/impl/core/
jcr/trunk/component/core/src/main/resources/org/exoplatform/services/jcr/impl/core/nodetype/
jcr/trunk/component/core/src/main/resources/org/exoplatform/services/jcr/impl/core/nodetype/nodetypes.dtd
jcr/trunk/component/core/src/main/resources/org/exoplatform/services/jcr/impl/core/nodetype/nodetypes.xml
jcr/trunk/component/core/src/main/resources/org/exoplatform/services/jcr/impl/core/query/
jcr/trunk/component/core/src/main/resources/org/exoplatform/services/jcr/impl/core/query/lucene/
jcr/trunk/component/core/src/main/resources/org/exoplatform/services/jcr/impl/core/query/lucene/indexing-configuration-1.0.dtd
jcr/trunk/component/core/src/main/resources/org/exoplatform/services/jcr/impl/core/query/lucene/indexing-configuration-1.1.dtd
jcr/trunk/component/core/src/main/resources/org/exoplatform/services/jcr/impl/core/query/lucene/indexing-configuration-1.2.dtd
jcr/trunk/component/core/src/test/resources/conf/standalone/
jcr/trunk/component/core/src/test/resources/conf/standalone/test-configuration-sjdbc.xml
jcr/trunk/component/core/src/test/resources/conf/standalone/test-configuration.xml
jcr/trunk/component/core/src/test/resources/conf/standalone/test-jcr-config-sjdbc.xml
jcr/trunk/component/core/src/test/resources/conf/standalone/test-jcr-config.xml
jcr/trunk/component/core/src/test/resources/log4j.properties
jcr/trunk/component/core/src/test/resources/login.conf
jcr/trunk/component/core/src/test/resources/login_prev.conf
jcr/trunk/component/core/src/test/resources/org/
jcr/trunk/component/core/src/test/resources/org/exoplatform/
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/api/
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/api/nodetypes/
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/api/nodetypes/ecm/
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/api/nodetypes/ecm/nodetypes-config-extended.xml
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/api/nodetypes/ecm/nodetypes-config.xml
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/api/nodetypes/nodetypes-api-test.xml
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/impl/
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/impl/core/
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/impl/core/nodetype/
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/impl/core/nodetype/test-jcr589.xml
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/impl/core/nodetype/test-nodetypes.xml
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/usecases/
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/usecases/nodetypes/
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/usecases/nodetypes/nodetypes-usecase-test.xml
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/usecases/query/
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/usecases/query/business-process-nodetypes.xml
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/usecases/query/ext-nodetypes-config.xml
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/usecases/query/nodetypes-config-extended.xml
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/usecases/query/nodetypes-config.xml
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/usecases/query/nodetypes-ecm.xml
jcr/trunk/component/core/src/test/resources/repositoryStubImpl.properties
Removed:
jcr/trunk/component/core/src/main/java/conf/portal/
jcr/trunk/component/core/src/main/java/org/exoplatform/services/jcr/impl/core/nodetype/nodetypes.dtd
jcr/trunk/component/core/src/main/java/org/exoplatform/services/jcr/impl/core/nodetype/nodetypes.xml
jcr/trunk/component/core/src/main/java/org/exoplatform/services/jcr/impl/core/query/lucene/indexing-configuration-1.0.dtd
jcr/trunk/component/core/src/main/java/org/exoplatform/services/jcr/impl/core/query/lucene/indexing-configuration-1.1.dtd
jcr/trunk/component/core/src/main/java/org/exoplatform/services/jcr/impl/core/query/lucene/indexing-configuration-1.2.dtd
jcr/trunk/component/core/src/main/resources/jcr.gif
jcr/trunk/component/core/src/main/resources/log4j.properties
jcr/trunk/component/core/src/main/resources/login.conf
jcr/trunk/component/core/src/main/resources/login_prev.conf
jcr/trunk/component/core/src/main/resources/repositoryStubImpl.properties
jcr/trunk/component/core/src/test/java/conf/standalone/
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/api/nodetypes/ecm/
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/api/nodetypes/nodetypes-api-test.xml
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/impl/core/nodetype/test-jcr589.xml
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/impl/core/nodetype/test-nodetypes.xml
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/usecases/nodetypes/nodetypes-usecase-test.xml
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/usecases/query/business-process-nodetypes.xml
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/usecases/query/ext-nodetypes-config.xml
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/usecases/query/nodetypes-config-extended.xml
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/usecases/query/nodetypes-config.xml
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/usecases/query/nodetypes-ecm.xml
Modified:
jcr/trunk/component/core/pom.xml
Log:
EXOJCR-165: move non-java files from src to resources
Modified: jcr/trunk/component/core/pom.xml
===================================================================
--- jcr/trunk/component/core/pom.xml 2009-10-20 10:48:00 UTC (rev 317)
+++ jcr/trunk/component/core/pom.xml 2009-10-20 11:36:31 UTC (rev 318)
@@ -291,22 +291,10 @@
<build>
<resources>
<resource>
- <directory>src/main/java</directory>
- <includes>
- <include>**/*.xml</include>
- <include>**/*.properties</include>
- <include>**/*.xsl</include>
- <include>**/*.dtd</include>
- </includes>
- </resource>
- <resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*.xml</include>
- <include>**/*.properties</include>
- <include>**/login.conf</include>
<include>**/*.sql</include>
- <include>**/META-INF/**/*.*</include>
<include>**/*.dtd</include>
</includes>
</resource>
@@ -314,23 +302,10 @@
<testResources>
<testResource>
- <directory>src/test/java</directory>
- <includes>
- <include>**/*.properties</include>
- <include>**/*.xml</include>
- <include>**/*.drl</include>
- <include>**/*.vm</include>
- <include>**/*.doc</include>
- <include>**/*.xls</include>
- <include>**/*.ppt</include>
- <include>**/*.txt</include>
- <include>**/*.dtd</include>
- </includes>
- </testResource>
- <testResource>
<directory>src/test/resources</directory>
<includes>
<include>**/*.properties</include>
+ <include>login.conf</include>
<include>**/*.xml</include>
<include>**/*.drl</include>
<include>**/*.vm</include>
Deleted:
jcr/trunk/component/core/src/main/java/org/exoplatform/services/jcr/impl/core/nodetype/nodetypes.dtd
===================================================================
---
jcr/trunk/component/core/src/main/java/org/exoplatform/services/jcr/impl/core/nodetype/nodetypes.dtd 2009-10-20
10:48:00 UTC (rev 317)
+++
jcr/trunk/component/core/src/main/java/org/exoplatform/services/jcr/impl/core/nodetype/nodetypes.dtd 2009-10-20
11:36:31 UTC (rev 318)
@@ -1,51 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE nodeTypes [
- <!ELEMENT nodeTypes (nodeType)*>
- <!ELEMENT nodeType (supertypes?|propertyDefinitions?|childNodeDefinitions?)>
-
- <!-- 18.01.06: primaryItemName, hasOrderableChildNodes attributes is optional
-->
- <!ATTLIST nodeType
- name CDATA #REQUIRED
- isMixin (true|false) #REQUIRED
- hasOrderableChildNodes (true|false)
- primaryItemName CDATA
- >
- <!ELEMENT supertypes (supertype*)>
- <!ELEMENT supertype (CDATA)>
-
- <!ELEMENT propertyDefinitions (propertyDefinition*)>
-
- <!ELEMENT propertyDefinition (valueConstraints?|defaultValues?)>
- <!ATTLIST propertyDefinition
- name CDATA #REQUIRED
- requiredType (String|Date|Path|Name|Reference|Binary|Double|Long|Boolean|undefined)
#REQUIRED
- autoCreated (true|false) #REQUIRED
- mandatory (true|false) #REQUIRED
- onParentVersion (COPY|VERSION|INITIALIZE|COMPUTE|IGNORE|ABORT) #REQUIRED
- protected (true|false) #REQUIRED
- multiple (true|false) #REQUIRED
- >
- <!-- For example if you need to set ValueConstraints [],
- you have to add empty element <valueConstraints/>.
- Same order for other properties like defaultValues, requiredPrimaryTypes etc.
- -->
- <!ELEMENT valueConstraints (valueConstraint*)>
- <!ELEMENT valueConstraint (CDATA)>
- <!ELEMENT defaultValues (defaultValue*)>
- <!ELEMENT defaultValue (CDATA)>
-
- <!ELEMENT childNodeDefinitions (childNodeDefinition*)>
-
- <!ELEMENT childNodeDefinition (requiredPrimaryTypes)>
- <!ATTLIST childNodeDefinition
- name CDATA #REQUIRED
- defaultPrimaryType CDATA #REQUIRED
- autoCreated (true|false) #REQUIRED
- mandatory (true|false) #REQUIRED
- onParentVersion (COPY|VERSION|INITIALIZE|COMPUTE|IGNORE|ABORT) #REQUIRED
- protected (true|false) #REQUIRED
- sameNameSiblings (true|false) #REQUIRED
- >
- <!ELEMENT requiredPrimaryTypes (requiredPrimaryType+)>
- <!ELEMENT requiredPrimaryType (CDATA)>
-]>
Deleted:
jcr/trunk/component/core/src/main/java/org/exoplatform/services/jcr/impl/core/nodetype/nodetypes.xml
===================================================================
---
jcr/trunk/component/core/src/main/java/org/exoplatform/services/jcr/impl/core/nodetype/nodetypes.xml 2009-10-20
10:48:00 UTC (rev 317)
+++
jcr/trunk/component/core/src/main/java/org/exoplatform/services/jcr/impl/core/nodetype/nodetypes.xml 2009-10-20
11:36:31 UTC (rev 318)
@@ -1,563 +0,0 @@
-<nodeTypes
xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
xmlns:mix="http://www.jcp.org/jcr/mix/1.0"
xmlns:jcr="http://www.jcp.org/jcr/1.0"
xmlns:dc="http://purl.org/dc/elements/1.1">
-
- <!-- nt:base commented for example -->
- <nodeType name="nt:base" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <propertyDefinitions>
- <propertyDefinition name="jcr:primaryType"
requiredType="Name" autoCreated="true" mandatory="true"
onParentVersion="COMPUTE"
- protected="true" multiple="false">
- <valueConstraints /> <!-- ValueConstraints [], it's not null
array, it's empty array -->
- </propertyDefinition>
- <propertyDefinition name="jcr:mixinTypes"
requiredType="Name" autoCreated="false" mandatory="false"
onParentVersion="COMPUTE"
- protected="true" multiple="true">
- <valueConstraints /> <!-- ValueConstraints [], it's not null
array, it's empty array -->
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="nt:unstructured" isMixin="false"
hasOrderableChildNodes="true" primaryItemName="">
- <supertypes>
- <supertype>nt:base</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="*" requiredType="undefined"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="false"
- multiple="true">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="*" requiredType="undefined"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="false"
- multiple="false">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- <childNodeDefinitions>
- <childNodeDefinition name="*"
defaultPrimaryType="nt:unstructured" autoCreated="false"
mandatory="false" onParentVersion="VERSION"
- protected="false" sameNameSiblings="true">
- <requiredPrimaryTypes>
- <requiredPrimaryType>nt:base</requiredPrimaryType>
- </requiredPrimaryTypes>
- </childNodeDefinition>
- </childNodeDefinitions>
- </nodeType>
- <nodeType name="nt:hierarchyNode" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:base</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="jcr:created"
requiredType="Date" autoCreated="true" mandatory="false"
onParentVersion="INITIALIZE"
- protected="true" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
- <nodeType name="nt:file" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="jcr:content">
- <supertypes>
- <supertype>nt:hierarchyNode</supertype>
- </supertypes>
- <childNodeDefinitions>
- <childNodeDefinition name="jcr:content"
defaultPrimaryType="" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" sameNameSiblings="false">
- <requiredPrimaryTypes>
- <requiredPrimaryType>nt:base</requiredPrimaryType>
- </requiredPrimaryTypes>
- </childNodeDefinition>
- </childNodeDefinitions>
- </nodeType>
- <nodeType name="nt:linkedFile" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="jcr:content">
- <supertypes>
- <supertype>nt:hierarchyNode</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="jcr:content"
requiredType="Reference" autoCreated="false"
mandatory="true" onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
- <nodeType name="nt:folder" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:hierarchyNode</supertype>
- </supertypes>
- <childNodeDefinitions>
- <childNodeDefinition name="*" defaultPrimaryType=""
autoCreated="false" mandatory="false"
onParentVersion="VERSION" protected="false"
- sameNameSiblings="false">
- <requiredPrimaryTypes>
- <requiredPrimaryType>nt:hierarchyNode</requiredPrimaryType>
- </requiredPrimaryTypes>
- </childNodeDefinition>
- </childNodeDefinitions>
- </nodeType>
-
- <!-- nt:resource depends on mix:referenceable -->
- <nodeType name="mix:referenceable" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- <propertyDefinitions>
- <propertyDefinition name="jcr:uuid" requiredType="String"
autoCreated="true" mandatory="true"
onParentVersion="INITIALIZE"
- protected="true" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
- <nodeType name="nt:resource" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="jcr:data">
- <supertypes>
- <supertype>nt:base</supertype>
- <supertype>mix:referenceable</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="jcr:encoding"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="jcr:mimeType"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY" protected="false"
- multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="jcr:data" requiredType="Binary"
autoCreated="false" mandatory="true" onParentVersion="COPY"
protected="false"
- multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="jcr:lastModified"
requiredType="Date" autoCreated="false" mandatory="true"
onParentVersion="IGNORE"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <!-- nt:nodeType depends on nt:propertyDefinition, nt:childNodeDefinition -->
- <nodeType name="nt:propertyDefinition" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:base</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="jcr:name" requiredType="Name"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="false"
- multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="jcr:autoCreated"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="jcr:mandatory"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="jcr:onParentVersion"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints>
- <valueConstraint>COPY</valueConstraint>
- <valueConstraint>VERSION</valueConstraint>
- <valueConstraint>INITIALIZE</valueConstraint>
- <valueConstraint>COMPUTE</valueConstraint>
- <valueConstraint>IGNORE</valueConstraint>
- <valueConstraint>ABORT</valueConstraint>
- </valueConstraints>
- </propertyDefinition>
- <propertyDefinition name="jcr:protected"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="jcr:requiredType"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints>
- <valueConstraint>STRING</valueConstraint>
- <valueConstraint>BINARY</valueConstraint>
- <valueConstraint>LONG</valueConstraint>
- <valueConstraint>DOUBLE</valueConstraint>
- <valueConstraint>BOOLEAN</valueConstraint>
- <valueConstraint>DATE</valueConstraint>
- <valueConstraint>NAME</valueConstraint>
- <valueConstraint>PATH</valueConstraint>
- <valueConstraint>REFERENCE</valueConstraint>
- <valueConstraint>UNDEFINED</valueConstraint>
- </valueConstraints>
- </propertyDefinition>
- <propertyDefinition name="jcr:valueConstraints"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="true">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="jcr:defaultValues"
requiredType="undefined" autoCreated="false"
mandatory="false" onParentVersion="COPY"
- protected="false" multiple="true">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="jcr:multiple"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
- <nodeType name="nt:childNodeDefinition" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:base</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="jcr:name" requiredType="Name"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="false"
- multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="jcr:autoCreated"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="jcr:mandatory"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="jcr:onParentVersion"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints>
- <valueConstraint>COPY</valueConstraint>
- <valueConstraint>VERSION</valueConstraint>
- <valueConstraint>INITIALIZE</valueConstraint>
- <valueConstraint>COMPUTE</valueConstraint>
- <valueConstraint>IGNORE</valueConstraint>
- <valueConstraint>ABORT</valueConstraint>
- </valueConstraints>
- </propertyDefinition>
- <propertyDefinition name="jcr:protected"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="jcr:requiredPrimaryTypes"
requiredType="Name" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="true">
- <valueConstraints />
- <defaultValues>
- <defaultValue>nt:base</defaultValue>
- </defaultValues>
- </propertyDefinition>
- <propertyDefinition name="jcr:defaultPrimaryType"
requiredType="Name" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="jcr:sameNameSiblings"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
- <nodeType name="nt:nodeType" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:base</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="jcr:nodeTypeName"
requiredType="Name" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="jcr:supertypes"
requiredType="Name" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="true">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="jcr:isMixin"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY" protected="false"
- multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="jcr:hasOrderableChildNodes"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="jcr:primaryItemName"
requiredType="Name" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- <childNodeDefinitions>
- <childNodeDefinition name="jcr:propertyDefinition"
defaultPrimaryType="nt:propertyDefinition" autoCreated="false"
mandatory="false"
- onParentVersion="VERSION" protected="false"
sameNameSiblings="true">
- <requiredPrimaryTypes>
-
<requiredPrimaryType>nt:propertyDefinition</requiredPrimaryType>
- </requiredPrimaryTypes>
- </childNodeDefinition>
- <childNodeDefinition name="jcr:childNodeDefinition"
defaultPrimaryType="nt:childNodeDefinition" autoCreated="false"
mandatory="false"
- onParentVersion="VERSION" protected="false"
sameNameSiblings="true">
- <requiredPrimaryTypes>
-
<requiredPrimaryType>nt:childNodeDefinition</requiredPrimaryType>
- </requiredPrimaryTypes>
- </childNodeDefinition>
- </childNodeDefinitions>
- </nodeType>
-
- <nodeType name="nt:frozenNode" isMixin="false"
hasOrderableChildNodes="true" primaryItemName="">
- <supertypes>
- <supertype>nt:base</supertype>
- <supertype>mix:referenceable</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="jcr:frozenPrimaryType"
requiredType="Name" autoCreated="true" mandatory="true"
onParentVersion="ABORT"
- protected="true" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="jcr:frozenMixinTypes"
requiredType="Name" autoCreated="false" mandatory="false"
onParentVersion="ABORT"
- protected="true" multiple="true">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="jcr:frozenUuid"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="ABORT"
- protected="true" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="*" requiredType="undefined"
autoCreated="false" mandatory="false"
onParentVersion="ABORT" protected="true"
- multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="*" requiredType="undefined"
autoCreated="false" mandatory="false"
onParentVersion="ABORT" protected="true"
- multiple="true">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- <childNodeDefinitions>
- <childNodeDefinition name="*" defaultPrimaryType=""
autoCreated="false" mandatory="false"
onParentVersion="ABORT" protected="true"
- sameNameSiblings="true">
- <requiredPrimaryTypes>
- <requiredPrimaryType>nt:base</requiredPrimaryType>
- </requiredPrimaryTypes>
- </childNodeDefinition>
- </childNodeDefinitions>
- </nodeType>
- <nodeType name="nt:version" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:base</supertype>
- <supertype>mix:referenceable</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="jcr:created"
requiredType="Date" autoCreated="true" mandatory="true"
onParentVersion="ABORT" protected="true"
- multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="jcr:predecessors"
requiredType="Reference" autoCreated="false"
mandatory="false" onParentVersion="ABORT"
- protected="true" multiple="true">
- <valueConstraints>
- <valueConstraint>nt:version</valueConstraint>
- </valueConstraints>
- </propertyDefinition>
- <propertyDefinition name="jcr:successors"
requiredType="Reference" autoCreated="false"
mandatory="false" onParentVersion="ABORT"
- protected="true" multiple="true">
- <valueConstraints>
- <valueConstraint>nt:version</valueConstraint>
- </valueConstraints>
- </propertyDefinition>
- </propertyDefinitions>
- <childNodeDefinitions>
- <childNodeDefinition name="jcr:frozenNode"
defaultPrimaryType="" autoCreated="false" mandatory="false"
onParentVersion="ABORT"
- protected="true" sameNameSiblings="false">
- <requiredPrimaryTypes>
- <requiredPrimaryType>nt:frozenNode</requiredPrimaryType>
- </requiredPrimaryTypes>
- </childNodeDefinition>
- </childNodeDefinitions>
- </nodeType>
- <nodeType name="nt:versionLabels" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:base</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="*" requiredType="Reference"
autoCreated="false" mandatory="false"
onParentVersion="ABORT" protected="true"
- multiple="false">
- <valueConstraints>
- <valueConstraint>nt:version</valueConstraint>
- </valueConstraints>
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="nt:versionHistory" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:base</supertype>
- <supertype>mix:referenceable</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="jcr:versionableUuid"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="ABORT"
- protected="true" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- <childNodeDefinitions>
- <childNodeDefinition name="jcr:rootVersion"
defaultPrimaryType="nt:version" autoCreated="true"
mandatory="true" onParentVersion="ABORT"
- protected="true" sameNameSiblings="false">
- <requiredPrimaryTypes>
- <requiredPrimaryType>nt:version</requiredPrimaryType>
- </requiredPrimaryTypes>
- </childNodeDefinition>
- <childNodeDefinition name="jcr:versionLabels"
defaultPrimaryType="nt:versionLabels" autoCreated="true"
mandatory="true"
- onParentVersion="ABORT" protected="true"
sameNameSiblings="false">
- <requiredPrimaryTypes>
- <requiredPrimaryType>nt:versionLabels</requiredPrimaryType>
- </requiredPrimaryTypes>
- </childNodeDefinition>
- <childNodeDefinition name="*"
defaultPrimaryType="nt:version" autoCreated="false"
mandatory="false" onParentVersion="ABORT"
- protected="true" sameNameSiblings="false">
- <requiredPrimaryTypes>
- <requiredPrimaryType>nt:version</requiredPrimaryType>
- </requiredPrimaryTypes>
- </childNodeDefinition>
- </childNodeDefinitions>
- </nodeType>
- <nodeType name="nt:versionedChild" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:base</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="jcr:childVersionHistory"
requiredType="Reference" autoCreated="true" mandatory="true"
onParentVersion="ABORT"
- protected="true" multiple="false">
- <valueConstraints>
- <valueConstraint>nt:versionHistory</valueConstraint>
- </valueConstraints>
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
- <nodeType name="nt:query" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:base</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="jcr:statement"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="jcr:language"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="mix:lockable" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- <propertyDefinitions>
- <propertyDefinition name="jcr:lockOwner"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="IGNORE"
- protected="true" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="jcr:lockIsDeep"
requiredType="Boolean" autoCreated="false" mandatory="false"
onParentVersion="IGNORE"
- protected="true" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
- <nodeType name="mix:versionable" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>mix:referenceable</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="jcr:versionHistory"
requiredType="Reference" autoCreated="false"
mandatory="true" onParentVersion="COPY"
- protected="true" multiple="false">
- <valueConstraints>
- <valueConstraint>nt:versionHistory</valueConstraint>
- </valueConstraints>
- </propertyDefinition>
- <propertyDefinition name="jcr:baseVersion"
requiredType="Reference" autoCreated="false"
mandatory="true" onParentVersion="IGNORE"
- protected="true" multiple="false">
- <valueConstraints>
- <valueConstraint>nt:version</valueConstraint>
- </valueConstraints>
- </propertyDefinition>
- <propertyDefinition name="jcr:isCheckedOut"
requiredType="Boolean" autoCreated="true" mandatory="true"
onParentVersion="IGNORE"
- protected="true" multiple="false">
- <valueConstraints />
- <defaultValues>
- <defaultValue>true</defaultValue>
- </defaultValues>
- </propertyDefinition>
- <propertyDefinition name="jcr:predecessors"
requiredType="Reference" autoCreated="false"
mandatory="true" onParentVersion="COPY"
- protected="true" multiple="true">
- <valueConstraints>
- <valueConstraint>nt:version</valueConstraint>
- </valueConstraints>
- </propertyDefinition>
- <propertyDefinition name="jcr:mergeFailed"
requiredType="Reference" autoCreated="false"
mandatory="false" onParentVersion="ABORT"
- protected="true" multiple="true">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <!-- eXo impl nodetypes -->
-
- <nodeType name="exo:owneable" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- <propertyDefinitions>
- <propertyDefinition name="exo:owner"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="true"
- multiple="false">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:privilegeable" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- <propertyDefinitions>
- <propertyDefinition name="exo:permissions"
requiredType="Permission" autoCreated="true"
mandatory="true" onParentVersion="COPY"
- protected="false" multiple="true">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:accessControllable" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>exo:owneable</supertype>
- <supertype>exo:privilegeable</supertype>
- </supertypes>
- </nodeType>
-
-
- <!--
- nodeType name="exo:accessControllable" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
<propertyDefinitions> <propertyDefinition
- name="exo:owner" requiredType="String"
autoCreated="false" mandatory="true" onParentVersion="COPY"
protected="true" multiple="false"> <valueConstraints/>
- </propertyDefinition> <propertyDefinition name="exo:permissions"
requiredType="Permission" autoCreated="false"
mandatory="true" onParentVersion="COPY"
- protected="true" multiple="true"> <valueConstraints/>
</propertyDefinition> </propertyDefinitions> </nodeType
- -->
-
- <nodeType name="exo:namespace" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:base</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="exo:prefix"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY" protected="true"
- multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:uri" requiredType="String"
autoCreated="false" mandatory="true" onParentVersion="COPY"
protected="true"
- multiple="false">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:versionStorage" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:base</supertype>
- </supertypes>
- <childNodeDefinitions>
- <childNodeDefinition name="*"
defaultPrimaryType="nt:versionHistory" autoCreated="false"
mandatory="false" onParentVersion="ABORT"
- protected="true" sameNameSiblings="false">
- <requiredPrimaryTypes>
- <requiredPrimaryType>nt:versionHistory</requiredPrimaryType>
- </requiredPrimaryTypes>
- </childNodeDefinition>
- </childNodeDefinitions>
- </nodeType>
-
- <nodeType name="exo:mockNodeType" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:base</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="jcr:nodeTypeName"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="jcr:supertypes"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- <childNodeDefinitions>
- <childNodeDefinition name="jcr:childNodeDefinition"
defaultPrimaryType="nt:childNodeDefinition" autoCreated="false"
mandatory="false"
- onParentVersion="VERSION" protected="false"
sameNameSiblings="true">
- <requiredPrimaryTypes>
-
<requiredPrimaryType>nt:childNodeDefinition</requiredPrimaryType>
- </requiredPrimaryTypes>
- </childNodeDefinition>
- <childNodeDefinition name="jcr:childNodeDefinition"
defaultPrimaryType="nt:childNodeDefinition" autoCreated="false"
mandatory="false"
- onParentVersion="VERSION" protected="false"
sameNameSiblings="true">
- <requiredPrimaryTypes>
-
<requiredPrimaryType>nt:childNodeDefinition</requiredPrimaryType>
- </requiredPrimaryTypes>
- </childNodeDefinition>
- </childNodeDefinitions>
- </nodeType>
-
-</nodeTypes>
\ No newline at end of file
Deleted:
jcr/trunk/component/core/src/main/java/org/exoplatform/services/jcr/impl/core/query/lucene/indexing-configuration-1.0.dtd
===================================================================
---
jcr/trunk/component/core/src/main/java/org/exoplatform/services/jcr/impl/core/query/lucene/indexing-configuration-1.0.dtd 2009-10-20
10:48:00 UTC (rev 317)
+++
jcr/trunk/component/core/src/main/java/org/exoplatform/services/jcr/impl/core/query/lucene/indexing-configuration-1.0.dtd 2009-10-20
11:36:31 UTC (rev 318)
@@ -1,77 +0,0 @@
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
-
http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<!--
- The configuration element configures the indexing behaviour of the lucene
- backed query handler . It allows you to define indexing
- aggregates and configure which properties of a node are indexed.
- This element must contain all the namespace declarations that are used
- throughout this configuration.
--->
-<!ELEMENT configuration (aggregate*,index-rule*)>
-
-<!--
- Each aggregate element defines an indexing aggregate based on the name of a
- primary node type.
--->
-<!ELEMENT aggregate (include*)>
-<!ATTLIST aggregate primaryType CDATA #REQUIRED>
-
-<!--
- An include element contains a relative path pattern using either an exact
- node name or *. Nodes that match the path pattern against the root of an
- indexing aggregate are included in the aggregated node index. An include
- element may optionally specify a primary node type name that needs to match
- for the included node.
--->
-<!ELEMENT include (#PCDATA)>
-<!ATTLIST include primaryType CDATA #IMPLIED>
-
-<!--
- An index-rule element defines which properties of a node should be indexed.
- When a node is indexed the list of index-rules is check for a matching
- node type and whether the condition is true. If a match is found the
- property is looked up.
- The index-rule element also contains a boost value for the entire node
- being indexed. A value higher than 1.0 will boost the score value for a node
- that matched this index-rule.
--->
-<!ELEMENT index-rule (property*)>
-<!ATTLIST index-rule nodeType CDATA #REQUIRED
- condition CDATA #IMPLIED
- boost CDATA "1.0">
-
-<!--
- A property element defines the boost value for a matching property and a
- flag that indicates whether the value of a string property should also be
- included in the node scope fulltext index. Both boost and nodeScopeIndex
- attributes only affect string properties and are ignored if the property
- is not of type string.
--->
-<!ELEMENT property (#PCDATA)>
-<!ATTLIST property boost CDATA "1.0"
- nodeScopeIndex CDATA "true">
-
-<!--
- An analyzer element with property elements in it defines which analyzer is to
- be used for indexing and parsing the full text of this property. If the analyzer
- class can not be found, the default analyzer is used. The node scope is always
- indexed with the default analyzer, so might return different results for search
- queries in some rare cases.
--->
-<!ELEMENT analyzers (analyzer*)>
-<!ELEMENT analyzer (property*)>
-<!ATTLIST analyzer class CDATA #REQUIRED>
Deleted:
jcr/trunk/component/core/src/main/java/org/exoplatform/services/jcr/impl/core/query/lucene/indexing-configuration-1.1.dtd
===================================================================
---
jcr/trunk/component/core/src/main/java/org/exoplatform/services/jcr/impl/core/query/lucene/indexing-configuration-1.1.dtd 2009-10-20
10:48:00 UTC (rev 317)
+++
jcr/trunk/component/core/src/main/java/org/exoplatform/services/jcr/impl/core/query/lucene/indexing-configuration-1.1.dtd 2009-10-20
11:36:31 UTC (rev 318)
@@ -1,84 +0,0 @@
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
-
http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<!--
- The configuration element configures the indexing behaviour of the lucene
- backed query handler . It allows you to define indexing
- aggregates and configure which properties of a node are indexed.
- This element must contain all the namespace declarations that are used
- throughout this configuration.
--->
-<!ELEMENT configuration (aggregate*,index-rule*)>
-
-<!--
- Each aggregate element defines an indexing aggregate based on the name of a
- primary node type.
--->
-<!ELEMENT aggregate (include*)>
-<!ATTLIST aggregate primaryType CDATA #REQUIRED>
-
-<!--
- An include element contains a relative path pattern using either an exact
- node name or *. Nodes that match the path pattern against the root of an
- indexing aggregate are included in the aggregated node index. An include
- element may optionally specify a primary node type name that needs to match
- for the included node.
--->
-<!ELEMENT include (#PCDATA)>
-<!ATTLIST include primaryType CDATA #IMPLIED>
-
-<!--
- An index-rule element defines which properties of a node should be indexed.
- When a node is indexed the list of index-rules is check for a matching
- node type and whether the condition is true. If a match is found the
- property is looked up.
- The index-rule element also contains a boost value for the entire node
- being indexed. A value higher than 1.0 will boost the score value for a node
- that matched this index-rule.
--->
-<!ELEMENT index-rule (property*)>
-<!ATTLIST index-rule nodeType CDATA #REQUIRED
- condition CDATA #IMPLIED
- boost CDATA "1.0">
-
-<!--
- A property element defines the boost value for a matching property and a
- flag that indicates whether the value of a string property should also be
- included in the node scope fulltext index. Both boost and nodeScopeIndex
- attributes only affect string properties and are ignored if the property
- is not of type string. If isRegexp is set to true the name of the property
- is interpreted as a regular expression to match properties on a node. Please
- note that you may only use a regular expression for the local part of a
- property name. The attribute useInExcerpt controls whether the contents
- of the property is used to construct an excerpt. The default value for this
- attribute is true.
--->
-<!ELEMENT property (#PCDATA)>
-<!ATTLIST property boost CDATA "1.0"
- nodeScopeIndex CDATA "true"
- isRegexp CDATA "false"
- useInExcerpt CDATA "true">
-
-<!--
- An analyzer element with property elements in it defines which analyzer is to
- be used for indexing and parsing the full text of this property. If the analyzer
- class can not be found, the default analyzer is used. The node scope is always
- indexed with the default analyzer, so might return different results for search
- queries in some rare cases.
--->
-<!ELEMENT analyzers (analyzer*)>
-<!ELEMENT analyzer (property*)>
-<!ATTLIST analyzer class CDATA #REQUIRED>
Deleted:
jcr/trunk/component/core/src/main/java/org/exoplatform/services/jcr/impl/core/query/lucene/indexing-configuration-1.2.dtd
===================================================================
---
jcr/trunk/component/core/src/main/java/org/exoplatform/services/jcr/impl/core/query/lucene/indexing-configuration-1.2.dtd 2009-10-20
10:48:00 UTC (rev 317)
+++
jcr/trunk/component/core/src/main/java/org/exoplatform/services/jcr/impl/core/query/lucene/indexing-configuration-1.2.dtd 2009-10-20
11:36:31 UTC (rev 318)
@@ -1,93 +0,0 @@
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
-
http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<!--
- The configuration element configures the indexing behaviour of the lucene
- backed query handler. It allows you to define indexing
- aggregates and configure which properties of a node are indexed.
- This element must contain all the namespace declarations that are used
- throughout this configuration.
--->
-<!ELEMENT configuration (aggregate*,index-rule*)>
-
-<!--
- Each aggregate element defines an indexing aggregate based on the name of a
- primary node type.
--->
-<!ELEMENT aggregate (include*,include-property)>
-<!ATTLIST aggregate primaryType CDATA #REQUIRED>
-
-<!--
- An include element contains a relative path pattern using either an exact
- node name or *. Nodes that match the path pattern against the root of an
- indexing aggregate are included in the aggregated node index. An include
- element may optionally specify a primary node type name that needs to match
- for the included node.
--->
-<!ELEMENT include (#PCDATA)>
-<!ATTLIST include primaryType CDATA #IMPLIED>
-
-<!--
- An include-property element contains a relative path to a property. Properties
- that match the path against the root of an indexing aggregate are included
- in the aggregated node index. Aggregated properties may be used to speed
- up sorting of query results when the order by clause references a property
- with a relative path.
--->
-<!ELEMENT include-property (#PCDATA)>
-
-<!--
- An index-rule element defines which properties of a node should be indexed.
- When a node is indexed the list of index-rules is check for a matching
- node type and whether the condition is true. If a match is found the
- property is looked up.
- The index-rule element also contains a boost value for the entire node
- being indexed. A value higher than 1.0 will boost the score value for a node
- that matched this index-rule.
--->
-<!ELEMENT index-rule (property*)>
-<!ATTLIST index-rule nodeType CDATA #REQUIRED
- condition CDATA #IMPLIED
- boost CDATA "1.0">
-
-<!--
- A property element defines the boost value for a matching property and a
- flag that indicates whether the value of a string property should also be
- included in the node scope fulltext index. Both boost and nodeScopeIndex
- attributes only affect string properties and are ignored if the property
- is not of type string. If isRegexp is set to true the name of the property
- is interpreted as a regular expression to match properties on a node. Please
- note that you may only use a regular expression for the local part of a
- property name. The attribute useInExcerpt controls whether the contents
- of the property is used to construct an excerpt. The default value for this
- attribute is true.
--->
-<!ELEMENT property (#PCDATA)>
-<!ATTLIST property boost CDATA "1.0"
- nodeScopeIndex CDATA "true"
- isRegexp CDATA "false"
- useInExcerpt CDATA "true">
-
-<!--
- An analyzer element with property elements in it defines which analyzer is to
- be used for indexing and parsing the full text of this property. If the analyzer
- class can not be found, the default analyzer is used. The node scope is always
- indexed with the default analyzer, so might return different results for search
- queries in some rare cases.
--->
-<!ELEMENT analyzers (analyzer*)>
-<!ELEMENT analyzer (property*)>
-<!ATTLIST analyzer class CDATA #REQUIRED>
Copied: jcr/trunk/component/core/src/main/resources/conf/portal (from rev 316,
jcr/trunk/component/core/src/main/java/conf/portal)
Deleted: jcr/trunk/component/core/src/main/resources/jcr.gif
===================================================================
(Binary files differ)
Deleted: jcr/trunk/component/core/src/main/resources/log4j.properties
===================================================================
--- jcr/trunk/component/core/src/main/resources/log4j.properties 2009-10-20 10:48:00 UTC
(rev 317)
+++ jcr/trunk/component/core/src/main/resources/log4j.properties 2009-10-20 11:36:31 UTC
(rev 318)
@@ -1,25 +0,0 @@
-# Set root logger level to DEBUG and its only appender to A1.
-#log4j.rootLogger=INFO, file
-#log4j.rootLogger=DEBUG, file
-#log4j.rootLogger=DEBUG, stdout, file
-log4j.rootLogger=ERROR, stdout, file
-
-#log4j.logger.org.apache.jackrabbit.test=DEBUG
-#log4j.logger.org.exoplatform=DEBUG
-log4j.logger.org.hibernate=ERROR
-
-# 'stdout' is set to be a ConsoleAppender.
-log4j.appender.stdout=org.apache.log4j.ConsoleAppender
-
-# 'stdout' uses PatternLayout
-log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
-log4j.appender.stdout.layout.ConversionPattern=%d{dd.MM.yyyy HH:mm:ss} *%-5p* [%t] %c{1}:
%m (%F, line %L)\n
-
-# 'file' is set to be a FileAppender.
-log4j.appender.file=org.apache.log4j.FileAppender
-#log4j.appender.file.File=jcr.log
-log4j.appender.file.File=nul
-
-# 'file' uses PatternLayout.
-log4j.appender.file.layout=org.apache.log4j.PatternLayout
-log4j.appender.file.layout.ConversionPattern=%d{dd.MM.yyyy HH:mm:ss} *%-5p* [%t] %c{1}:
%m (%F, line %L)\n
Deleted: jcr/trunk/component/core/src/main/resources/login.conf
===================================================================
--- jcr/trunk/component/core/src/main/resources/login.conf 2009-10-20 10:48:00 UTC (rev
317)
+++ jcr/trunk/component/core/src/main/resources/login.conf 2009-10-20 11:36:31 UTC (rev
318)
@@ -1,3 +0,0 @@
-exo-domain {
- org.exoplatform.services.security.jaas.DefaultLoginModule required;
-};
\ No newline at end of file
Deleted: jcr/trunk/component/core/src/main/resources/login_prev.conf
===================================================================
--- jcr/trunk/component/core/src/main/resources/login_prev.conf 2009-10-20 10:48:00 UTC
(rev 317)
+++ jcr/trunk/component/core/src/main/resources/login_prev.conf 2009-10-20 11:36:31 UTC
(rev 318)
@@ -1,4 +0,0 @@
-exo-domain {
- org.exoplatform.services.security.jaas.StandaloneLoginModule required;
-};
-
Copied:
jcr/trunk/component/core/src/main/resources/org/exoplatform/services/jcr/impl/core/nodetype/nodetypes.dtd
(from rev 316,
jcr/trunk/component/core/src/main/java/org/exoplatform/services/jcr/impl/core/nodetype/nodetypes.dtd)
===================================================================
---
jcr/trunk/component/core/src/main/resources/org/exoplatform/services/jcr/impl/core/nodetype/nodetypes.dtd
(rev 0)
+++
jcr/trunk/component/core/src/main/resources/org/exoplatform/services/jcr/impl/core/nodetype/nodetypes.dtd 2009-10-20
11:36:31 UTC (rev 318)
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE nodeTypes [
+ <!ELEMENT nodeTypes (nodeType)*>
+ <!ELEMENT nodeType (supertypes?|propertyDefinitions?|childNodeDefinitions?)>
+
+ <!-- 18.01.06: primaryItemName, hasOrderableChildNodes attributes is optional
-->
+ <!ATTLIST nodeType
+ name CDATA #REQUIRED
+ isMixin (true|false) #REQUIRED
+ hasOrderableChildNodes (true|false)
+ primaryItemName CDATA
+ >
+ <!ELEMENT supertypes (supertype*)>
+ <!ELEMENT supertype (CDATA)>
+
+ <!ELEMENT propertyDefinitions (propertyDefinition*)>
+
+ <!ELEMENT propertyDefinition (valueConstraints?|defaultValues?)>
+ <!ATTLIST propertyDefinition
+ name CDATA #REQUIRED
+ requiredType (String|Date|Path|Name|Reference|Binary|Double|Long|Boolean|undefined)
#REQUIRED
+ autoCreated (true|false) #REQUIRED
+ mandatory (true|false) #REQUIRED
+ onParentVersion (COPY|VERSION|INITIALIZE|COMPUTE|IGNORE|ABORT) #REQUIRED
+ protected (true|false) #REQUIRED
+ multiple (true|false) #REQUIRED
+ >
+ <!-- For example if you need to set ValueConstraints [],
+ you have to add empty element <valueConstraints/>.
+ Same order for other properties like defaultValues, requiredPrimaryTypes etc.
+ -->
+ <!ELEMENT valueConstraints (valueConstraint*)>
+ <!ELEMENT valueConstraint (CDATA)>
+ <!ELEMENT defaultValues (defaultValue*)>
+ <!ELEMENT defaultValue (CDATA)>
+
+ <!ELEMENT childNodeDefinitions (childNodeDefinition*)>
+
+ <!ELEMENT childNodeDefinition (requiredPrimaryTypes)>
+ <!ATTLIST childNodeDefinition
+ name CDATA #REQUIRED
+ defaultPrimaryType CDATA #REQUIRED
+ autoCreated (true|false) #REQUIRED
+ mandatory (true|false) #REQUIRED
+ onParentVersion (COPY|VERSION|INITIALIZE|COMPUTE|IGNORE|ABORT) #REQUIRED
+ protected (true|false) #REQUIRED
+ sameNameSiblings (true|false) #REQUIRED
+ >
+ <!ELEMENT requiredPrimaryTypes (requiredPrimaryType+)>
+ <!ELEMENT requiredPrimaryType (CDATA)>
+]>
Copied:
jcr/trunk/component/core/src/main/resources/org/exoplatform/services/jcr/impl/core/nodetype/nodetypes.xml
(from rev 316,
jcr/trunk/component/core/src/main/java/org/exoplatform/services/jcr/impl/core/nodetype/nodetypes.xml)
===================================================================
---
jcr/trunk/component/core/src/main/resources/org/exoplatform/services/jcr/impl/core/nodetype/nodetypes.xml
(rev 0)
+++
jcr/trunk/component/core/src/main/resources/org/exoplatform/services/jcr/impl/core/nodetype/nodetypes.xml 2009-10-20
11:36:31 UTC (rev 318)
@@ -0,0 +1,563 @@
+<nodeTypes
xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
xmlns:mix="http://www.jcp.org/jcr/mix/1.0"
xmlns:jcr="http://www.jcp.org/jcr/1.0"
xmlns:dc="http://purl.org/dc/elements/1.1">
+
+ <!-- nt:base commented for example -->
+ <nodeType name="nt:base" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <propertyDefinitions>
+ <propertyDefinition name="jcr:primaryType"
requiredType="Name" autoCreated="true" mandatory="true"
onParentVersion="COMPUTE"
+ protected="true" multiple="false">
+ <valueConstraints /> <!-- ValueConstraints [], it's not null
array, it's empty array -->
+ </propertyDefinition>
+ <propertyDefinition name="jcr:mixinTypes"
requiredType="Name" autoCreated="false" mandatory="false"
onParentVersion="COMPUTE"
+ protected="true" multiple="true">
+ <valueConstraints /> <!-- ValueConstraints [], it's not null
array, it's empty array -->
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="nt:unstructured" isMixin="false"
hasOrderableChildNodes="true" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="*" requiredType="undefined"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="false"
+ multiple="true">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="*" requiredType="undefined"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ <childNodeDefinitions>
+ <childNodeDefinition name="*"
defaultPrimaryType="nt:unstructured" autoCreated="false"
mandatory="false" onParentVersion="VERSION"
+ protected="false" sameNameSiblings="true">
+ <requiredPrimaryTypes>
+ <requiredPrimaryType>nt:base</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ </childNodeDefinitions>
+ </nodeType>
+ <nodeType name="nt:hierarchyNode" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="jcr:created"
requiredType="Date" autoCreated="true" mandatory="false"
onParentVersion="INITIALIZE"
+ protected="true" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+ <nodeType name="nt:file" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="jcr:content">
+ <supertypes>
+ <supertype>nt:hierarchyNode</supertype>
+ </supertypes>
+ <childNodeDefinitions>
+ <childNodeDefinition name="jcr:content"
defaultPrimaryType="" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" sameNameSiblings="false">
+ <requiredPrimaryTypes>
+ <requiredPrimaryType>nt:base</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ </childNodeDefinitions>
+ </nodeType>
+ <nodeType name="nt:linkedFile" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="jcr:content">
+ <supertypes>
+ <supertype>nt:hierarchyNode</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="jcr:content"
requiredType="Reference" autoCreated="false"
mandatory="true" onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+ <nodeType name="nt:folder" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:hierarchyNode</supertype>
+ </supertypes>
+ <childNodeDefinitions>
+ <childNodeDefinition name="*" defaultPrimaryType=""
autoCreated="false" mandatory="false"
onParentVersion="VERSION" protected="false"
+ sameNameSiblings="false">
+ <requiredPrimaryTypes>
+ <requiredPrimaryType>nt:hierarchyNode</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ </childNodeDefinitions>
+ </nodeType>
+
+ <!-- nt:resource depends on mix:referenceable -->
+ <nodeType name="mix:referenceable" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <propertyDefinitions>
+ <propertyDefinition name="jcr:uuid" requiredType="String"
autoCreated="true" mandatory="true"
onParentVersion="INITIALIZE"
+ protected="true" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+ <nodeType name="nt:resource" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="jcr:data">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ <supertype>mix:referenceable</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="jcr:encoding"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="jcr:mimeType"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY" protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="jcr:data" requiredType="Binary"
autoCreated="false" mandatory="true" onParentVersion="COPY"
protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="jcr:lastModified"
requiredType="Date" autoCreated="false" mandatory="true"
onParentVersion="IGNORE"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <!-- nt:nodeType depends on nt:propertyDefinition, nt:childNodeDefinition -->
+ <nodeType name="nt:propertyDefinition" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="jcr:name" requiredType="Name"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="jcr:autoCreated"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="jcr:mandatory"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="jcr:onParentVersion"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints>
+ <valueConstraint>COPY</valueConstraint>
+ <valueConstraint>VERSION</valueConstraint>
+ <valueConstraint>INITIALIZE</valueConstraint>
+ <valueConstraint>COMPUTE</valueConstraint>
+ <valueConstraint>IGNORE</valueConstraint>
+ <valueConstraint>ABORT</valueConstraint>
+ </valueConstraints>
+ </propertyDefinition>
+ <propertyDefinition name="jcr:protected"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="jcr:requiredType"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints>
+ <valueConstraint>STRING</valueConstraint>
+ <valueConstraint>BINARY</valueConstraint>
+ <valueConstraint>LONG</valueConstraint>
+ <valueConstraint>DOUBLE</valueConstraint>
+ <valueConstraint>BOOLEAN</valueConstraint>
+ <valueConstraint>DATE</valueConstraint>
+ <valueConstraint>NAME</valueConstraint>
+ <valueConstraint>PATH</valueConstraint>
+ <valueConstraint>REFERENCE</valueConstraint>
+ <valueConstraint>UNDEFINED</valueConstraint>
+ </valueConstraints>
+ </propertyDefinition>
+ <propertyDefinition name="jcr:valueConstraints"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="true">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="jcr:defaultValues"
requiredType="undefined" autoCreated="false"
mandatory="false" onParentVersion="COPY"
+ protected="false" multiple="true">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="jcr:multiple"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+ <nodeType name="nt:childNodeDefinition" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="jcr:name" requiredType="Name"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="jcr:autoCreated"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="jcr:mandatory"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="jcr:onParentVersion"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints>
+ <valueConstraint>COPY</valueConstraint>
+ <valueConstraint>VERSION</valueConstraint>
+ <valueConstraint>INITIALIZE</valueConstraint>
+ <valueConstraint>COMPUTE</valueConstraint>
+ <valueConstraint>IGNORE</valueConstraint>
+ <valueConstraint>ABORT</valueConstraint>
+ </valueConstraints>
+ </propertyDefinition>
+ <propertyDefinition name="jcr:protected"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="jcr:requiredPrimaryTypes"
requiredType="Name" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="true">
+ <valueConstraints />
+ <defaultValues>
+ <defaultValue>nt:base</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ <propertyDefinition name="jcr:defaultPrimaryType"
requiredType="Name" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="jcr:sameNameSiblings"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+ <nodeType name="nt:nodeType" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="jcr:nodeTypeName"
requiredType="Name" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="jcr:supertypes"
requiredType="Name" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="true">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="jcr:isMixin"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY" protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="jcr:hasOrderableChildNodes"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="jcr:primaryItemName"
requiredType="Name" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ <childNodeDefinitions>
+ <childNodeDefinition name="jcr:propertyDefinition"
defaultPrimaryType="nt:propertyDefinition" autoCreated="false"
mandatory="false"
+ onParentVersion="VERSION" protected="false"
sameNameSiblings="true">
+ <requiredPrimaryTypes>
+
<requiredPrimaryType>nt:propertyDefinition</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ <childNodeDefinition name="jcr:childNodeDefinition"
defaultPrimaryType="nt:childNodeDefinition" autoCreated="false"
mandatory="false"
+ onParentVersion="VERSION" protected="false"
sameNameSiblings="true">
+ <requiredPrimaryTypes>
+
<requiredPrimaryType>nt:childNodeDefinition</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ </childNodeDefinitions>
+ </nodeType>
+
+ <nodeType name="nt:frozenNode" isMixin="false"
hasOrderableChildNodes="true" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ <supertype>mix:referenceable</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="jcr:frozenPrimaryType"
requiredType="Name" autoCreated="true" mandatory="true"
onParentVersion="ABORT"
+ protected="true" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="jcr:frozenMixinTypes"
requiredType="Name" autoCreated="false" mandatory="false"
onParentVersion="ABORT"
+ protected="true" multiple="true">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="jcr:frozenUuid"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="ABORT"
+ protected="true" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="*" requiredType="undefined"
autoCreated="false" mandatory="false"
onParentVersion="ABORT" protected="true"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="*" requiredType="undefined"
autoCreated="false" mandatory="false"
onParentVersion="ABORT" protected="true"
+ multiple="true">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ <childNodeDefinitions>
+ <childNodeDefinition name="*" defaultPrimaryType=""
autoCreated="false" mandatory="false"
onParentVersion="ABORT" protected="true"
+ sameNameSiblings="true">
+ <requiredPrimaryTypes>
+ <requiredPrimaryType>nt:base</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ </childNodeDefinitions>
+ </nodeType>
+ <nodeType name="nt:version" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ <supertype>mix:referenceable</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="jcr:created"
requiredType="Date" autoCreated="true" mandatory="true"
onParentVersion="ABORT" protected="true"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="jcr:predecessors"
requiredType="Reference" autoCreated="false"
mandatory="false" onParentVersion="ABORT"
+ protected="true" multiple="true">
+ <valueConstraints>
+ <valueConstraint>nt:version</valueConstraint>
+ </valueConstraints>
+ </propertyDefinition>
+ <propertyDefinition name="jcr:successors"
requiredType="Reference" autoCreated="false"
mandatory="false" onParentVersion="ABORT"
+ protected="true" multiple="true">
+ <valueConstraints>
+ <valueConstraint>nt:version</valueConstraint>
+ </valueConstraints>
+ </propertyDefinition>
+ </propertyDefinitions>
+ <childNodeDefinitions>
+ <childNodeDefinition name="jcr:frozenNode"
defaultPrimaryType="" autoCreated="false" mandatory="false"
onParentVersion="ABORT"
+ protected="true" sameNameSiblings="false">
+ <requiredPrimaryTypes>
+ <requiredPrimaryType>nt:frozenNode</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ </childNodeDefinitions>
+ </nodeType>
+ <nodeType name="nt:versionLabels" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="*" requiredType="Reference"
autoCreated="false" mandatory="false"
onParentVersion="ABORT" protected="true"
+ multiple="false">
+ <valueConstraints>
+ <valueConstraint>nt:version</valueConstraint>
+ </valueConstraints>
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="nt:versionHistory" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ <supertype>mix:referenceable</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="jcr:versionableUuid"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="ABORT"
+ protected="true" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ <childNodeDefinitions>
+ <childNodeDefinition name="jcr:rootVersion"
defaultPrimaryType="nt:version" autoCreated="true"
mandatory="true" onParentVersion="ABORT"
+ protected="true" sameNameSiblings="false">
+ <requiredPrimaryTypes>
+ <requiredPrimaryType>nt:version</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ <childNodeDefinition name="jcr:versionLabels"
defaultPrimaryType="nt:versionLabels" autoCreated="true"
mandatory="true"
+ onParentVersion="ABORT" protected="true"
sameNameSiblings="false">
+ <requiredPrimaryTypes>
+ <requiredPrimaryType>nt:versionLabels</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ <childNodeDefinition name="*"
defaultPrimaryType="nt:version" autoCreated="false"
mandatory="false" onParentVersion="ABORT"
+ protected="true" sameNameSiblings="false">
+ <requiredPrimaryTypes>
+ <requiredPrimaryType>nt:version</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ </childNodeDefinitions>
+ </nodeType>
+ <nodeType name="nt:versionedChild" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="jcr:childVersionHistory"
requiredType="Reference" autoCreated="true" mandatory="true"
onParentVersion="ABORT"
+ protected="true" multiple="false">
+ <valueConstraints>
+ <valueConstraint>nt:versionHistory</valueConstraint>
+ </valueConstraints>
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+ <nodeType name="nt:query" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="jcr:statement"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="jcr:language"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="mix:lockable" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <propertyDefinitions>
+ <propertyDefinition name="jcr:lockOwner"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="IGNORE"
+ protected="true" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="jcr:lockIsDeep"
requiredType="Boolean" autoCreated="false" mandatory="false"
onParentVersion="IGNORE"
+ protected="true" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+ <nodeType name="mix:versionable" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>mix:referenceable</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="jcr:versionHistory"
requiredType="Reference" autoCreated="false"
mandatory="true" onParentVersion="COPY"
+ protected="true" multiple="false">
+ <valueConstraints>
+ <valueConstraint>nt:versionHistory</valueConstraint>
+ </valueConstraints>
+ </propertyDefinition>
+ <propertyDefinition name="jcr:baseVersion"
requiredType="Reference" autoCreated="false"
mandatory="true" onParentVersion="IGNORE"
+ protected="true" multiple="false">
+ <valueConstraints>
+ <valueConstraint>nt:version</valueConstraint>
+ </valueConstraints>
+ </propertyDefinition>
+ <propertyDefinition name="jcr:isCheckedOut"
requiredType="Boolean" autoCreated="true" mandatory="true"
onParentVersion="IGNORE"
+ protected="true" multiple="false">
+ <valueConstraints />
+ <defaultValues>
+ <defaultValue>true</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ <propertyDefinition name="jcr:predecessors"
requiredType="Reference" autoCreated="false"
mandatory="true" onParentVersion="COPY"
+ protected="true" multiple="true">
+ <valueConstraints>
+ <valueConstraint>nt:version</valueConstraint>
+ </valueConstraints>
+ </propertyDefinition>
+ <propertyDefinition name="jcr:mergeFailed"
requiredType="Reference" autoCreated="false"
mandatory="false" onParentVersion="ABORT"
+ protected="true" multiple="true">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <!-- eXo impl nodetypes -->
+
+ <nodeType name="exo:owneable" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <propertyDefinitions>
+ <propertyDefinition name="exo:owner"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="true"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:privilegeable" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <propertyDefinitions>
+ <propertyDefinition name="exo:permissions"
requiredType="Permission" autoCreated="true"
mandatory="true" onParentVersion="COPY"
+ protected="false" multiple="true">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:accessControllable" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:owneable</supertype>
+ <supertype>exo:privilegeable</supertype>
+ </supertypes>
+ </nodeType>
+
+
+ <!--
+ nodeType name="exo:accessControllable" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
<propertyDefinitions> <propertyDefinition
+ name="exo:owner" requiredType="String"
autoCreated="false" mandatory="true" onParentVersion="COPY"
protected="true" multiple="false"> <valueConstraints/>
+ </propertyDefinition> <propertyDefinition name="exo:permissions"
requiredType="Permission" autoCreated="false"
mandatory="true" onParentVersion="COPY"
+ protected="true" multiple="true"> <valueConstraints/>
</propertyDefinition> </propertyDefinitions> </nodeType
+ -->
+
+ <nodeType name="exo:namespace" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:prefix"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY" protected="true"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:uri" requiredType="String"
autoCreated="false" mandatory="true" onParentVersion="COPY"
protected="true"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:versionStorage" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <childNodeDefinitions>
+ <childNodeDefinition name="*"
defaultPrimaryType="nt:versionHistory" autoCreated="false"
mandatory="false" onParentVersion="ABORT"
+ protected="true" sameNameSiblings="false">
+ <requiredPrimaryTypes>
+ <requiredPrimaryType>nt:versionHistory</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ </childNodeDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:mockNodeType" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="jcr:nodeTypeName"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="jcr:supertypes"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ <childNodeDefinitions>
+ <childNodeDefinition name="jcr:childNodeDefinition"
defaultPrimaryType="nt:childNodeDefinition" autoCreated="false"
mandatory="false"
+ onParentVersion="VERSION" protected="false"
sameNameSiblings="true">
+ <requiredPrimaryTypes>
+
<requiredPrimaryType>nt:childNodeDefinition</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ <childNodeDefinition name="jcr:childNodeDefinition"
defaultPrimaryType="nt:childNodeDefinition" autoCreated="false"
mandatory="false"
+ onParentVersion="VERSION" protected="false"
sameNameSiblings="true">
+ <requiredPrimaryTypes>
+
<requiredPrimaryType>nt:childNodeDefinition</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ </childNodeDefinitions>
+ </nodeType>
+
+</nodeTypes>
\ No newline at end of file
Copied:
jcr/trunk/component/core/src/main/resources/org/exoplatform/services/jcr/impl/core/query/lucene/indexing-configuration-1.0.dtd
(from rev 316,
jcr/trunk/component/core/src/main/java/org/exoplatform/services/jcr/impl/core/query/lucene/indexing-configuration-1.0.dtd)
===================================================================
---
jcr/trunk/component/core/src/main/resources/org/exoplatform/services/jcr/impl/core/query/lucene/indexing-configuration-1.0.dtd
(rev 0)
+++
jcr/trunk/component/core/src/main/resources/org/exoplatform/services/jcr/impl/core/query/lucene/indexing-configuration-1.0.dtd 2009-10-20
11:36:31 UTC (rev 318)
@@ -0,0 +1,77 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+
http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!--
+ The configuration element configures the indexing behaviour of the lucene
+ backed query handler . It allows you to define indexing
+ aggregates and configure which properties of a node are indexed.
+ This element must contain all the namespace declarations that are used
+ throughout this configuration.
+-->
+<!ELEMENT configuration (aggregate*,index-rule*)>
+
+<!--
+ Each aggregate element defines an indexing aggregate based on the name of a
+ primary node type.
+-->
+<!ELEMENT aggregate (include*)>
+<!ATTLIST aggregate primaryType CDATA #REQUIRED>
+
+<!--
+ An include element contains a relative path pattern using either an exact
+ node name or *. Nodes that match the path pattern against the root of an
+ indexing aggregate are included in the aggregated node index. An include
+ element may optionally specify a primary node type name that needs to match
+ for the included node.
+-->
+<!ELEMENT include (#PCDATA)>
+<!ATTLIST include primaryType CDATA #IMPLIED>
+
+<!--
+ An index-rule element defines which properties of a node should be indexed.
+ When a node is indexed the list of index-rules is check for a matching
+ node type and whether the condition is true. If a match is found the
+ property is looked up.
+ The index-rule element also contains a boost value for the entire node
+ being indexed. A value higher than 1.0 will boost the score value for a node
+ that matched this index-rule.
+-->
+<!ELEMENT index-rule (property*)>
+<!ATTLIST index-rule nodeType CDATA #REQUIRED
+ condition CDATA #IMPLIED
+ boost CDATA "1.0">
+
+<!--
+ A property element defines the boost value for a matching property and a
+ flag that indicates whether the value of a string property should also be
+ included in the node scope fulltext index. Both boost and nodeScopeIndex
+ attributes only affect string properties and are ignored if the property
+ is not of type string.
+-->
+<!ELEMENT property (#PCDATA)>
+<!ATTLIST property boost CDATA "1.0"
+ nodeScopeIndex CDATA "true">
+
+<!--
+ An analyzer element with property elements in it defines which analyzer is to
+ be used for indexing and parsing the full text of this property. If the analyzer
+ class can not be found, the default analyzer is used. The node scope is always
+ indexed with the default analyzer, so might return different results for search
+ queries in some rare cases.
+-->
+<!ELEMENT analyzers (analyzer*)>
+<!ELEMENT analyzer (property*)>
+<!ATTLIST analyzer class CDATA #REQUIRED>
Copied:
jcr/trunk/component/core/src/main/resources/org/exoplatform/services/jcr/impl/core/query/lucene/indexing-configuration-1.1.dtd
(from rev 316,
jcr/trunk/component/core/src/main/java/org/exoplatform/services/jcr/impl/core/query/lucene/indexing-configuration-1.1.dtd)
===================================================================
---
jcr/trunk/component/core/src/main/resources/org/exoplatform/services/jcr/impl/core/query/lucene/indexing-configuration-1.1.dtd
(rev 0)
+++
jcr/trunk/component/core/src/main/resources/org/exoplatform/services/jcr/impl/core/query/lucene/indexing-configuration-1.1.dtd 2009-10-20
11:36:31 UTC (rev 318)
@@ -0,0 +1,84 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+
http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!--
+ The configuration element configures the indexing behaviour of the lucene
+ backed query handler . It allows you to define indexing
+ aggregates and configure which properties of a node are indexed.
+ This element must contain all the namespace declarations that are used
+ throughout this configuration.
+-->
+<!ELEMENT configuration (aggregate*,index-rule*)>
+
+<!--
+ Each aggregate element defines an indexing aggregate based on the name of a
+ primary node type.
+-->
+<!ELEMENT aggregate (include*)>
+<!ATTLIST aggregate primaryType CDATA #REQUIRED>
+
+<!--
+ An include element contains a relative path pattern using either an exact
+ node name or *. Nodes that match the path pattern against the root of an
+ indexing aggregate are included in the aggregated node index. An include
+ element may optionally specify a primary node type name that needs to match
+ for the included node.
+-->
+<!ELEMENT include (#PCDATA)>
+<!ATTLIST include primaryType CDATA #IMPLIED>
+
+<!--
+ An index-rule element defines which properties of a node should be indexed.
+ When a node is indexed the list of index-rules is check for a matching
+ node type and whether the condition is true. If a match is found the
+ property is looked up.
+ The index-rule element also contains a boost value for the entire node
+ being indexed. A value higher than 1.0 will boost the score value for a node
+ that matched this index-rule.
+-->
+<!ELEMENT index-rule (property*)>
+<!ATTLIST index-rule nodeType CDATA #REQUIRED
+ condition CDATA #IMPLIED
+ boost CDATA "1.0">
+
+<!--
+ A property element defines the boost value for a matching property and a
+ flag that indicates whether the value of a string property should also be
+ included in the node scope fulltext index. Both boost and nodeScopeIndex
+ attributes only affect string properties and are ignored if the property
+ is not of type string. If isRegexp is set to true the name of the property
+ is interpreted as a regular expression to match properties on a node. Please
+ note that you may only use a regular expression for the local part of a
+ property name. The attribute useInExcerpt controls whether the contents
+ of the property is used to construct an excerpt. The default value for this
+ attribute is true.
+-->
+<!ELEMENT property (#PCDATA)>
+<!ATTLIST property boost CDATA "1.0"
+ nodeScopeIndex CDATA "true"
+ isRegexp CDATA "false"
+ useInExcerpt CDATA "true">
+
+<!--
+ An analyzer element with property elements in it defines which analyzer is to
+ be used for indexing and parsing the full text of this property. If the analyzer
+ class can not be found, the default analyzer is used. The node scope is always
+ indexed with the default analyzer, so might return different results for search
+ queries in some rare cases.
+-->
+<!ELEMENT analyzers (analyzer*)>
+<!ELEMENT analyzer (property*)>
+<!ATTLIST analyzer class CDATA #REQUIRED>
Property changes on:
jcr/trunk/component/core/src/main/resources/org/exoplatform/services/jcr/impl/core/query/lucene/indexing-configuration-1.1.dtd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied:
jcr/trunk/component/core/src/main/resources/org/exoplatform/services/jcr/impl/core/query/lucene/indexing-configuration-1.2.dtd
(from rev 316,
jcr/trunk/component/core/src/main/java/org/exoplatform/services/jcr/impl/core/query/lucene/indexing-configuration-1.2.dtd)
===================================================================
---
jcr/trunk/component/core/src/main/resources/org/exoplatform/services/jcr/impl/core/query/lucene/indexing-configuration-1.2.dtd
(rev 0)
+++
jcr/trunk/component/core/src/main/resources/org/exoplatform/services/jcr/impl/core/query/lucene/indexing-configuration-1.2.dtd 2009-10-20
11:36:31 UTC (rev 318)
@@ -0,0 +1,93 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+
http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!--
+ The configuration element configures the indexing behaviour of the lucene
+ backed query handler. It allows you to define indexing
+ aggregates and configure which properties of a node are indexed.
+ This element must contain all the namespace declarations that are used
+ throughout this configuration.
+-->
+<!ELEMENT configuration (aggregate*,index-rule*)>
+
+<!--
+ Each aggregate element defines an indexing aggregate based on the name of a
+ primary node type.
+-->
+<!ELEMENT aggregate (include*,include-property)>
+<!ATTLIST aggregate primaryType CDATA #REQUIRED>
+
+<!--
+ An include element contains a relative path pattern using either an exact
+ node name or *. Nodes that match the path pattern against the root of an
+ indexing aggregate are included in the aggregated node index. An include
+ element may optionally specify a primary node type name that needs to match
+ for the included node.
+-->
+<!ELEMENT include (#PCDATA)>
+<!ATTLIST include primaryType CDATA #IMPLIED>
+
+<!--
+ An include-property element contains a relative path to a property. Properties
+ that match the path against the root of an indexing aggregate are included
+ in the aggregated node index. Aggregated properties may be used to speed
+ up sorting of query results when the order by clause references a property
+ with a relative path.
+-->
+<!ELEMENT include-property (#PCDATA)>
+
+<!--
+ An index-rule element defines which properties of a node should be indexed.
+ When a node is indexed the list of index-rules is check for a matching
+ node type and whether the condition is true. If a match is found the
+ property is looked up.
+ The index-rule element also contains a boost value for the entire node
+ being indexed. A value higher than 1.0 will boost the score value for a node
+ that matched this index-rule.
+-->
+<!ELEMENT index-rule (property*)>
+<!ATTLIST index-rule nodeType CDATA #REQUIRED
+ condition CDATA #IMPLIED
+ boost CDATA "1.0">
+
+<!--
+ A property element defines the boost value for a matching property and a
+ flag that indicates whether the value of a string property should also be
+ included in the node scope fulltext index. Both boost and nodeScopeIndex
+ attributes only affect string properties and are ignored if the property
+ is not of type string. If isRegexp is set to true the name of the property
+ is interpreted as a regular expression to match properties on a node. Please
+ note that you may only use a regular expression for the local part of a
+ property name. The attribute useInExcerpt controls whether the contents
+ of the property is used to construct an excerpt. The default value for this
+ attribute is true.
+-->
+<!ELEMENT property (#PCDATA)>
+<!ATTLIST property boost CDATA "1.0"
+ nodeScopeIndex CDATA "true"
+ isRegexp CDATA "false"
+ useInExcerpt CDATA "true">
+
+<!--
+ An analyzer element with property elements in it defines which analyzer is to
+ be used for indexing and parsing the full text of this property. If the analyzer
+ class can not be found, the default analyzer is used. The node scope is always
+ indexed with the default analyzer, so might return different results for search
+ queries in some rare cases.
+-->
+<!ELEMENT analyzers (analyzer*)>
+<!ELEMENT analyzer (property*)>
+<!ATTLIST analyzer class CDATA #REQUIRED>
Property changes on:
jcr/trunk/component/core/src/main/resources/org/exoplatform/services/jcr/impl/core/query/lucene/indexing-configuration-1.2.dtd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Deleted: jcr/trunk/component/core/src/main/resources/repositoryStubImpl.properties
===================================================================
--- jcr/trunk/component/core/src/main/resources/repositoryStubImpl.properties 2009-10-20
10:48:00 UTC (rev 317)
+++ jcr/trunk/component/core/src/main/resources/repositoryStubImpl.properties 2009-10-20
11:36:31 UTC (rev 318)
@@ -1,516 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-#
http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-#
-# This is the configuration file for the jackrabbit repository test stub.
-#
-
-javax.jcr.tck.repository_stub_impl=org.exoplatform.services.jcr.ExoRepositoryStub
-# javax.jcr.tck.repository_stub_impl=org.exoplatform.services.jcr.ExoRMIRepositoryStub
-#javax.jcr.tck.repository_stub_impl=org.exoplatform.services.jcr.ExoRMIJNDIRepositoryStub
-
-# repository specific configuration
-org.apache.jackrabbit.repository.config=applications/test/repository.xml
-org.apache.jackrabbit.repository.name=repo
-org.apache.jackrabbit.repository.home=applications/test
-org.apache.jackrabbit.repository.jaas.config=src/resources/login.conf
-
-# credential configuration
-javax.jcr.tck.superuser.name=root
-javax.jcr.tck.superuser.pwd=exo
-javax.jcr.tck.readwrite.name=root
-javax.jcr.tck.readwrite.pwd=exo
-javax.jcr.tck.readonly.name=__anonim
-javax.jcr.tck.readonly.pwd=any
-
-# global test configuration
-javax.jcr.tck.testroot=/testroot
-javax.jcr.tck.nodetype=nt:unstructured
-javax.jcr.tck.nodename1=node1
-javax.jcr.tck.nodename2=node2
-javax.jcr.tck.nodename3=node3
-javax.jcr.tck.nodename4=node4
-javax.jcr.tck.propertyname1=prop1
-javax.jcr.tck.propertyname2=prop2
-javax.jcr.tck.propertyvalue1=value1
-javax.jcr.tck.propertyvalue2=value2
-#javax.jcr.tck.propertytype1=String
-#javax.jcr.tck.propertytype2=String
-javax.jcr.tck.workspacename=ws2
-
-# namespace configuration
-javax.jcr.tck.namespaces=test
-javax.jcr.tck.namespaces.test=http://www.apache.org/jackrabbit/test
-
-# sample for per test case config overriding
-# Test class: AddNodeText
-# Test method: testName
-javax.jcr.tck.AddNodeTest.testName.nodename1=myname
-
-# ==============================================================================
-# JAVAX.JCR CONFIGURATION
-# ==============================================================================
-
-# Test class: ItemDefTest
-javax.jcr.tck.ItemDefTest.testroot=/testdata
-
-# Test class: ItemReadMethodsTest
-javax.jcr.tck.ItemReadMethodsTest.testroot=/testdata
-
-# Test class: NodeReadMethodsTest
-javax.jcr.tck.NodeReadMethodsTest.testroot=/testdata
-
-# Test class: PropertyTypeTest
-javax.jcr.tck.PropertyTypeTest.testroot=/testdata
-
-# Test class: BinaryPropertyTest
-javax.jcr.tck.BinaryPropertyTest.testroot=/testdata
-
-# Test class: BooleanPropertyTest
-javax.jcr.tck.BooleanPropertyTest.testroot=/testdata
-
-# Test class: DatePropertyTest
-javax.jcr.tck.DatePropertyTest.testroot=/testdata
-
-# Test class: DoublePropertyTest
-javax.jcr.tck.DoublePropertyTest.testroot=/testdata
-
-# Test class: LongPropertyTest
-javax.jcr.tck.LongPropertyTest.testroot=/testdata
-
-# Test class: NamePropertyTest
-javax.jcr.tck.NamePropertyTest.testroot=/testdata
-
-# Test class: PathPropertyTest
-javax.jcr.tck.PathPropertyTest.testroot=/testdata
-
-# Test class: ReferencePropertyTest
-javax.jcr.tck.ReferencePropertyTest.testroot=/testdata
-
-# Test class: StringPropertyTest
-javax.jcr.tck.StringPropertyTest.testroot=/testdata
-
-# Test class: SetValueVersionExceptionTest
-# nodetype2: nodetype with a reference property
-javax.jcr.tck.SetValueVersionExceptionTest.nodetype2=nt:linkedFile
-# propertyname3: name of the single value reference property
-javax.jcr.tck.SetValueVersionExceptionTest.propertyname3=jcr:content
-
-# Test class: SetValueValueFormatExceptionTest
-javax.jcr.tck.SetValueValueFormatExceptionTest.nodetype=test:canSetProperty
-javax.jcr.tck.SetValueValueFormatExceptionTest.testValue.propertyname1=Boolean
-javax.jcr.tck.SetValueValueFormatExceptionTest.testValueArray.propertyname1=BooleanMultiple
-javax.jcr.tck.SetValueValueFormatExceptionTest.testString.propertyname1=Date
-javax.jcr.tck.SetValueValueFormatExceptionTest.testStringArray.propertyname1=DateMultiple
-javax.jcr.tck.SetValueValueFormatExceptionTest.testInputStream.propertyname1=Date
-javax.jcr.tck.SetValueValueFormatExceptionTest.testLong.propertyname1=Boolean
-javax.jcr.tck.SetValueValueFormatExceptionTest.testDouble.propertyname1=Boolean
-javax.jcr.tck.SetValueValueFormatExceptionTest.testCalendar.propertyname1=Boolean
-javax.jcr.tck.SetValueValueFormatExceptionTest.testBoolean.propertyname1=Date
-javax.jcr.tck.SetValueValueFormatExceptionTest.testNode.propertyname1=Boolean
-
-# Test class: SetPropertyAssumeTypeTest
-javax.jcr.tck.SetPropertyAssumeTypeTest.nodetype=test:canSetProperty
-javax.jcr.tck.SetPropertyAssumeTypeTest.testStringConstraintViolationExceptionBecauseOfInvalidTypeParameter.propertyname1=String
-javax.jcr.tck.SetPropertyAssumeTypeTest.testValueConstraintViolationExceptionBecauseOfInvalidTypeParameter.propertyname1=String
-javax.jcr.tck.SetPropertyAssumeTypeTest.testValuesConstraintViolationExceptionBecauseOfInvalidTypeParameter.propertyname1=StringMultiple
-
-# Test class: UndefinedPropertyTest
-javax.jcr.tck.UndefinedPropertyTest.testroot=/testdata
-
-# Test class: PropertyReadMethodsTest
-javax.jcr.tck.PropertyReadMethodsTest.testroot=/testdata
-
-# Test class: NodeIteratorTest
-javax.jcr.tck.NodeIteratorTest.testroot=/testdata
-
-# Test class: NodeDiscoveringNodeTypesTest
-javax.jcr.tck.NodeDiscoveringNodeTypesTest.testroot=/testdata
-
-# Test class: RepositoryDescriptorTest
-javax.jcr.tck.RepositoryDescriptorTest.testroot=/testdata
-
-# Test class: WorkspaceReadMethodsTest
-javax.jcr.tck.WorkspaceReadMethodsTest.testroot=/testdata
-
-# Test class: SessionReadMethodsTest
-javax.jcr.tck.SessionReadMethodsTest.testroot=/testdata
-
-# Test class: NamespaceRegistryReadMethodsTest
-javax.jcr.tck.NamespaceRegistryReadMethodsTest.testroot=/testdata
-
-# Test class: NamespaceRemappingTest
-javax.jcr.tck.NamespaceRemappingTest.testroot=/testdata
-
-# Test class: SessionTest
-# Test method: testMoveItemExistsException
-# nodetype that does not allow same name siblings
-javax.jcr.tck.SessionTest.testMoveItemExistsException.nodetype2=nt:folder
-# valid node type that can be added as child of nodetype2
-javax.jcr.tck.SessionTest.testMoveItemExistsException.nodetype3=nt:hierarchyNode
-
-# Test class: SessionTest
-# Test method: testSaveContstraintViolationException
-# nodetype that has a property that is mandatory but not autocreated
-javax.jcr.tck.SessionTest.testSaveContstraintViolationException.nodetype2=nt:file
-
-# Test class: SessionUUIDTest
-# node type that has a property of type PropertyType.REFERENCE
-javax.jcr.tck.SessionUUIDTest.nodetype=nt:unstructured
-# name of the property that is of type PropertyType.REFERENCE
-javax.jcr.tck.SessionUUIDTest.propertyname1=foobar
-# nodetype that has nodetype mix:referenceable assigned
-javax.jcr.tck.SessionUUIDTest.nodetype2=test:refTargetNode
-
-# Test class: SessionUUIDTest
-# Test method: testSaveMovedRefNode
-# name of the property that can be modified
-javax.jcr.tck.SessionUUIDTest.testSaveMovedRefNode.propertyname1=foobar
-
-# Test class: NodeTest
-# Test method: testAddNodeItemExistsException
-# nodetype that does not allow same name siblings and allows child nodes of
-# the same type
-javax.jcr.tck.NodeTest.testAddNodeItemExistsException.nodetype=nt:folder
-
-# Test class: NodeTest
-# Test method: testRemoveMandatoryNode
-# nodetype that has a mandatory child node definition
-javax.jcr.tck.NodeTest.testRemoveMandatoryNode.nodetype2=nt:file
-# nodetype of the mandatory child
-javax.jcr.tck.NodeTest.testRemoveMandatoryNode.nodetype3=nt:base
-# name of the mandatory node
-javax.jcr.tck.NodeTest.testRemoveMandatoryNode.nodename3=jcr:content
-
-# Test class: NodeTest
-# Test method: testSaveContstraintViolationException
-# nodetype that has a property that is mandatory but not autocreated
-javax.jcr.tck.NodeTest.testSaveContstraintViolationException.nodetype2=nt:file
-
-# Test class: NodeUUIDTest
-# node type that has a property of type PropertyType.REFERENCE
-javax.jcr.tck.NodeUUIDTest.nodetype=nt:unstructured
-# name of the property that is of type PropertyType.REFERENCE
-javax.jcr.tck.NodeUUIDTest.propertyname1=ref
-# nodetype that has nodetype mix:referenceable assigned
-javax.jcr.tck.NodeUUIDTest.nodetype2=test:refTargetNode
-
-# Test class: NodeUUIDTest
-# Test method: testSaveMovedRefNode
-# name of the property that can be modified
-javax.jcr.tck.NodeUUIDTest.testSaveMovedRefNode.propertyname1=foobar
-# nodetype that has nodetype mix:referenceable assigned
-
-# Test class: NodeOrderableChildNodesTest
-# nodetype that supports orderable child nodes
-javax.jcr.tck.NodeOrderableChildNodesTest.nodetype2=nt:unstructured
-# valid node type that can be added as child of nodetype 2
-javax.jcr.tck.NodeOrderableChildNodesTest.nodetype3=nt:unstructured
-
-# Test class: NodeOrderableChildNodesTest
-# Test method: testOrderBeforeUnsupportedRepositoryOperationException
-# nodetype that does not allow ordering of child nodes
-javax.jcr.tck.NodeOrderableChildNodesTest.testOrderBeforeUnsupportedRepositoryOperationException.nodetype2=nt:folder
-# valid node type that can be added as child of nodetype 2
-javax.jcr.tck.NodeOrderableChildNodesTest.testOrderBeforeUnsupportedRepositoryOperationException.nodetype3=nt:hierarchyNode
-
-# Test class: SetPropertyNodeTest
-# nodetype which is referenceable
-javax.jcr.tck.SetPropertyNodeTest.nodetype=test:setProperty
-
-# Test class: SetPropertyValueTest
-# property that allows multiple values
-javax.jcr.tck.SetPropertyValueTest.propertyname2=test:multiProperty
-javax.jcr.tck.SetPropertyValueTest.nodetype=test:setProperty
-
-# Test class: SetPropertyStringTest
-# property that allows multiple values
-javax.jcr.tck.SetPropertyStringTest.propertyname2=test:multiProperty
-javax.jcr.tck.SetPropertyStringTest.nodetype=test:setProperty
-
-# Test class: WorkspaceCloneSameNameSibsTest
-javax.jcr.tck.WorkspaceCloneSameNameSibsTest.sameNameSibsFalseNodeType=test:sameNameSibsFalseChildNodeDefinition
-javax.jcr.tck.WorkspaceCloneSameNameSibsTest.sameNameSibsTrueNodeType=nt:unstructured
-
-# Test class: WorkspaceCopyBetweenWorkspacesSameNameSibsTest
-javax.jcr.tck.WorkspaceCopyBetweenWorkspacesSameNameSibsTest.sameNameSibsFalseNodeType=test:sameNameSibsFalseChildNodeDefinition
-javax.jcr.tck.WorkspaceCopyBetweenWorkspacesSameNameSibsTest.sameNameSibsTrueNodeType=nt:unstructured
-
-# Test class: WorkspaceCopySameNameSibsTest
-javax.jcr.tck.WorkspaceCopySameNameSibsTest.sameNameSibsFalseNodeType=test:sameNameSibsFalseChildNodeDefinition
-javax.jcr.tck.WorkspaceCopySameNameSibsTest.sameNameSibsTrueNodeType=nt:unstructured
-
-# Test class: WorkspaceMoveSameNameSibsTest
-javax.jcr.tck.WorkspaceMoveSameNameSibsTest.sameNameSibsFalseNodeType=test:sameNameSibsFalseChildNodeDefinition
-javax.jcr.tck.WorkspaceMoveSameNameSibsTest.sameNameSibsTrueNodeType=nt:unstructured
-
-# Test class: RepositoryLoginTest
-javax.jcr.tck.RepositoryLoginTest.testroot=/testdata
-
-# Test class: RootNodeTest
-javax.jcr.tck.RootNodeTest.testroot=/testdata
-
-# Test class: ReferenceableRootNodesTest
-javax.jcr.tck.ReferenceableRootNodesTest.testroot=/testdata
-
-# Test class: ExportDocViewTest
-javax.jcr.tck.ExportDocViewTest.testroot=/testdata
-
-# ------------------------------------------------------------------------------
-# observation configuration
-# ------------------------------------------------------------------------------
-
-# Test class: AddEventListenerTest
-# Test method: testNodeType
-javax.jcr.tck.AddEventListenerTest.testNodeType.nodetype2=nt:folder
-
-# Configuration settings for the serialization.
-# Note that the serialization test tries to use as many features of the repository
-# as possible, but fails silently if a feature is not available. You have to
-# specify all of the following configuration entries, even if your repository does
-# not support the feature that is associated with them.
-
-# Root node for the example tree
-javax.jcr.tck.SerializationTest.testroot=/testdata/serialization
-
-# Node type to use for the example tree. Specify a node type that allows complex trees
and all property types if possible
-javax.jcr.tck.SerializationTest.nodetype=nt:unstructured
-
-# Name of the nodes for source and target tree
-javax.jcr.tck.SerializationTest.sourceFolderName=source
-javax.jcr.tck.SerializationTest.targetFolderName=target
-javax.jcr.tck.SerializationTest.rootNodeName=test
-
-# List the properties whose values may change during serialization/deserialization. For
example,
-# the UUID of a node is unique in the repository, so it will have to change when you
re-import
-# a tree at a different location.
-javax.jcr.tck.SerializationTest.propertyValueMayChange= jcr:created jcr:uuid
jcr:versionHistory jcr:baseVersion jcr:predecessors P_Reference
-
-# List all properties which are skipped during xml import according specification chapter
7.3.3
-javax.jcr.tck.SerializationTest.propertySkipped=
-
-# The name of the test node types. For easier diagnostics, the node types have names
-# that tell you the kind of information they store
-javax.jcr.tck.SerializationTest.nodeTypesTestNode=NodeTypes
-javax.jcr.tck.SerializationTest.mixinTypeTestNode=MixinTypes
-javax.jcr.tck.SerializationTest.propertyTypesTestNode=PropertyTypes
-javax.jcr.tck.SerializationTest.sameNameChildrenTestNode=SameNameChildren
-javax.jcr.tck.SerializationTest.multiValuePropertiesTestNode=MultiValueProperties
-javax.jcr.tck.SerializationTest.referenceableNodeTestNode=ReferenceableNode
-javax.jcr.tck.SerializationTest.orderChildrenTestNode=OrderChildren
-javax.jcr.tck.SerializationTest.namespaceTestNode=Namespace
-
-# The name of the test property types.
-javax.jcr.tck.SerializationTest.stringTestProperty=P_String
-javax.jcr.tck.SerializationTest.binaryTestProperty=P_Binary
-javax.jcr.tck.SerializationTest.dateTestProperty=P_Date
-javax.jcr.tck.SerializationTest.longTestProperty=P_Long
-javax.jcr.tck.SerializationTest.doubleTestProperty=P_Double
-javax.jcr.tck.SerializationTest.booleanTestProperty=P_Boolean
-javax.jcr.tck.SerializationTest.nameTestProperty=P_Name
-javax.jcr.tck.SerializationTest.pathTestProperty=P_Path
-javax.jcr.tck.SerializationTest.referenceTestProperty=P_Reference
-javax.jcr.tck.SerializationTest.multiValueTestProperty=P_MultiValue
-
-# node type not allowing same name sibs
-javax.jcr.tck.SerializationTest.sameNameSibsFalseChildNodeDefinition=test:sameNameSibsFalseChildNodeDefinition
-
-# Test method: testVersioningExceptionSessionFileChild
-# specified nodetype must be versionable and allow child nodes of the same type.
-javax.jcr.tck.SerializationTest.testVersioningExceptionSessionFileChild.nodetype=test:versionable
-
-# Test method: testVersioningExceptionSessionFileParent
-# specified nodetype must be versionable and allow child nodes of the same type.
-javax.jcr.tck.SerializationTest.testVersioningExceptionSessionFileParent.nodetype=test:versionable
-
-# Test method: testSessionImportXmlOverwriteException
-# requires a node type that does not allow same name siblings
-javax.jcr.tck.SerializationTest.testSessionImportXmlOverwriteException.nodetype=nt:folder
-
-# Test class: ExportSysViewTest
-javax.jcr.tck.ExportSysViewTest.testroot=/testdata
-
-# ==============================================================================
-# JAVAX.JCR.NODETYPE CONFIGURATION
-# ==============================================================================
-
-javax.jcr.tck.nodetype.testroot=/testdata
-
-javax.jcr.tck.NodeTypeCreationTest.testroot=/testroot
-
-# ==============================================================================
-# JAVAX.JCR.QUERY CONFIGURATION
-# ==============================================================================
-
-# Test class: SaveTest
-# Test method: testConstraintViolationException
-# Specified node type must not allow child nodes.
-javax.jcr.tck.SaveTest.testConstraintViolationException.nodetype=nt:query
-
-# Test class: XPathQueryLevel1Test
-javax.jcr.tck.XPathQueryLevel1Test.testroot=/testdata/query
-
-# Test class: XPathDocOrderTest
-javax.jcr.tck.XPathDocOrderTest.testroot=/testdata/query
-
-# Test class: XPathPosIndexTest
-javax.jcr.tck.XPathPosIndexTest.testroot=/testdata/query
-
-# Test class: XPathOrderByTest
-javax.jcr.tck.XPathOrderByTest.testroot=/testdata/query
-
-# Test class: XPathSyntaxTest
-javax.jcr.tck.XPathSyntaxTest.testroot=/testdata/query
-
-# Test class: XPathJcrPathTest
-javax.jcr.tck.XPathJcrPathTest.testroot=/testdata
-
-# Test class: SQLQueryLevel1Test
-javax.jcr.tck.SQLQueryLevel1Test.testroot=/testdata/query
-
-# Test class: SQLSyntaxTest
-javax.jcr.tck.SQLSyntaxTest.testroot=/testdata/query
-
-# Test class: SQLOrderByTest
-javax.jcr.tck.SQLOrderByTest.testroot=/testdata/query
-
-# Test class: DerefQueryLevel1Test
-javax.jcr.tck.DerefQueryLevel1Test.testroot=/testdata
-
-# Test class: GetLanguageTest
-javax.jcr.tck.GetLanguageTest.testroot=/testdata
-
-# Test class: GetPersistentQueryPathLevel1Test
-javax.jcr.tck.GetPersistentQueryPathLevel1Test.testroot=/testdata
-
-# Test class: GetPropertyNamesTest
-javax.jcr.tck.GetPropertyNamesTest.testroot=/testdata
-
-# Test class: GetStatementTest
-javax.jcr.tck.GetStatementTest.testroot=/testdata
-
-# Test class: GetSupportedQueryLanguagesTest
-javax.jcr.tck.GetSupportedQueryLanguagesTest.testroot=/testdata
-
-# Test class: SQLJcrPathTest
-javax.jcr.tck.SQLJcrPathTest.testroot=/testdata
-
-# Test class: SQLPathTest
-javax.jcr.tck.SQLPathTest.testroot=/testdata
-
-# Test class: PredicatesTest
-javax.jcr.tck.PredicatesTest.testroot=/testdata
-
-# Test class: SimpleSelectionTest
-javax.jcr.tck.SimpleSelectionTest.testroot=/testdata
-
-# ==============================================================================
-# JAVAX.JCR.VERSIONING CONFIGURATION
-# ==============================================================================
-
-# nodetype that is versionable. if it is not, an attempt is made to create versionable
nodes
-# by adding a mix:versionable mixin-type.
-# NOTE: javax.jcr.tck.nodetype must define a non-versionable nodetype!
-javax.jcr.tck.version.versionableNodeType=test:versionable
-javax.jcr.tck.version.simpleVersionableNodeType=nt:unstructured
-javax.jcr.tck.version.propertyValue=aPropertyValue
-
-# testroot for the version package
-# the test root must allow versionable and non-versionable nodes being created below
-javax.jcr.tck.version.testroot=/testroot
-
-# 3 nodes (nodeName1, nodeName2, nodeName3 with nt=versionableNodeType /
nt=nonVersionableNodeType will be cloned to 2nd workspace
-# nodename1 > used to persistently create versionable node below testroot
-# nodename2 > used to create second versionable node below testroot (used for
restore/workspace.restore with uuid-conflict)
-# nodename3 > used to persistently create non-versionable node below testroot
-javax.jcr.tck.version.nodename1=versionableNodeName1
-javax.jcr.tck.version.nodename2=versionableNodeName2
-javax.jcr.tck.version.nodename3=nonVersionableNodeName1
-
-# nodename 4: versionabel child-node of the first versionable node with nodeName1 and
nodetype 'versionableNodeType'
-# used for:
-# + creation of a node in the 2nd workspace, that does not exist in the first workspace
-# + creation of a node in the 2nd workspace, in order to test uuid-conflicts with
Workspace.restore.
-# + creation of a sub-node in the default workspace, in order to test uuid-conflicts with
Node.restore.
-# + NOTE: the nodetype with 'versionableNodeType' must define its children nodes
to either have COPY or VERSION
-# OPV behaviour in order to successfully test Node.restore and Workspace.restore
with uuid conflict.
-javax.jcr.tck.version.nodename4=childNodeName
-
-# path to existing String-properties and a new value for the property, that allows to
test the indicated OPV behaviour
-javax.jcr.tck.OnParentVersionAbortTest.propertyname1=test:abortOnParentVersionProp
-javax.jcr.tck.OnParentVersionComputeTest.propertyname1=test:computeOnParentVersionProp
-javax.jcr.tck.OnParentVersionCopyTest.propertyname1=test:copyOnParentVersionProp
-javax.jcr.tck.OnParentVersionIgnoreTest.propertyname1=test:ignoreOnParentVersionProp
-javax.jcr.tck.OnParentVersionInitializeTest.propertyname1=test:initializeOnParentVersionProp
-
-# Test class: RestoreTest
-# Test method: testRestoreWithUUIDConflict
-# nodename4 must be the name of a child node with a OPV definition COPY or VERSION
-javax.jcr.tck.RestoreTest.testRestoreWithUUIDConflict.nodename4=test:versionOnParentVersion
-javax.jcr.tck.RestoreTest.testRestoreLabel.nodename4=test:versionOnParentVersion
-javax.jcr.tck.RestoreTest.testRestoreName.nodename4=test:versionOnParentVersion
-javax.jcr.tck.RestoreTest.propertyValue1=version1
-javax.jcr.tck.RestoreTest.propertyValue2=version2
-
-# Test class: WorkspaceRestoreTest
-javax.jcr.tck.WorkspaceRestoreTest.testRestoreLabel.nodename4=test:versionOnParentVersion
-javax.jcr.tck.WorkspaceRestoreTest.testRestoreName.nodename4=test:versionOnParentVersion
-
-# config for nodes that show the indicated OPV behaviour:
-# nodes are added in order to test the versioning behaviour indicated by the test-class
name.
-# NOTE:
-# - nodename4 is uses as name for the childnode
-# - nodetype is used as nodetype name for the childnode
-# - the specified child node is created below nodename1 with versionableNodeType
-# the versionableNodeType and/or nodename1 may be overwritten with the individual
-# testclass below.
-javax.jcr.tck.OnParentVersionCopyTest.nodename4=test:copyOnParentVersion
-javax.jcr.tck.OnParentVersionCopyTest.nodetype=nt:unstructured
-javax.jcr.tck.OnParentVersionAbortTest.nodename4=test:abortOnParentVersion
-javax.jcr.tck.OnParentVersionAbortTest.nodetype=nt:unstructured
-javax.jcr.tck.OnParentVersionIgnoreTest.nodename4=test:ignoreOnParentVersion
-javax.jcr.tck.OnParentVersionIgnoreTest.nodetype=nt:unstructured
-# ==============================================================================
-# JAVAX.JCR.VERSIONING CONFIGURATION (simple versioning)
-# ==============================================================================
-
-# nodetype that is versionable. if it is not, an attempt is made to create versionable
nodes
-# by adding a mix:versionable mixin-type.
-# NOTE: javax.jcr.tck.nodetype must define a non-versionable nodetype!
-javax.jcr.tck.simple.versionableNodeType=nt:unstructured
-javax.jcr.tck.simple.propertyValue=aPropertyValue
-javax.jcr.tck.simple.destination=/testroot/versionableNodeName3
-
-# testroot for the version package
-# the test root must allow versionable and non-versionable nodes being created below
-javax.jcr.tck.simple.testroot=/testroot
-
-# 3 nodes (nodeName1, nodeName2, nodeName3 with nt=versionableNodeType /
nt=nonVersionableNodeType will be cloned to 2nd workspace
-# nodename1 > used to persistently create versionable node below testroot
-# nodename2 > used to create second versionable node below testroot (used for
restore/workspace.restore with uuid-conflict)
-# nodename3 > used to persistently create non-versionable node below testroot
-javax.jcr.tck.simple.nodename1=versionableNodeName1
-javax.jcr.tck.simple.nodename2=versionableNodeName2
-javax.jcr.tck.simple.nodename3=nonVersionableNodeName1
-
-# nodename 4: versionabel child-node of the first versionable node with nodeName1 and
nodetype 'versionableNodeType'
-# used for:
-# + creation of a node in the 2nd workspace, that does not exist in the first workspace
-# + creation of a node in the 2nd workspace, in order to test uuid-conflicts with
Workspace.restore.
-# + creation of a sub-node in the default workspace, in order to test uuid-conflicts with
Node.restore.
-# + NOTE: the nodetype with 'versionableNodeType' must define its children nodes
to either have COPY or VERSION
-# OPV behaviour in order to successfully test Node.restore and Workspace.restore
with uuid conflict.
-javax.jcr.tck.simple.nodename4=childNodeName
-
Deleted:
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/api/nodetypes/nodetypes-api-test.xml
===================================================================
---
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/api/nodetypes/nodetypes-api-test.xml 2009-10-20
10:48:00 UTC (rev 317)
+++
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/api/nodetypes/nodetypes-api-test.xml 2009-10-20
11:36:31 UTC (rev 318)
@@ -1,164 +0,0 @@
-<nodeTypes
xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
xmlns:mix="http://www.jcp.org/jcr/mix/1.0"
xmlns:jcr="http://www.jcp.org/jcr/1.0">
-
- <!--
- HOW-TO:
- It's not simply to run this test, as we need differents in nodes UUIDs in data
container.
-
- Testing with source distribution.
- Run test once (like 'mvn clean test') its create repository and register node
types.
- Change source file MultiDbJDBCConnection.java in FIND_NODES_BY_PARENTID variable use
- " order by I.ID DESC" instead " order by I.ID ". Be careful to
revert changes back after test.
- And run the repository software again on existed and initialized database (like
'mvn test').
- On the second phase you'll see repository startup printout with messages like:
- '>>> Node types registration cycle X started'
- '<<< Node types registration cycle X finished'
- where X is cycle number of node types registration.
- More one cycle can be.
- It's depends on nodetypes count referenced one-by-one with forward declaration of
dependent type.
-
- Another way to perform test it's change order of nodes returned by data container
on getChildNodesData().
- This can be done by direct change of UUIDs in the data storage (database).
- -->
-
- <!-- testing super dependecy -->
- <nodeType name="jcr:testValueConstraints" isMixin="false"
hasOrderableChildNodes="true" primaryItemName="">
- <supertypes>
- <supertype>nt:unstructured</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="jcr:testSTRING1"
requiredType="STRING" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints>
- <valueConstraint>abc</valueConstraint>
- </valueConstraints>
- </propertyDefinition>
- <propertyDefinition name="jcr:testSTRING2"
requiredType="STRING" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints>
- <valueConstraint>.*</valueConstraint>
- </valueConstraints>
- </propertyDefinition>
- <propertyDefinition name="jcr:testPATH"
requiredType="PATH" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
- multiple="false">
- <valueConstraints>
- <valueConstraint>/abc</valueConstraint>
- <!--<valueConstraint>/exojcrtest/*</valueConstraint>-->
- <valueConstraint>../exojcrtest:def/*</valueConstraint>
- </valueConstraints>
- </propertyDefinition>
- <propertyDefinition name="jcr:testNAME"
requiredType="NAME" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
- multiple="false">
- <valueConstraints>
- <valueConstraint>abc:</valueConstraint>
- <valueConstraint>abc:def</valueConstraint>
- </valueConstraints>
- </propertyDefinition>
- <propertyDefinition name="jcr:testREFERENCE"
requiredType="REFERENCE" autoCreated="false"
mandatory="false" onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints>
- <valueConstraint>nt:unstructured</valueConstraint>
- </valueConstraints>
- </propertyDefinition>
- <propertyDefinition name="jcr:testBINARYINCLUSIVE"
requiredType="BINARY" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints>
- <valueConstraint>(,16384]</valueConstraint>
- <valueConstraint>[16777216,)</valueConstraint>
- </valueConstraints>
- </propertyDefinition>
- <propertyDefinition name="jcr:testBINARYEXCLUSIVE"
requiredType="BINARY" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints>
- <valueConstraint>(,16384)</valueConstraint>
- <valueConstraint>(16777216,)</valueConstraint>
- </valueConstraints>
- </propertyDefinition>
- <propertyDefinition name="jcr:testDATEINCLUSIVE"
requiredType="DATE" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints>
-
<valueConstraint>(,1111-11-11T11:11:11.111Z]</valueConstraint>
-
<valueConstraint>[1222-11-11T11:11:11.111Z,)</valueConstraint>
- </valueConstraints>
- </propertyDefinition>
- <propertyDefinition name="jcr:testDATEEXCLUSIVE"
requiredType="DATE" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints>
-
<valueConstraint>(,1111-11-11T11:11:11.111Z)</valueConstraint>
-
<valueConstraint>(1222-11-11T11:11:11.111Z,)</valueConstraint>
- </valueConstraints>
- </propertyDefinition>
- <propertyDefinition name="jcr:testLONGINCLUSIVE"
requiredType="LONG" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints>
- <valueConstraint>(,100]</valueConstraint>
- <valueConstraint>[200,)</valueConstraint>
- </valueConstraints>
- </propertyDefinition>
- <propertyDefinition name="jcr:testLONGEXCLUSIVE"
requiredType="LONG" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints>
- <valueConstraint>(,100)</valueConstraint>
- <valueConstraint>(200,)</valueConstraint>
- </valueConstraints>
- </propertyDefinition>
- <propertyDefinition name="jcr:testDOUBLEINCLUSIVE"
requiredType="LONG" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints>
- <valueConstraint>(,100]</valueConstraint>
- <valueConstraint>[200,)</valueConstraint>
- </valueConstraints>
- </propertyDefinition>
- <propertyDefinition name="jcr:testDOUBLEEXCLUSIVE"
requiredType="LONG" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints>
- <valueConstraint>(,100)</valueConstraint>
- <valueConstraint>(200,)</valueConstraint>
- </valueConstraints>
- </propertyDefinition>
- <propertyDefinition name="jcr:testBOOLEAN"
requiredType="BOOLEAN" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints>
- <valueConstraint>true</valueConstraint>
- </valueConstraints>
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:refRoot" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:unstructured</supertype>
- <supertype>mix:referenceable</supertype>
- </supertypes>
- </nodeType>
-
- <nodeType name="exo:autoCreate" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:unstructured</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="jcr:autoCreateProperty"
requiredType="String" autoCreated="true" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- <!-- defaultValues>
- <defaultValue></defaultValue>
- </defaultValues -->
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:autoCreate2" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:unstructured</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="jcr:autoCreateProperty"
requiredType="String" autoCreated="true" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- <defaultValues>
- <defaultValue></defaultValue>
- </defaultValues>
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
-</nodeTypes>
\ No newline at end of file
Deleted:
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/impl/core/nodetype/test-jcr589.xml
===================================================================
---
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/impl/core/nodetype/test-jcr589.xml 2009-10-20
10:48:00 UTC (rev 317)
+++
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/impl/core/nodetype/test-jcr589.xml 2009-10-20
11:36:31 UTC (rev 318)
@@ -1,26 +0,0 @@
-<nodeTypes
xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
xmlns:mix="http://www.jcp.org/jcr/mix/1.0"
xmlns:jcr="http://www.jcp.org/jcr/1.0"
xmlns:dc="http://purl.org/dc/elements/1.1/">
- <nodeType name="myNodeType" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:base</supertype>
- </supertypes>
- </nodeType>
- <nodeType name="myNodeTypes" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:base</supertype>
- </supertypes>
- <childNodeDefinitions>
- <childNodeDefinition name="*"
defaultPrimaryType="myNodeType" autoCreated="false"
mandatory="false" onParentVersion="COPY"
- protected="false" sameNameSiblings="false">
- <requiredPrimaryTypes>
- <requiredPrimaryType>myNodeType</requiredPrimaryType>
- </requiredPrimaryTypes>
- </childNodeDefinition>
- <childNodeDefinition name="*"
defaultPrimaryType="myNodeTypes" autoCreated="false"
mandatory="false" onParentVersion="COPY"
- protected="false" sameNameSiblings="false">
- <requiredPrimaryTypes>
- <requiredPrimaryType>myNodeTypes</requiredPrimaryType>
- </requiredPrimaryTypes>
- </childNodeDefinition>
- </childNodeDefinitions>
- </nodeType>
-</nodeTypes>
\ No newline at end of file
Deleted:
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/impl/core/nodetype/test-nodetypes.xml
===================================================================
---
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/impl/core/nodetype/test-nodetypes.xml 2009-10-20
10:48:00 UTC (rev 317)
+++
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/impl/core/nodetype/test-nodetypes.xml 2009-10-20
11:36:31 UTC (rev 318)
@@ -1,52 +0,0 @@
-<nodeTypes
xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
xmlns:mix="http://www.jcp.org/jcr/mix/1.0"
xmlns:jcr="http://www.jcp.org/jcr/1.0"
xmlns:dc="http://purl.org/dc/elements/1.1/">
- <nodeType name="exo:mySubTypeJCR805" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:base</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="exo:myValue"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY" protected="false"
- multiple="false">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
- <nodeType name="exo:myTypeJCR805" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:base</supertype>
- </supertypes>
- <childNodeDefinitions>
- <childNodeDefinition name="exo:myChildNode"
defaultPrimaryType="exo:mySubTypeJCR805" autoCreated="true"
mandatory="false"
- onParentVersion="COPY" protected="false"
sameNameSiblings="false">
- <requiredPrimaryTypes>
-
<requiredPrimaryType>exo:mySubTypeJCR805</requiredPrimaryType>
- </requiredPrimaryTypes>
- </childNodeDefinition>
- </childNodeDefinitions>
- </nodeType>
- <nodeType name="exo:mySubTypeJCR806" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:base</supertype>
- </supertypes>
- <childNodeDefinitions>
- <childNodeDefinition name="exo:myChildNode"
defaultPrimaryType="nt:base" autoCreated="true"
mandatory="false" onParentVersion="COPY"
- protected="false" sameNameSiblings="false">
- <requiredPrimaryTypes>
- <requiredPrimaryType>nt:base</requiredPrimaryType>
- </requiredPrimaryTypes>
- </childNodeDefinition>
- </childNodeDefinitions>
- </nodeType>
- <nodeType name="exo:myTypeJCR806" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>exo:mySubTypeJCR806</supertype>
- </supertypes>
- <childNodeDefinitions>
- <childNodeDefinition name="exo:myChildNode"
defaultPrimaryType="nt:base" autoCreated="true"
mandatory="false" onParentVersion="COPY"
- protected="false" sameNameSiblings="false">
- <requiredPrimaryTypes>
- <requiredPrimaryType>nt:base</requiredPrimaryType>
- </requiredPrimaryTypes>
- </childNodeDefinition>
- </childNodeDefinitions>
- </nodeType>
-</nodeTypes>
\ No newline at end of file
Deleted:
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/usecases/nodetypes/nodetypes-usecase-test.xml
===================================================================
---
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/usecases/nodetypes/nodetypes-usecase-test.xml 2009-10-20
10:48:00 UTC (rev 317)
+++
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/usecases/nodetypes/nodetypes-usecase-test.xml 2009-10-20
11:36:31 UTC (rev 318)
@@ -1,148 +0,0 @@
-<nodeTypes
xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
xmlns:mix="http://www.jcp.org/jcr/mix/1.0"
-
xmlns:jcr="http://www.jcp.org/jcr/1.0">
-
- <!--
- HOW-TO:
- It's not simply to run this test, as we need differents in nodes UUIDs in data
container.
-
- Testing with source distribution.
- Run test once (like 'mvn clean test') its create repository and register node
types.
- Change source file MultiDbJDBCConnection.java in FIND_NODES_BY_PARENTID variable use
- " order by I.ID DESC" instead " order by I.ID ". Be careful to
revert changes back after test.
- And run the repository software again on existed and initialized database (like
'mvn test').
- On the second phase you'll see repository startup printout with messages like:
- '>>> Node types registration cycle X started'
- '<<< Node types registration cycle X finished'
- where X is cycle number of node types registration.
- More one cycle can be.
- It's depends on nodetypes count referenced one-by-one with forward declaration of
dependent type.
-
- Another way to perform test it's change order of nodes returned by data container
on getChildNodesData().
- This can be done by direct change of UUIDs in the data storage (database).
- -->
-
- <!-- testing super dependecy -->
- <nodeType name="exojcrtest:testNodeType_super_1" isMixin="false"
hasOrderableChildNodes="true" primaryItemName="">
- <supertypes>
- <supertype>nt:unstructured</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="prop1" requiredType="undefined"
autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="true">
- <valueConstraints/>
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exojcrtest:testNodeType__1" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>exojcrtest:testNodeType_super_1</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="property_1" requiredType="String"
autoCreated="false" mandatory="false"
- onParentVersion="COPY" protected="false"
multiple="false">
- <valueConstraints/>
- </propertyDefinition>
- <propertyDefinition name="property_2" requiredType="String"
autoCreated="false" mandatory="false"
- onParentVersion="COPY" protected="false"
multiple="false">
- <valueConstraints/>
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <!-- testing super dependecy for forward nodetype and for unregistered before
-->
- <nodeType name="exojcrtest:testNodeType_super_2" isMixin="false"
hasOrderableChildNodes="true" primaryItemName="">
- <supertypes>
- <supertype>nt:unstructured</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="prop_2_1" requiredType="undefined"
autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="true">
- <valueConstraints/>
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exojcrtest:testNodeType__2" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>exojcrtest:testNodeType_super_2</supertype>
- <supertype>exojcrtest:testNodeType__1</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="property_2_1"
requiredType="String" autoCreated="false" mandatory="false"
- onParentVersion="COPY" protected="false"
multiple="false">
- <valueConstraints/>
- </propertyDefinition>
- <propertyDefinition name="property_2_2"
requiredType="String" autoCreated="false" mandatory="false"
- onParentVersion="COPY" protected="false"
multiple="false">
- <valueConstraints/>
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <!-- testing requiredPrimaryType dependecy -->
- <nodeType name="exojcrtest:testNodeType_required"
isMixin="false" hasOrderableChildNodes="true"
primaryItemName="somePromaryItem">
- <supertypes>
- <supertype>nt:unstructured</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="prop__1" requiredType="undefined"
autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="true">
- <valueConstraints/>
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exojcrtest:testNodeType__3" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:base</supertype>
- <supertype>exojcrtest:testNodeType_super_2</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="property_3_1"
requiredType="String" autoCreated="false" mandatory="false"
- onParentVersion="COPY" protected="false"
multiple="false">
- <valueConstraints/>
- </propertyDefinition>
- <propertyDefinition name="property_3_2"
requiredType="String" autoCreated="false" mandatory="false"
- onParentVersion="COPY" protected="false"
multiple="false">
- <valueConstraints/>
- </propertyDefinition>
- </propertyDefinitions>
- <childNodeDefinitions>
- <childNodeDefinition name="somePrimaryItem"
defaultPrimaryType="" autoCreated="false" mandatory="true"
- onParentVersion="COPY" protected="false"
sameNameSiblings="false">
- <requiredPrimaryTypes>
-
<requiredPrimaryType>exojcrtest:testNodeType_required</requiredPrimaryType>
- </requiredPrimaryTypes>
- </childNodeDefinition>
- </childNodeDefinitions>
- </nodeType>
-
- <!-- testing super dependecy for forward nodetype and for unregistered before
- plus requiredPrimaryType dependecy -->
- <nodeType name="exojcrtest:testNodeType__4" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:base</supertype>
- <supertype>exojcrtest:testNodeType_super_2</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="property_4_1"
requiredType="String" autoCreated="false" mandatory="false"
- onParentVersion="COPY" protected="false"
multiple="false">
- <valueConstraints/>
- </propertyDefinition>
- <propertyDefinition name="property_4_2"
requiredType="String" autoCreated="false" mandatory="false"
- onParentVersion="COPY" protected="false"
multiple="false">
- <valueConstraints/>
- </propertyDefinition>
- </propertyDefinitions>
- <childNodeDefinitions>
- <childNodeDefinition name="somePrimaryItem"
defaultPrimaryType="" autoCreated="false" mandatory="true"
- onParentVersion="COPY" protected="false"
sameNameSiblings="false">
- <requiredPrimaryTypes>
-
<requiredPrimaryType>exojcrtest:testNodeType_required</requiredPrimaryType>
- </requiredPrimaryTypes>
- </childNodeDefinition>
- </childNodeDefinitions>
- </nodeType>
-
-</nodeTypes>
\ No newline at end of file
Deleted:
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/usecases/query/business-process-nodetypes.xml
===================================================================
---
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/usecases/query/business-process-nodetypes.xml 2009-10-20
10:48:00 UTC (rev 317)
+++
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/usecases/query/business-process-nodetypes.xml 2009-10-20
11:36:31 UTC (rev 318)
@@ -1,205 +0,0 @@
-<nodeTypes
xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
xmlns:mix="http://www.jcp.org/jcr/mix/1.0"
xmlns:jcr="http://www.jcp.org/jcr/1.0">
-
- <!-- These specific nodetypes is used for content publishing process -->
-
- <!-- Nodetype for publishing action -->
- <nodeType name="exo:publishingProcess" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>exo:businessProcessAction</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="exo:supervisor"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false" />
- <propertyDefinition name="exo:businessProcess"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY"
- protected="true" multiple="false">
- <valueConstraints />
- <defaultValues>
- <defaultValue>content-publishing</defaultValue>
- </defaultValues>
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:publishLocation" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- <propertyDefinitions>
- <propertyDefinition name="exo:publishWorkspace"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:publishPath"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:validator"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:pendingLocation" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- <propertyDefinitions>
- <propertyDefinition name="exo:pendingWorkspace"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:pendingPath"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:backupLocation" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- <propertyDefinitions>
- <propertyDefinition name="exo:backupWorkspace"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:backupPath"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:trashLocation" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- <propertyDefinitions>
- <propertyDefinition name="exo:trashWorkspace"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:trashPath"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <!-- Nodetype for request publishing action -->
- <nodeType name="exo:publishingRequest" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>exo:scriptAction</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="exo:script"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="true"
- multiple="false">
- <valueConstraints />
- <defaultValues>
-
<defaultValue>ecm-explorer/action/PublishingRequestScript.groovy</defaultValue>
- </defaultValues>
- </propertyDefinition>
- <propertyDefinition name="exo:requestPath"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
- <propertyDefinition name="exo:reservePath"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
- </propertyDefinitions>
- </nodeType>
-
- <!-- Nodetypes for publishing state and information -->
- <nodeType name="exo:publishingState" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- <propertyDefinitions>
- <propertyDefinition name="exo:currentState"
requiredType="String" autoCreated="true" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- <defaultValues>
- <defaultValue>Request for Validate</defaultValue>
- </defaultValues>
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:validationRequest" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- <propertyDefinitions>
- <propertyDefinition name="exo:requester"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
- <propertyDefinition name="exo:requestDate"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
- <propertyDefinition name="exo:requestComment"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:approved" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- <propertyDefinitions>
- <propertyDefinition name="exo:approver"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
- <propertyDefinition name="exo:approvedDate"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
- <propertyDefinition name="exo:approvedComment"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:disapproved" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- <propertyDefinitions>
- <propertyDefinition name="exo:contradictor"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
- <propertyDefinition name="exo:disaprovedDate"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
- <propertyDefinition name="exo:disaprovedReason"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:delegated" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- <propertyDefinitions>
- <propertyDefinition name="exo:assigner"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
- <propertyDefinition name="exo:delegator"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
- <propertyDefinition name="exo:delegatedDate"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
- <propertyDefinition name="exo:delegatedComment"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:refused" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- <propertyDefinitions>
- <propertyDefinition name="exo:refuter"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
- multiple="false" />
- <propertyDefinition name="exo:refusedDate"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
- <propertyDefinition name="exo:refuseReason"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:published" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- <propertyDefinitions>
- <propertyDefinition name="exo:startPublication"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
- <propertyDefinition name="exo:endPublication"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:pending" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- <propertyDefinitions>
- <propertyDefinition name="exo:pendingStart"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
- <propertyDefinition name="exo:pendingEnd"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:backup" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- <propertyDefinitions>
- <propertyDefinition name="exo:backupDate"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
- <propertyDefinition name="exo:backupReason"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:trashMovement" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- <propertyDefinitions>
- <propertyDefinition name="exo:moveDate"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
- <propertyDefinition name="exo:moveReason"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
- </propertyDefinitions>
- </nodeType>
-
-</nodeTypes>
Deleted:
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/usecases/query/ext-nodetypes-config.xml
===================================================================
---
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/usecases/query/ext-nodetypes-config.xml 2009-10-20
10:48:00 UTC (rev 317)
+++
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/usecases/query/ext-nodetypes-config.xml 2009-10-20
11:36:31 UTC (rev 318)
@@ -1,198 +0,0 @@
-<nodeTypes
xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
xmlns:mix="http://www.jcp.org/jcr/mix/1.0"
xmlns:jcr="http://www.jcp.org/jcr/1.0"
xmlns:dc="http://purl.org/dc/elements/1.1/">
-
- <!-- metadata nodetypes -->
- <nodeType name="exo:metadata" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- <propertyDefinitions>
- <propertyDefinition name="exo:internalUse"
requiredType="Boolean" autoCreated="true" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- <defaultValues>
- <defaultValue>false</defaultValue>
- </defaultValues>
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <!-- Dublin Core Metadata Elemet Set, Version 1.1 -->
- <nodeType name="dc:elementSet" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>exo:metadata</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="dc:title" requiredType="String"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="false"
- multiple="true">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="dc:creator"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
- multiple="true">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="dc:subject"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
- multiple="true">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="dc:description"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="true">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="dc:publisher"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="true">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="dc:contributor"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="true">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="dc:date" requiredType="Date"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="false"
- multiple="true">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="dc:resourceType"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="true">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="dc:format"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
- multiple="true">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="dc:identifier"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="true">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="dc:source"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
- multiple="true">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="dc:language"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
- multiple="true">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="dc:relation"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
- multiple="true">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="dc:coverage"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
- multiple="true">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="dc:rights"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
- multiple="true">
- <valueConstraints />
- </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>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="exo:user" requiredType="String"
autoCreated="true" mandatory="true" onParentVersion="IGNORE"
protected="true"
- multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:created"
requiredType="Date" autoCreated="true" mandatory="true"
onParentVersion="IGNORE" protected="true"
- multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:propertyName"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="IGNORE"
- protected="true" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:eventType"
requiredType="Long" autoCreated="true" mandatory="true"
onParentVersion="IGNORE" protected="true"
- multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:auditVersion"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="IGNORE"
- protected="true" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:auditVersionName"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="IGNORE"
- protected="true" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:auditHistory" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:base</supertype>
- <supertype>mix:referenceable</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="exo:targetNode"
requiredType="Reference" autoCreated="true" mandatory="true"
onParentVersion="IGNORE"
- protected="true" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:lastRecord"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="IGNORE"
- protected="true" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- <childNodeDefinitions>
- <childNodeDefinition name="*"
defaultPrimaryType="exo:auditRecord" autoCreated="false"
mandatory="false" onParentVersion="IGNORE"
- protected="true" sameNameSiblings="false">
- <requiredPrimaryTypes>
- <requiredPrimaryType>exo:auditRecord</requiredPrimaryType>
- </requiredPrimaryTypes>
- </childNodeDefinition>
- </childNodeDefinitions>
- </nodeType>
-
- <nodeType name="exo:auditStorage" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:base</supertype>
- </supertypes>
- <childNodeDefinitions>
- <childNodeDefinition name="*"
defaultPrimaryType="exo:auditHistory" autoCreated="false"
mandatory="false" onParentVersion="VERSION"
- protected="false" sameNameSiblings="false">
- <requiredPrimaryTypes>
- <requiredPrimaryType>exo:auditHistory</requiredPrimaryType>
- </requiredPrimaryTypes>
- </childNodeDefinition>
- </childNodeDefinitions>
- </nodeType>
-
- <nodeType name="nt:resource" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="jcr:data">
- <supertypes>
- <supertype>nt:base</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="jcr:filename"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="jcr:encoding"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="jcr:mimeType"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY" protected="false"
- multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="jcr:data" requiredType="Binary"
autoCreated="false" mandatory="true" onParentVersion="COPY"
protected="false"
- multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="jcr:lastModified"
requiredType="Date" autoCreated="false" mandatory="true"
onParentVersion="IGNORE"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
-</nodeTypes>
\ No newline at end of file
Deleted:
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/usecases/query/nodetypes-config-extended.xml
===================================================================
---
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/usecases/query/nodetypes-config-extended.xml 2009-10-20
10:48:00 UTC (rev 317)
+++
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/usecases/query/nodetypes-config-extended.xml 2009-10-20
11:36:31 UTC (rev 318)
@@ -1,796 +0,0 @@
-<nodeTypes
xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
xmlns:mix="http://www.jcp.org/jcr/mix/1.0"
xmlns:jcr="http://www.jcp.org/jcr/1.0">
-
- <nodeType name="exo:addMetadataAction" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>exo:scriptAction</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="exo:script"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="true"
- multiple="false">
- <valueConstraints />
- <defaultValues>
-
<defaultValue>ecm-explorer/action/AddMetadataScript.groovy</defaultValue>
- </defaultValues>
- </propertyDefinition>
- <propertyDefinition name="exo:mixinMetadata"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false" />
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:sendMailAction" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>exo:scriptAction</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="exo:script"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="true"
- multiple="false">
- <valueConstraints />
- <defaultValues>
-
<defaultValue>ecm-explorer/action/SendMailScript.groovy</defaultValue>
- </defaultValues>
- </propertyDefinition>
- <propertyDefinition name="exo:to" requiredType="String"
autoCreated="false" mandatory="true" onParentVersion="COPY"
protected="false"
- multiple="false" />
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:transformBinaryToTextAction"
isMixin="false" hasOrderableChildNodes="false"
primaryItemName="">
- <supertypes>
- <supertype>exo:scriptAction</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="exo:script"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="true"
- multiple="false">
- <valueConstraints />
- <defaultValues>
-
<defaultValue>ecm-explorer/action/TransformBinaryChildrenToTextScript.groovy</defaultValue>
- </defaultValues>
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:ReloadBPAction" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>exo:scriptAction</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="exo:script"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="true"
- multiple="false">
- <valueConstraints />
- <defaultValues>
-
<defaultValue>ecm-explorer/action/ReloadBPScript.groovy</defaultValue>
- </defaultValues>
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:processRecordAction" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>exo:scriptAction</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="exo:script"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="true"
- multiple="false">
- <valueConstraints />
- <defaultValues>
-
<defaultValue>ecm-explorer/action/ProcessRecordsScript.groovy</defaultValue>
- </defaultValues>
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:workflowAction" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>exo:businessProcessAction</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="exo:validator"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false" />
- <propertyDefinition name="exo:businessProcess"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY"
- protected="true" multiple="false">
- <valueConstraints />
- <defaultValues>
- <defaultValue>content-validation</defaultValue>
- </defaultValues>
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:backupAction" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>exo:businessProcessAction</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="exo:businessProcess"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY"
- protected="true" multiple="false">
- <valueConstraints />
- <defaultValues>
- <defaultValue>content-backup</defaultValue>
- </defaultValues>
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:businessProcessModel" isMixin="false"
hasOrderableChildNodes="true" primaryItemName="">
- <supertypes>
- <supertype>nt:unstructured</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="exo:businessProcessId"
requiredType="String" autoCreated="false" mandatory="true"
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>
- </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>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="exo:buttons"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
- multiple="false">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:view" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:base</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="exo:permissions"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:template"
requiredType="String" 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="false">
- <requiredPrimaryTypes>
- <requiredPrimaryType>nt:base</requiredPrimaryType>
- </requiredPrimaryTypes>
- </childNodeDefinition>
- </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>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="exo:templateFile"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:roles"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="false"
- multiple="true">
- <valueConstraints />
- <defaultValues>
- <defaultValue>*</defaultValue>
- </defaultValues>
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:taxonomy" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:base</supertype>
- </supertypes>
- <childNodeDefinitions>
- <childNodeDefinition name="*" defaultPrimaryType=""
autoCreated="false" mandatory="false"
onParentVersion="VERSION" protected="false"
- sameNameSiblings="false">
- <requiredPrimaryTypes>
- <requiredPrimaryType>nt:base</requiredPrimaryType>
- </requiredPrimaryTypes>
- </childNodeDefinition>
- </childNodeDefinitions>
- </nodeType>
-
- <nodeType name="exo:drive" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:base</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="exo:permissions"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="IGNORE"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:path" requiredType="String"
autoCreated="false" mandatory="true"
onParentVersion="IGNORE" protected="false"
- multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:workspace"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="IGNORE"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:views"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="IGNORE" protected="false"
- multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:icon" requiredType="String"
autoCreated="false" mandatory="true"
onParentVersion="IGNORE" protected="false"
- multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:viewPreferences"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="IGNORE"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:viewNonDocument"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="IGNORE"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:viewSideBar"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="IGNORE"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:showHiddenNode"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="IGNORE"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:allowCreateFolder"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="IGNORE"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- <childNodeDefinitions>
- <childNodeDefinition name="*" defaultPrimaryType=""
autoCreated="false" mandatory="false"
onParentVersion="VERSION" protected="false"
- sameNameSiblings="false">
- <requiredPrimaryTypes>
- <requiredPrimaryType>nt:base</requiredPrimaryType>
- </requiredPrimaryTypes>
- </childNodeDefinition>
- </childNodeDefinitions>
- </nodeType>
- <nodeType name="exo:createRSSFeedAction" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>exo:scriptAction</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="exo:script"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="true"
- multiple="false">
- <defaultValues>
-
<defaultValue>ecm-explorer/action/RSSScript.groovy</defaultValue>
- </defaultValues>
- </propertyDefinition>
- <propertyDefinition name="exo:feedTitle"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false" />
-
- <propertyDefinition name="exo:feedType"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY" protected="false"
- multiple="false" />
-
- <propertyDefinition name="exo:link" requiredType="String"
autoCreated="false" mandatory="true" onParentVersion="COPY"
protected="false"
- multiple="false" />
-
- <propertyDefinition name="exo:description"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
-
- <propertyDefinition name="exo:language"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
-
- <propertyDefinition name="exo:copyright"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
-
- <propertyDefinition name="exo:pubDate"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
- multiple="false" />
-
- <propertyDefinition name="exo:ownerName"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
-
- <propertyDefinition name="exo:ownerEmail"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
-
- <propertyDefinition name="exo:imageURL"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
-
- <propertyDefinition name="exo:category"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
-
- <propertyDefinition name="exo:keywords"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
-
- <propertyDefinition name="exo:storePath"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
-
- <propertyDefinition name="exo:feedName"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
-
- <propertyDefinition name="exo:rssVersion"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
-
- <propertyDefinition name="exo:queryPath"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false" />
-
- <propertyDefinition name="exo:url" requiredType="String"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="false"
- multiple="false" />
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:podcast" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:file</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="exo:title"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
- multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:link" requiredType="String"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="false"
- multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:author"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
- multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:explicit"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:podcastCategory"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:keywords"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:publishedDate"
requiredType="Date" 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:length"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
- multiple="false">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- <!--
- <childNodeDefinitions> <childNodeDefinition name="exo:media"
defaultPrimaryType="" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" sameNameSiblings="false">
<requiredPrimaryTypes>
<requiredPrimaryType>nt:file</requiredPrimaryType>
</requiredPrimaryTypes>
- </childNodeDefinition> </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>
- <supertype>nt:base</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="exo:rssWatcher"
requiredType="String" autoCreated="true" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="true">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:emailWatcher"
requiredType="String" autoCreated="true" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="true">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:mail" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:base</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="exo:from" requiredType="String"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="false"
- multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:to" requiredType="String"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="false"
- multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:cc" requiredType="String"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="false"
- multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:bcc" requiredType="String"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="false"
- multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:subject"
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>
- <propertyDefinition name="exo:sendDate"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
- multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:receivedDate"
requiredType="Date" 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>
- </childNodeDefinitions>
- </nodeType>
-
- <nodeType name="exo:getMailAction" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>exo:scriptAction</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="exo:script"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="true"
- multiple="false">
- <defaultValues>
-
<defaultValue>ecm-explorer/action/GetMailScript.groovy</defaultValue>
- </defaultValues>
- </propertyDefinition>
- <propertyDefinition name="exo:protocol"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY" protected="false"
- multiple="false" />
- <propertyDefinition name="exo:host" requiredType="String"
autoCreated="false" mandatory="true" onParentVersion="COPY"
protected="false"
- multiple="false" />
- <propertyDefinition name="exo:port" requiredType="String"
autoCreated="false" mandatory="true" onParentVersion="COPY"
protected="false"
- multiple="false" />
- <propertyDefinition name="exo:folder"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY" protected="false"
- multiple="false" />
- <propertyDefinition name="exo:userName"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY" protected="false"
- multiple="false" />
- <propertyDefinition name="exo:password"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY" protected="false"
- multiple="false" />
- <propertyDefinition name="exo:description"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false" />
- <propertyDefinition name="exo:storePath"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false" />
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:tag" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:base</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="exo:tagCreatedDate"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:lastUpdatedDate"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:tagStatus"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:tagStyle" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:base</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="exo:styleRange"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:htmlStyle"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- </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"
- multiple="false">
- <valueConstraints />
- <defaultValues>
- <defaultValue>English</defaultValue>
- </defaultValues>
- </propertyDefinition>
- </propertyDefinitions>
- <childNodeDefinitions>
- <childNodeDefinition name="*"
defaultPrimaryType="nt:unstructured" autoCreated="false"
mandatory="false" onParentVersion="COPY"
- protected="false" sameNameSiblings="false">
- <requiredPrimaryTypes>
- <requiredPrimaryType>nt:unstructured</requiredPrimaryType>
- </requiredPrimaryTypes>
- </childNodeDefinition>
- </childNodeDefinitions>
- </nodeType>
- <nodeType name="mix:sharedQuery" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- <propertyDefinitions>
- <propertyDefinition name="exo:permissions"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="true">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:cachedResult"
requiredType="Boolean" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="mix:votable" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- <propertyDefinitions>
- <propertyDefinition name="exo:votingRate"
requiredType="Double" autoCreated="true" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- <defaultValues>
- <defaultValue>0</defaultValue>
- </defaultValues>
- </propertyDefinition>
- <propertyDefinition name="exo:voteTotal"
requiredType="Long" autoCreated="true" mandatory="false"
onParentVersion="COPY" protected="false"
- multiple="false">
- <valueConstraints />
- <defaultValues>
- <defaultValue>0</defaultValue>
- </defaultValues>
- </propertyDefinition>
- <propertyDefinition name="exo:voteTotalOfLang"
requiredType="Long" autoCreated="true" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- <defaultValues>
- <defaultValue>0</defaultValue>
- </defaultValues>
- </propertyDefinition>
- <propertyDefinition name="exo:voter"
requiredType="String" autoCreated="true" mandatory="false"
onParentVersion="COPY" protected="false"
- multiple="true">
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:hiddenable" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- <propertyDefinitions>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="mix:commentable" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- </nodeType>
-
- <nodeType name="exo:comments" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:unstructured</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="exo:commentor"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:commentorEmail"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:commentorSite"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:commentDate"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:commentContent"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:musicFolder" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- </nodeType>
-
- <nodeType name="exo:documentFolder" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- </nodeType>
-
- <nodeType name="exo:pictureFolder" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- </nodeType>
-
- <nodeType name="exo:searchFolder" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- </nodeType>
-
- <nodeType name="exo:videoFolder" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- </nodeType>
-
-</nodeTypes>
-
-
-
-
-
Deleted:
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/usecases/query/nodetypes-config.xml
===================================================================
---
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/usecases/query/nodetypes-config.xml 2009-10-20
10:48:00 UTC (rev 317)
+++
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/usecases/query/nodetypes-config.xml 2009-10-20
11:36:31 UTC (rev 318)
@@ -1,120 +0,0 @@
-<nodeTypes
xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
xmlns:mix="http://www.jcp.org/jcr/mix/1.0"
xmlns:jcr="http://www.jcp.org/jcr/1.0">
-
- <nodeType name="exo:datetime" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- <propertyDefinitions>
- <propertyDefinition name="exo:dateCreated"
requiredType="Date" autoCreated="true" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="exo:dateModified"
requiredType="Date" autoCreated="true" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:action" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:base</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="exo:name" requiredType="String"
autoCreated="false" mandatory="true" 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:lifecyclePhase"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- <defaultValues>
- <defaultValue>add</defaultValue>
- </defaultValues>
- </propertyDefinition>
- <propertyDefinition name="exo:roles"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="false"
- multiple="true">
- <valueConstraints />
- <defaultValues>
- <defaultValue>*</defaultValue>
- </defaultValues>
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:businessProcessAction" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>exo:action</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="exo:businessProcess"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:scriptAction" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>exo:action</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="exo:script"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY" protected="false"
- multiple="false">
- <valueConstraints />
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <!-- This is temporary node type to store all actions for node -->
- <nodeType name="exo:actionStorage" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:unstructured</supertype>
- </supertypes>
- <childNodeDefinitions>
- <childNodeDefinition name="*" defaultPrimaryType=""
autoCreated="false" mandatory="false"
onParentVersion="VERSION" protected="false"
- sameNameSiblings="true">
- <requiredPrimaryTypes>
- <requiredPrimaryType>exo:action</requiredPrimaryType>
- </requiredPrimaryTypes>
- </childNodeDefinition>
- </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>
-
-</nodeTypes>
\ No newline at end of file
Deleted:
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/usecases/query/nodetypes-ecm.xml
===================================================================
---
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/usecases/query/nodetypes-ecm.xml 2009-10-20
10:48:00 UTC (rev 317)
+++
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/usecases/query/nodetypes-ecm.xml 2009-10-20
11:36:31 UTC (rev 318)
@@ -1,446 +0,0 @@
-<nodeTypes
xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
xmlns:mix="http://www.jcp.org/jcr/mix/1.0"
xmlns:jcr="http://www.jcp.org/jcr/1.0">
-
- <nodeType name="rma:filePlan" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>nt:folder</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="rma:recordCategoryIdentifier"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="rma:dispositionAuthority"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="rma:permanentRecordIndicator"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="rma:dispositionInstructions"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="rma:containsRecordFolders"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="rma:defaultMediaType"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="rma:defaultMarkingList"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="rma:defaultOriginatingOrganization"
requiredType="String" autoCreated="false" mandatory="true"
- onParentVersion="COPY" protected="false"
multiple="false">
- <valueConstraints />
- </propertyDefinition>
-
- <propertyDefinition name="rma:vitalRecordIndicator"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="rma:vitalRecordReviewPeriod"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
-
- <propertyDefinition name="rma:processCutoff"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="rma:eventTrigger"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="rma:cutoffPeriod"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="rma:cutoffOnObsolete"
requiredType="Boolean" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="rma:cutoffOnSuperseded"
requiredType="Boolean" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
-
- <propertyDefinition name="rma:processHold"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="rma:holdPeriod"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="rma:discretionaryHold"
requiredType="Boolean" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
-
- <propertyDefinition name="rma:processTransfer"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="rma:defaultTransferLocation"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="rma:transferBlockSize"
requiredType="Long" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
-
- <propertyDefinition name="rma:processAccession"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="rma:accessionLocation"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="rma:accessionBlockSize"
requiredType="Long" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
-
- <propertyDefinition name="rma:processDestruction"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
-
- <propertyDefinition name="rma:filePlanNote"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="rma:recordCounter"
requiredType="Long" autoCreated="true" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- <defaultValues>
- <defaultValue>0</defaultValue>
- </defaultValues>
- </propertyDefinition>
- </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="Boolean" 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>
-
- <nodeType name="rma:vitalRecord" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>exo:metadata</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="rma:isVitalRecord"
requiredType="Boolean" autoCreated="true" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- <defaultValues>
- <defaultValue>true</defaultValue>
- </defaultValues>
- </propertyDefinition>
- <propertyDefinition name="rma:prevReviewDate"
requiredType="Date" autoCreated="true" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="rma:nextReviewDate"
requiredType="Date" autoCreated="false" mandatory="true"
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>
-
- <nodeType name="rma:cutoffable" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>exo:metadata</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="rma:cutoffExecuted"
requiredType="Boolean" autoCreated="true" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- <defaultValues>
- <defaultValue>false</defaultValue>
- </defaultValues>
- </propertyDefinition>
- <propertyDefinition name="rma:cutoffNow"
requiredType="Boolean" autoCreated="true" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- <defaultValues>
- <defaultValue>false</defaultValue>
- </defaultValues>
- </propertyDefinition>
- <propertyDefinition name="rma:cutoffDateTime"
requiredType="Date" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="rma:cutoffEvent"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="rma:cutoffObsolete"
requiredType="Boolean" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="rma:cutoffSuperseded"
requiredType="Boolean" 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>
-
- <nodeType name="rma:holdable" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>exo:metadata</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="rma:holdExecuted"
requiredType="Boolean" autoCreated="true" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- <defaultValues>
- <defaultValue>false</defaultValue>
- </defaultValues>
- </propertyDefinition>
- <propertyDefinition name="rma:holdUntil"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
- multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="rma:holdsDiscretionary"
requiredType="Boolean" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="rma:holdUntilEvent"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="rma:freeze"
requiredType="Boolean" autoCreated="true" mandatory="false"
onParentVersion="COPY" protected="false"
- multiple="false">
- <valueConstraints />
- <defaultValues>
- <defaultValue>false</defaultValue>
- </defaultValues>
- </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>
-
- <nodeType name="rma:transferable" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>exo:metadata</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="rma:transferExecuted"
requiredType="Boolean" autoCreated="true" mandatory="false"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- <defaultValues>
- <defaultValue>false</defaultValue>
- </defaultValues>
- </propertyDefinition>
- <propertyDefinition name="rma:transferDate"
requiredType="Date" autoCreated="false" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- </propertyDefinition>
- <propertyDefinition name="rma:transferLocation"
requiredType="String" autoCreated="false" mandatory="true"
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>
-
- <nodeType name="rma:accessionable" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>exo:metadata</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="rma:accessionExecuted"
requiredType="Boolean" autoCreated="true" mandatory="true"
onParentVersion="COPY"
- protected="false" multiple="false">
- <valueConstraints />
- <defaultValues>
- <defaultValue>false</defaultValue>
- </defaultValues>
- </propertyDefinition>
- <propertyDefinition name="rma:accessionDate"
requiredType="Date" autoCreated="false" mandatory="true"
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>
-
- <nodeType name="rma:destroyable" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>exo:metadata</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="rma:destructionDate"
requiredType="Date" autoCreated="false" mandatory="true"
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>
-
- <nodeType name="exo:enableVersioning" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>exo:scriptAction</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="exo:script"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="true"
- multiple="false">
- <valueConstraints />
- <defaultValues>
-
<defaultValue>ecm-explorer/action/EnableVersioningScript.groovy</defaultValue>
- </defaultValues>
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <nodeType name="exo:autoVersioning" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>exo:scriptAction</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="exo:script"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="true"
- multiple="false">
- <valueConstraints />
- <defaultValues>
-
<defaultValue>ecm-explorer/action/AutoVersioningScript.groovy</defaultValue>
- </defaultValues>
- </propertyDefinition>
- </propertyDefinitions>
- </nodeType>
-
- <!-- Base node type for Ascent Capture released documents -->
- <nodeType name="kfx:document" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <!-- Allow any property to be added. -->
- <supertype>nt:unstructured</supertype>
- <!-- Make sure the language properties are created with default
- values when the document is created through WebDAV. -->
- <supertype>mix:i18n</supertype>
- <!-- Allow Dublin Core metadata to be set. -->
- <supertype>dc:elementSet</supertype>
- </supertypes>
- </nodeType>
-
-</nodeTypes>
Copied:
jcr/trunk/component/core/src/test/resources/conf/standalone/test-configuration-sjdbc.xml
(from rev 316,
jcr/trunk/component/core/src/test/java/conf/standalone/test-configuration-sjdbc.xml)
===================================================================
---
jcr/trunk/component/core/src/test/resources/conf/standalone/test-configuration-sjdbc.xml
(rev 0)
+++
jcr/trunk/component/core/src/test/resources/conf/standalone/test-configuration-sjdbc.xml 2009-10-20
11:36:31 UTC (rev 318)
@@ -0,0 +1,328 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<configuration
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://www.exoplaform.org/xml/ns/kernel_1_0.xsd
http://www.exoplaform.org/xml/ns/kernel_1_0.xsd"
+
xmlns="http://www.exoplaform.org/xml/ns/kernel_1_0.xsd">
+ <component>
+ <key>org.exoplatform.services.log.LogConfigurationInitializer</key>
+ <type>org.exoplatform.services.log.LogConfigurationInitializer</type>
+ <init-params>
+ <value-param>
+ <name>logger</name>
+ <value>org.exoplatform.services.log.impl.BufferedLog4JLogger</value>
+ </value-param>
+ <value-param>
+ <name>configurator</name>
+ <value>org.exoplatform.services.log.impl.Log4JConfigurator</value>
+ </value-param>
+ <properties-param>
+ <name>properties</name>
+ <description>Log4J properties</description>
+ <property name="log4j.rootLogger" value="INFO, stdout,
file"/>
+
+ <property name="log4j.appender.stdout"
value="org.apache.log4j.ConsoleAppender"/>
+ <property name="log4j.appender.stdout.threshold"
value="INFO"/>
+
+ <property name="log4j.appender.stdout.layout"
value="org.apache.log4j.PatternLayout"/>
+ <property name="log4j.appender.stdout.layout.ConversionPattern"
value="%d{dd.MM.yyyy HH:mm:ss} *%-5p* [%t] %c{1}: %m (%F, line %L) %n"/>
+
+ <property name="log4j.appender.file"
value="org.apache.log4j.FileAppender"/>
+ <property name="log4j.appender.file.File"
value="target/jcr.log"/>
+
+ <property name="log4j.appender.file.layout"
value="org.apache.log4j.PatternLayout"/>
+ <property name="log4j.appender.file.layout.ConversionPattern"
value="%d{dd.MM.yyyy HH:mm:ss} *%-5p* [%t] %c{1}: %m (%F, line %L) %n"/>
+
+ <!-- property name="log4j.category.jcr.DBInitializer"
value="DEBUG"/ -->
+
+ <!-- property name="log4j.category.jcr.SessionDataManager"
value="DEBUG"/>
+ <property name="log4j.category.jcr.JDBCStorageConnection"
value="DEBUG"/>
+ <property name="log4j.category.jcr.NodeImpl"
value="DEBUG"/ -->
+
+ <!-- property name="log4j.category.jcr.WorkspaceStorageCacheImpl"
value="DEBUG"/ -->
+ <!-- property name="log4j.category.database.DBSchemaCreator"
value="DEBUG"/ -->
+ <!-- property name="log4j.category.jcr.WorkspaceDataReplicator"
value="DEBUG"/ -->
+
+ <!-- property
name="log4j.category.jcr.WorkspacePersistentDataManager"
value="DEBUG"/ -->
+
+ </properties-param>
+
+ <!-- value-param>
+ <name>logger</name>
+ <value>org.exoplatform.services.log.impl.BufferedSimpleLog</value>
+ </value-param>
+ <value-param>
+ <name>configurator</name>
+
<value>org.exoplatform.services.log.impl.SimpleLogConfigurator</value>
+ </value-param>
+ <properties-param>
+ <name>properties</name>
+ <description>SimpleLog properties</description>
+ <property name="org.apache.commons.logging.simplelog.defaultlog"
value="debug"/>
+ <property name="org.apache.commons.logging.simplelog.showdatetime"
value="true"/>
+ </properties-param -->
+
+ <!-- value-param>
+ <name>logger</name>
+ <value>org.exoplatform.services.log.impl.BufferedJdk14Logger</value>
+ </value-param>
+ <value-param>
+ <name>configurator</name>
+ <value>org.exoplatform.services.log.impl.Jdk14Configurator</value>
+ </value-param>
+ <properties-param>
+ <name>properties</name>
+ <description>jdk1.4 Logger properties</description>
+ <property name="handlers"
value="java.util.logging.ConsoleHandler"/>
+ <property name=".level" value="FINE"/>
+ <property name="java.util.logging.ConsoleHandler.level"
value="FINE"/>
+ </properties-param -->
+
+ </init-params>
+ </component>
+ <component>
+ <key>org.exoplatform.services.jcr.RepositoryService</key>
+ <type>org.exoplatform.services.jcr.impl.RepositoryServiceImpl</type>
+ <component-plugins>
+ <component-plugin>
+ <name>add.namespaces</name>
+ <set-method>addPlugin</set-method>
+
<type>org.exoplatform.services.jcr.impl.AddNamespacesPlugin</type>
+ <init-params>
+ <properties-param>
+ <name>namespaces</name>
+ <property name="test"
value="http://www.apache.org/jackrabbit/test"/>
+ <property name="exojcrtest"
value="http://www.exoplatform.org/jcr/test/1.0"/>
+ <property name="rma"
value="http://www.rma.com/jcr/"/>
+ <property name="metadata"
value="http://www.exoplatform.com/jcr/metadata/1.1/"/>
+ </properties-param>
+ </init-params>
+ </component-plugin>
+ <component-plugin>
+ <name>add.nodeType</name>
+ <set-method>addPlugin</set-method>
+ <type>org.exoplatform.services.jcr.impl.AddNodeTypePlugin</type>
+ <init-params>
+ <values-param>
+ <name>autoCreatedInNewRepository</name>
+ <description>Node types configuration file</description>
+ <value>jar:/conf/test/nodetypes-tck.xml</value>
+ <value>jar:/conf/test/nodetypes-impl.xml</value>
+ <value>jar:/conf/test/nodetypes-usecase.xml</value>
+ <value>jar:/conf/test/nodetypes-config.xml</value>
+ <value>jar:/conf/test/nodetypes-config-extended.xml</value>
+ </values-param>
+ <values-param>
+ <name>testInitNodeTypesRepository</name>
+ <description>Node types configuration file for repository with name
testInitNodeTypesRepository</description>
+ <value>jar:/conf/test/nodetypes-test.xml</value>
+ </values-param>
+ <values-param>
+ <name>testInitNodeTypesRepositoryTest2</name>
+ <description>Node types configuration file for repository with name
testInitNodeTypesRepositoryTest2</description>
+ <value>jar:/conf/test/nodetypes-test2.xml</value>
+ </values-param>
+ </init-params>
+ </component-plugin>
+ </component-plugins>
+ </component>
+
+ <component>
+
<key>org.exoplatform.services.jcr.config.RepositoryServiceConfiguration</key>
+
<type>org.exoplatform.services.jcr.impl.config.RepositoryServiceConfigurationImpl</type>
+ <init-params>
+ <value-param>
+ <name>conf-path</name>
+ <description>JCR configuration file</description>
+ <value>jar:/conf/standalone/test-jcr-config-sjdbc.xml</value>
+ </value-param>
+ </init-params>
+ </component>
+
+ <component>
+
<type>org.exoplatform.services.organization.impl.mock.DummyOrganizationService</type>
+ </component>
+
+ <component>
+ <key>org.exoplatform.services.security.Authenticator</key>
+
<type>org.exoplatform.services.organization.auth.OrganizationAuthenticatorImpl</type>
+ </component>
+
+ <component>
+
<type>org.exoplatform.services.jcr.impl.ext.action.SessionActionCatalog</type>
+ </component>
+
+ <component>
+ <key>org.exoplatform.services.transaction.TransactionService</key>
+
<type>org.exoplatform.services.transaction.impl.jotm.TransactionServiceJotmImpl</type>
+ <init-params>
+ <value-param>
+ <name>timeout</name>
+ <value>5</value>
+ </value-param>
+ </init-params>
+ </component>
+
+ <external-component-plugins>
+
<target-component>org.exoplatform.services.naming.InitialContextInitializer</target-component>
+ <component-plugin>
+ <name>bind.datasource</name>
+ <set-method>addPlugin</set-method>
+ <type>org.exoplatform.services.naming.BindReferencePlugin</type>
+ <init-params>
+ <value-param>
+ <name>bind-name</name>
+ <value>jdbcjcr</value>
+ </value-param>
+ <value-param>
+ <name>class-name</name>
+ <value>javax.sql.DataSource</value>
+ </value-param>
+ <value-param>
+ <name>factory</name>
+ <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
+ </value-param>
+ <properties-param>
+ <name>ref-addresses</name>
+ <description>ref-addresses</description>
+ <property name="driverClassName"
value="org.hsqldb.jdbcDriver"/>
+ <property name="url"
value="jdbc:hsqldb:file:target/temp/data/portal"/>
+ <property name="username" value="sa"/>
+ <property name="password" value=""/>
+ </properties-param>
+ </init-params>
+ </component-plugin>
+ <component-plugin>
+ <name>bind.datasource</name>
+ <set-method>addPlugin</set-method>
+ <type>org.exoplatform.services.naming.BindReferencePlugin</type>
+ <init-params>
+ <value-param>
+ <name>bind-name</name>
+ <value>jdbcjcrtest</value>
+ </value-param>
+ <value-param>
+ <name>class-name</name>
+ <value>javax.sql.DataSource</value>
+ </value-param>
+ <value-param>
+ <name>factory</name>
+ <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
+ </value-param>
+ <properties-param>
+ <name>ref-addresses</name>
+ <description>ref-addresses</description>
+ <property name="driverClassName"
value="org.hsqldb.jdbcDriver"/>
+ <property name="url"
value="jdbc:hsqldb:file:target/temp/data/jcrtest"/>
+ <property name="username" value="sa"/>
+ <property name="password" value=""/>
+ </properties-param>
+ </init-params>
+ </component-plugin>
+ <component-plugin>
+ <name>bind.datasource</name>
+ <set-method>addPlugin</set-method>
+ <type>org.exoplatform.services.naming.BindReferencePlugin</type>
+ <init-params>
+ <value-param>
+ <name>bind-name</name>
+ <value>jdbcjcrtck</value>
+ </value-param>
+ <value-param>
+ <name>class-name</name>
+ <value>javax.sql.DataSource</value>
+ </value-param>
+ <value-param>
+ <name>factory</name>
+ <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
+ </value-param>
+ <properties-param>
+ <name>ref-addresses</name>
+ <description>ref-addresses</description>
+ <property name="driverClassName"
value="org.hsqldb.jdbcDriver"/>
+ <property name="url"
value="jdbc:hsqldb:file:target/temp/data/portaltck"/>
+ <property name="username" value="sa"/>
+ <property name="password" value=""/>
+ </properties-param>
+ </init-params>
+ </component-plugin>
+ <!-- Resource configuration for UserTransaction
+ use JOTM
+ -->
+ <component-plugin>
+ <name>jotm.tx</name>
+ <set-method>addPlugin</set-method>
+ <type>org.exoplatform.services.naming.BindReferencePlugin</type>
+ <init-params>
+ <value-param>
+ <name>bind-name</name>
+ <value>UserTransaction</value>
+ </value-param>
+ <value-param>
+ <name>class-name</name>
+ <value>javax.transaction.UserTransaction</value>
+ </value-param>
+ <value-param>
+ <name>factory</name>
+ <value>org.objectweb.jotm.UserTransactionFactory</value>
+ </value-param>
+ <properties-param>
+ <name>ref-addresses</name>
+ <description>ref-addresses</description>
+ <property name="jotm.timeout" value="60"/>
+ </properties-param>
+ </init-params>
+ </component-plugin>
+ <component-plugin>
+ <name>bind.jcr</name>
+ <set-method>addPlugin</set-method>
+ <type>org.exoplatform.services.naming.BindReferencePlugin</type>
+ <init-params>
+ <value-param>
+ <name>bind-name</name>
+ <value>repo</value>
+ </value-param>
+ <value-param>
+ <name>class-name</name>
+ <value>javax.jcr.Repository</value>
+ </value-param>
+ <value-param>
+ <name>factory</name>
+
<value>org.exoplatform.services.jcr.impl.jndi.BindableRepositoryFactory</value>
+ </value-param>
+ <properties-param>
+ <name>ref-addresses</name>
+ <description>ref-addresses</description>
+ <property name="repositoryName" value="db1"/>
+ <!-- property name="containerConfig"
value="exo-configuration.xml"/ -->
+ </properties-param>
+ </init-params>
+ </component-plugin>
+ <component-plugin>
+ <name>rmi.jcr</name>
+ <set-method>addPlugin</set-method>
+ <type>org.exoplatform.services.naming.BindReferencePlugin</type>
+ <init-params>
+ <value-param>
+ <name>bind-name</name>
+ <value>rmirepository</value>
+ </value-param>
+ <value-param>
+ <name>class-name</name>
+ <value>javax.jcr.Repository</value>
+ </value-param>
+ <value-param>
+ <name>factory</name>
+
<value>org.exoplatform.services.jcr.rmi.RepositoryFactory</value>
+ </value-param>
+ <properties-param>
+ <name>ref-addresses</name>
+ <description>ref-addresses</description>
+ <property name="url"
value="//localhost:9999/repository"/>
+ </properties-param>
+ </init-params>
+ </component-plugin>
+ </external-component-plugins>
+
+
<remove-configuration>org.exoplatform.services.scheduler.JobSchedulerService</remove-configuration>
+ <!--<import>jar:/conf/database-configuration.hsql.xml</import> -->
+</configuration>
Copied: jcr/trunk/component/core/src/test/resources/conf/standalone/test-configuration.xml
(from rev 316,
jcr/trunk/component/core/src/test/java/conf/standalone/test-configuration.xml)
===================================================================
--- jcr/trunk/component/core/src/test/resources/conf/standalone/test-configuration.xml
(rev 0)
+++
jcr/trunk/component/core/src/test/resources/conf/standalone/test-configuration.xml 2009-10-20
11:36:31 UTC (rev 318)
@@ -0,0 +1,541 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<configuration
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://www.exoplaform.org/xml/ns/kernel_1_0.xsd
http://www.exoplaform.org/xml/ns/kernel_1_0.xsd"
+
xmlns="http://www.exoplaform.org/xml/ns/kernel_1_0.xsd">
+ <component>
+ <key>org.exoplatform.services.log.LogConfigurationInitializer</key>
+ <type>org.exoplatform.services.log.LogConfigurationInitializer</type>
+ <init-params>
+ <value-param>
+ <name>logger</name>
+ <value>org.exoplatform.services.log.impl.BufferedLog4JLogger</value>
+ </value-param>
+ <value-param>
+ <name>configurator</name>
+ <value>org.exoplatform.services.log.impl.Log4JConfigurator</value>
+ </value-param>
+ <properties-param>
+ <name>properties</name>
+ <description>Log4J properties</description>
+ <property name="log4j.rootLogger" value="INFO, stdout,
file"/>
+
+ <property name="log4j.appender.stdout"
value="org.apache.log4j.ConsoleAppender"/>
+ <property name="log4j.appender.stdout.threshold"
value="DEBUG"/>
+
+ <property name="log4j.appender.stdout.layout"
value="org.apache.log4j.PatternLayout"/>
+ <property name="log4j.appender.stdout.layout.ConversionPattern"
+ value="%d{dd.MM.yyyy HH:mm:ss} *%-5p* [%t] %c{1}: %m (%F, line %L)
%n"/>
+
+ <property name="log4j.appender.file"
value="org.apache.log4j.FileAppender"/>
+ <property name="log4j.appender.file.File"
value="target/jcr.log"/>
+
+ <property name="log4j.appender.file.layout"
value="org.apache.log4j.PatternLayout"/>
+ <property name="log4j.appender.file.layout.ConversionPattern"
+ value="%d{dd.MM.yyyy HH:mm:ss} *%-5p* [%t] %c{1}: %m (%F, line %L)
%n"/>
+
+ <property name="log4j.category.jcr.FileCleaner"
value="DEBUG"/>
+
+ <!-- property name="log4j.category.jcr.JDBCStorageConnection"
value="DEBUG"/>
+ <property name="log4j.category.jcr.NodeImpl"
value="DEBUG"/ -->
+
+ <!-- property name="log4j.category.jcr.WorkspaceStorageCacheImpl"
value="DEBUG"/ -->
+ <!-- property name="log4j.category.database.DBSchemaCreator"
value="DEBUG"/ -->
+ <!-- property name="log4j.category.jcr.WorkspaceDataReplicator"
value="DEBUG"/ -->
+
+ <!-- property name="log4j.category.jcr.WorkspaceStorageCacheImpl"
value="DEBUG"/ -->
+ <!-- property
name="log4j.category.jcr.WorkspacePersistentDataManager"
value="DEBUG"/ -->
+ <!-- property name="log4j.category.jcr.SessionDataManager"
value="DEBUG"/ -->
+ </properties-param>
+
+ <!-- value-param>
+ <name>logger</name>
+ <value>org.exoplatform.services.log.impl.BufferedSimpleLog</value>
+ </value-param>
+ <value-param>
+ <name>configurator</name>
+ <value>org.exoplatform.services.log.impl.SimpleLogConfigurator</value>
+ </value-param>
+ <properties-param>
+ <name>properties</name>
+ <description>SimpleLog properties</description>
+ <property name="org.apache.commons.logging.simplelog.defaultlog"
value="debug"/>
+ <property name="org.apache.commons.logging.simplelog.showdatetime"
value="true"/>
+ </properties-param -->
+
+ <!-- value-param>
+ <name>logger</name>
+ <value>org.exoplatform.services.log.impl.BufferedJdk14Logger</value>
+ </value-param>
+ <value-param>
+ <name>configurator</name>
+ <value>org.exoplatform.services.log.impl.Jdk14Configurator</value>
+ </value-param>
+ <properties-param>
+ <name>properties</name>
+ <description>jdk1.4 Logger properties</description>
+ <property name="handlers"
value="java.util.logging.ConsoleHandler"/>
+ <property name=".level" value="FINE"/>
+ <property name="java.util.logging.ConsoleHandler.level"
value="FINE"/>
+ </properties-param -->
+
+ </init-params>
+ </component>
+
+ <component>
+ <key>org.exoplatform.services.jcr.RepositoryService</key>
+ <type>org.exoplatform.services.jcr.impl.RepositoryServiceImpl</type>
+ <component-plugins>
+ <component-plugin>
+ <name>add.namespaces</name>
+ <set-method>addPlugin</set-method>
+ <type>org.exoplatform.services.jcr.impl.AddNamespacesPlugin</type>
+ <init-params>
+ <properties-param>
+ <name>namespaces</name>
+ <property name="test"
value="http://www.apache.org/jackrabbit/test"/>
+ <property name="exojcrtest"
value="http://www.exoplatform.org/jcr/test/1.0"/>
+ <property name="rma"
value="http://www.rma.com/jcr/"/>
+ <property name="metadata"
value="http://www.exoplatform.com/jcr/metadata/1.1/"/>
+ <property name="dc"
value="http://purl.org/dc/elements/1.1/"/>
+ </properties-param>
+ </init-params>
+ </component-plugin>
+ <component-plugin>
+ <name>add.nodeType</name>
+ <set-method>addPlugin</set-method>
+ <type>org.exoplatform.services.jcr.impl.AddNodeTypePlugin</type>
+ <init-params>
+ <values-param>
+ <name>autoCreatedInNewRepository</name>
+ <description>Node types configuration file</description>
+ <value>jar:/conf/test/nodetypes-tck.xml</value>
+ <value>jar:/conf/test/nodetypes-impl.xml</value>
+ <value>jar:/conf/test/nodetypes-usecase.xml</value>
+ <value>jar:/conf/test/nodetypes-config.xml</value>
+ <value>jar:/conf/test/nodetypes-config-extended.xml</value>
+ </values-param>
+
+ <values-param>
+ <name>testInitNodeTypesRepository</name>
+ <description>
+ Node types configuration file for repository with name
testInitNodeTypesRepository
+ </description>
+ <value>jar:/conf/test/nodetypes-test.xml</value>
+ </values-param>
+
+ <values-param>
+ <name>testInitNodeTypesRepositoryTest2</name>
+ <description>
+ Node types configuration file for repository with name
testInitNodeTypesRepositoryTest2
+ </description>
+ <value>jar:/conf/test/nodetypes-test2.xml</value>
+ </values-param>
+
+ <!--values-param>
+ <name>testInitNodeTypesRepositoryTest3</name>
+ <description>Node types from ext. Needed bacause core starup earlie than
ext</description>
+ <value>jar:/conf/test/nodetypes-test3_ext.xml</value>
+ </values-param-->
+
+ </init-params>
+ </component-plugin>
+ </component-plugins>
+ </component>
+
+ <component>
+
<key>org.exoplatform.services.jcr.config.RepositoryServiceConfiguration</key>
+
<type>org.exoplatform.services.jcr.impl.config.RepositoryServiceConfigurationImpl</type>
+ <init-params>
+ <value-param>
+ <name>conf-path</name>
+ <description>JCR configuration file</description>
+ <value>jar:/conf/standalone/test-jcr-config.xml</value>
+ </value-param>
+ <properties-param>
+ <name>working-conf</name>
+ <description>working-conf</description>
+ <property name="source-name" value="jdbcjcr"/>
+ <property name="dialect" value="hsqldb"/>
+ <property name="persister-class-name"
value="org.exoplatform.services.jcr.impl.config.JDBCConfigurationPersister"/>
+ </properties-param>
+ </init-params>
+ </component>
+
+ <component>
+
<type>org.exoplatform.services.organization.impl.mock.DummyOrganizationService</type>
+ </component>
+
+ <component>
+ <key>org.exoplatform.services.security.Authenticator</key>
+
<type>org.exoplatform.services.organization.auth.OrganizationAuthenticatorImpl</type>
+ </component>
+
+ <component>
+
<type>org.exoplatform.services.jcr.impl.ext.action.SessionActionCatalog</type>
+ </component>
+
+ <component>
+ <key>org.exoplatform.services.transaction.TransactionService</key>
+
<type>org.exoplatform.services.transaction.impl.jotm.TransactionServiceJotmImpl</type>
+ <init-params>
+ <value-param>
+ <name>timeout</name>
+ <value>5</value>
+ </value-param>
+ </init-params>
+ </component>
+
+ <external-component-plugins>
+
<target-component>org.exoplatform.services.naming.InitialContextInitializer</target-component>
+ <component-plugin>
+ <name>bind.datasource</name>
+ <set-method>addPlugin</set-method>
+ <type>org.exoplatform.services.naming.BindReferencePlugin</type>
+ <init-params>
+ <value-param>
+ <name>bind-name</name>
+ <value>jdbcjcr</value>
+ </value-param>
+ <value-param>
+ <name>class-name</name>
+ <value>javax.sql.DataSource</value>
+ </value-param>
+ <value-param>
+ <name>factory</name>
+ <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
+ </value-param>
+ <properties-param>
+ <name>ref-addresses</name>
+ <description>ref-addresses</description>
+ <property name="driverClassName"
value="org.hsqldb.jdbcDriver"/>
+ <property name="url"
value="jdbc:hsqldb:file:target/temp/data/portal"/>
+ <property name="username" value="sa"/>
+ <property name="password" value=""/>
+ </properties-param>
+ </init-params>
+ </component-plugin>
+ <component-plugin>
+ <name>bind.datasource</name>
+ <set-method>addPlugin</set-method>
+ <type>org.exoplatform.services.naming.BindReferencePlugin</type>
+ <init-params>
+ <value-param>
+ <name>bind-name</name>
+ <value>jdbcjcr1</value>
+ </value-param>
+ <value-param>
+ <name>class-name</name>
+ <value>javax.sql.DataSource</value>
+ </value-param>
+ <value-param>
+ <name>factory</name>
+ <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
+ </value-param>
+ <properties-param>
+ <name>ref-addresses</name>
+ <description>ref-addresses</description>
+ <property name="driverClassName"
value="org.hsqldb.jdbcDriver"/>
+ <property name="url"
value="jdbc:hsqldb:file:target/temp/data/jcr"/>
+ <property name="username" value="sa"/>
+ <property name="password" value=""/>
+ </properties-param>
+ </init-params>
+ </component-plugin>
+ <component-plugin>
+ <name>bind.datasource</name>
+ <set-method>addPlugin</set-method>
+ <type>org.exoplatform.services.naming.BindReferencePlugin</type>
+ <init-params>
+ <value-param>
+ <name>bind-name</name>
+ <value>jdbcjcr2</value>
+ </value-param>
+ <value-param>
+ <name>class-name</name>
+ <value>javax.sql.DataSource</value>
+ </value-param>
+ <value-param>
+ <name>factory</name>
+ <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
+ </value-param>
+ <properties-param>
+ <name>ref-addresses</name>
+ <description>ref-addresses</description>
+ <property name="driverClassName"
value="org.hsqldb.jdbcDriver"/>
+ <property name="url"
value="jdbc:hsqldb:file:target/temp/data/jcr2"/>
+ <property name="username" value="sa"/>
+ <property name="password" value=""/>
+ </properties-param>
+ </init-params>
+ </component-plugin>
+ <component-plugin>
+ <name>bind.datasource</name>
+ <set-method>addPlugin</set-method>
+ <type>org.exoplatform.services.naming.BindReferencePlugin</type>
+ <init-params>
+ <value-param>
+ <name>bind-name</name>
+ <value>jdbcjcr3</value>
+ </value-param>
+ <value-param>
+ <name>class-name</name>
+ <value>javax.sql.DataSource</value>
+ </value-param>
+ <value-param>
+ <name>factory</name>
+ <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
+ </value-param>
+ <properties-param>
+ <name>ref-addresses</name>
+ <description>ref-addresses</description>
+ <property name="driverClassName"
value="org.hsqldb.jdbcDriver"/>
+ <property name="url"
value="jdbc:hsqldb:file:target/temp/data/jcr3"/>
+ <property name="username" value="sa"/>
+ <property name="password" value=""/>
+ </properties-param>
+ </init-params>
+ </component-plugin>
+ <component-plugin>
+ <name>bind.datasource</name>
+ <set-method>addPlugin</set-method>
+ <type>org.exoplatform.services.naming.BindReferencePlugin</type>
+ <init-params>
+ <value-param>
+ <name>bind-name</name>
+ <value>jdbcjcrtest</value>
+ </value-param>
+ <value-param>
+ <name>class-name</name>
+ <value>javax.sql.DataSource</value>
+ </value-param>
+ <value-param>
+ <name>factory</name>
+ <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
+ </value-param>
+ <properties-param>
+ <name>ref-addresses</name>
+ <description>ref-addresses</description>
+ <property name="driverClassName"
value="org.hsqldb.jdbcDriver"/>
+ <property name="url"
value="jdbc:hsqldb:file:target/temp/data/jcrtest"/>
+ <property name="username" value="sa"/>
+ <property name="password" value=""/>
+ </properties-param>
+ </init-params>
+ </component-plugin>
+ <component-plugin>
+ <name>bind.datasource</name>
+ <set-method>addPlugin</set-method>
+ <type>org.exoplatform.services.naming.BindReferencePlugin</type>
+ <init-params>
+ <value-param>
+ <name>bind-name</name>
+ <value>jdbcjcrtck</value>
+ </value-param>
+ <value-param>
+ <name>class-name</name>
+ <value>javax.sql.DataSource</value>
+ </value-param>
+ <value-param>
+ <name>factory</name>
+ <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
+ </value-param>
+ <properties-param>
+ <name>ref-addresses</name>
+ <description>ref-addresses</description>
+ <property name="driverClassName"
value="org.hsqldb.jdbcDriver"/>
+ <property name="url"
value="jdbc:hsqldb:file:target/temp/data/portaltck"/>
+ <property name="username" value="sa"/>
+ <property name="password" value=""/>
+ </properties-param>
+ </init-params>
+ </component-plugin>
+ <component-plugin>
+ <name>bind.datasource</name>
+ <set-method>addPlugin</set-method>
+ <type>org.exoplatform.services.naming.BindReferencePlugin</type>
+ <init-params>
+ <value-param>
+ <name>bind-name</name>
+ <value>jdbcjcr1tck</value>
+ </value-param>
+ <value-param>
+ <name>class-name</name>
+ <value>javax.sql.DataSource</value>
+ </value-param>
+ <value-param>
+ <name>factory</name>
+ <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
+ </value-param>
+ <properties-param>
+ <name>ref-addresses</name>
+ <description>ref-addresses</description>
+ <property name="driverClassName"
value="org.hsqldb.jdbcDriver"/>
+ <property name="url"
value="jdbc:hsqldb:file:target/temp/data/jcrtck"/>
+ <property name="username" value="sa"/>
+ <property name="password" value=""/>
+ </properties-param>
+ </init-params>
+ </component-plugin>
+ <component-plugin>
+ <name>bind.datasource</name>
+ <set-method>addPlugin</set-method>
+ <type>org.exoplatform.services.naming.BindReferencePlugin</type>
+ <init-params>
+ <value-param>
+ <name>bind-name</name>
+ <value>jdbcjcr2tck</value>
+ </value-param>
+ <value-param>
+ <name>class-name</name>
+ <value>javax.sql.DataSource</value>
+ </value-param>
+ <value-param>
+ <name>factory</name>
+ <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
+ </value-param>
+ <properties-param>
+ <name>ref-addresses</name>
+ <description>ref-addresses</description>
+ <property name="driverClassName"
value="org.hsqldb.jdbcDriver"/>
+ <property name="url"
value="jdbc:hsqldb:file:target/temp/data/jcr2tck"/>
+ <property name="username" value="sa"/>
+ <property name="password" value=""/>
+ </properties-param>
+ </init-params>
+ </component-plugin>
+ <component-plugin>
+ <name>bind.datasource</name>
+ <set-method>addPlugin</set-method>
+ <type>org.exoplatform.services.naming.BindReferencePlugin</type>
+ <init-params>
+ <value-param>
+ <name>bind-name</name>
+ <value>jdbcjcr2export1</value>
+ </value-param>
+ <value-param>
+ <name>class-name</name>
+ <value>javax.sql.DataSource</value>
+ </value-param>
+ <value-param>
+ <name>factory</name>
+ <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
+ </value-param>
+ <properties-param>
+ <name>ref-addresses</name>
+ <description>ref-addresses</description>
+ <property name="driverClassName"
value="org.hsqldb.jdbcDriver"/>
+ <property name="url"
value="jdbc:hsqldb:file:target/temp/data/jdbcjcr2export1"/>
+ <property name="username" value="sa"/>
+ <property name="password" value=""/>
+ </properties-param>
+ </init-params>
+ </component-plugin>
+ <component-plugin>
+ <name>bind.datasource</name>
+ <set-method>addPlugin</set-method>
+ <type>org.exoplatform.services.naming.BindReferencePlugin</type>
+ <init-params>
+ <value-param>
+ <name>bind-name</name>
+ <value>jdbcjcr2export2</value>
+ </value-param>
+ <value-param>
+ <name>class-name</name>
+ <value>javax.sql.DataSource</value>
+ </value-param>
+ <value-param>
+ <name>factory</name>
+ <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
+ </value-param>
+ <properties-param>
+ <name>ref-addresses</name>
+ <description>ref-addresses</description>
+ <property name="driverClassName"
value="org.hsqldb.jdbcDriver"/>
+ <property name="url"
value="jdbc:hsqldb:file:target/temp/data/jdbcjcr2export2"/>
+ <property name="username" value="sa"/>
+ <property name="password" value=""/>
+ </properties-param>
+ </init-params>
+ </component-plugin>
+ <!-- Resource configuration for UserTransaction
+ use JOTM
+ -->
+ <component-plugin>
+ <name>jotm.tx</name>
+ <set-method>addPlugin</set-method>
+ <type>org.exoplatform.services.naming.BindReferencePlugin</type>
+ <init-params>
+ <value-param>
+ <name>bind-name</name>
+ <value>UserTransaction</value>
+ </value-param>
+ <value-param>
+ <name>class-name</name>
+ <value>javax.transaction.UserTransaction</value>
+ </value-param>
+ <value-param>
+ <name>factory</name>
+ <value>org.objectweb.jotm.UserTransactionFactory</value>
+ </value-param>
+ <properties-param>
+ <name>ref-addresses</name>
+ <description>ref-addresses</description>
+ <property name="jotm.timeout" value="60"/>
+ </properties-param>
+ </init-params>
+ </component-plugin>
+ <component-plugin>
+ <name>bind.jcr</name>
+ <set-method>addPlugin</set-method>
+ <type>org.exoplatform.services.naming.BindReferencePlugin</type>
+ <init-params>
+ <value-param>
+ <name>bind-name</name>
+ <value>repo</value>
+ </value-param>
+ <value-param>
+ <name>class-name</name>
+ <value>javax.jcr.Repository</value>
+ </value-param>
+ <value-param>
+ <name>factory</name>
+
<value>org.exoplatform.services.jcr.impl.jndi.BindableRepositoryFactory</value>
+ </value-param>
+ <properties-param>
+ <name>ref-addresses</name>
+ <description>ref-addresses</description>
+ <property name="repositoryName" value="db1"/>
+ <!-- property name="containerConfig"
value="exo-configuration.xml"/ -->
+ </properties-param>
+ </init-params>
+ </component-plugin>
+ <component-plugin>
+ <name>rmi.jcr</name>
+ <set-method>addPlugin</set-method>
+ <type>org.exoplatform.services.naming.BindReferencePlugin</type>
+ <init-params>
+ <value-param>
+ <name>bind-name</name>
+ <value>rmirepository</value>
+ </value-param>
+ <value-param>
+ <name>class-name</name>
+ <value>javax.jcr.Repository</value>
+ </value-param>
+ <value-param>
+ <name>factory</name>
+ <value>org.exoplatform.services.jcr.rmi.RepositoryFactory</value>
+ </value-param>
+ <properties-param>
+ <name>ref-addresses</name>
+ <description>ref-addresses</description>
+ <property name="url"
value="//localhost:9999/repository"/>
+ </properties-param>
+ </init-params>
+ </component-plugin>
+ </external-component-plugins>
+
+
<remove-configuration>org.exoplatform.services.scheduler.JobSchedulerService</remove-configuration>
+ <!--<import>jar:/conf/database-configuration.hsql.xml</import> -->
+</configuration>
Copied:
jcr/trunk/component/core/src/test/resources/conf/standalone/test-jcr-config-sjdbc.xml
(from rev 316,
jcr/trunk/component/core/src/test/java/conf/standalone/test-jcr-config-sjdbc.xml)
===================================================================
--- jcr/trunk/component/core/src/test/resources/conf/standalone/test-jcr-config-sjdbc.xml
(rev 0)
+++
jcr/trunk/component/core/src/test/resources/conf/standalone/test-jcr-config-sjdbc.xml 2009-10-20
11:36:31 UTC (rev 318)
@@ -0,0 +1,393 @@
+<!--
+
+ Copyright (C) 2009 eXo Platform SAS.
+
+ This is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+
+-->
+<repository-service default-repository="db1">
+ <repositories>
+ <repository name="db1" system-workspace="ws"
default-workspace="ws">
+ <security-domain>exo-domain</security-domain>
+ <!-- access-control>optional</access-control -->
+ <!-- access-control>disable</access-control -->
+ <session-max-age>1h</session-max-age>
+
<authentication-policy>org.exoplatform.services.jcr.impl.core.access.JAASAuthenticator</authentication-policy>
+ <workspaces>
+ <workspace name="ws">
+ <container
class="org.exoplatform.services.jcr.impl.storage.jdbc.JDBCWorkspaceDataContainer">
+ <properties>
+ <property name="source-name" value="jdbcjcr"
/>
+ <property name="dialect" value="hsqldb"
/>
+ <property name="multi-db" value="false"
/>
+ <property name="update-storage" value="false"
/>
+ <property name="max-buffer-size" value="200k"
/>
+ <property name="swap-directory"
value="target/temp/swap/ws" />
+ </properties>
+ <value-storages>
+ <value-storage id="ws"
class="org.exoplatform.services.jcr.impl.storage.value.fs.TreeFileValueStorage">
+ <properties>
+ <property name="path"
value="target/temp/values/ws" />
+ </properties>
+ <filters>
+ <filter property-type="Binary" />
+ </filters>
+ </value-storage>
+ </value-storages>
+ </container>
+ <initializer
class="org.exoplatform.services.jcr.impl.core.ScratchWorkspaceInitializer">
+ <properties>
+ <property name="root-nodetype"
value="nt:unstructured" />
+ </properties>
+ </initializer>
+ <cache enabled="true"
class="org.exoplatform.services.jcr.impl.dataflow.persistent.LinkedWorkspaceStorageCacheImpl">
+ <properties>
+ <property name="max-size" value="2k" />
+ <property name="live-time" value="20m" />
+ </properties>
+ </cache>
+ <query-handler
class="org.exoplatform.services.jcr.impl.core.query.lucene.SearchIndex">
+ <properties>
+ <property name="index-dir"
value="target/temp/index/db1/ws" />
+ </properties>
+ </query-handler>
+ <lock-manager>
+ <time-out>15m</time-out>
+ <persister
class="org.exoplatform.services.jcr.impl.core.lock.FileSystemLockPersister">
+ <properties>
+ <property name="path"
value="target/temp/lock" />
+ </properties>
+ </persister>
+ </lock-manager>
+ </workspace>
+
+ <workspace name="ws1">
+ <container
class="org.exoplatform.services.jcr.impl.storage.jdbc.JDBCWorkspaceDataContainer">
+ <properties>
+ <property name="source-name" value="jdbcjcr"
/>
+ <property name="dialect" value="hsqldb"
/>
+ <property name="multi-db" value="false"
/>
+ <property name="update-storage" value="false"
/>
+ <property name="max-buffer-size" value="200k"
/>
+ <property name="swap-directory"
value="target/temp/swap/ws1" />
+ </properties>
+ <value-storages>
+ <value-storage id="ws1"
class="org.exoplatform.services.jcr.impl.storage.value.fs.TreeFileValueStorage">
+ <properties>
+ <property name="path"
value="target/temp/values/ws1" />
+ </properties>
+ <filters>
+ <filter property-type="Binary" />
+ </filters>
+ </value-storage>
+ </value-storages>
+ </container>
+ <initializer
class="org.exoplatform.services.jcr.impl.core.ScratchWorkspaceInitializer">
+ <properties>
+ <property name="root-nodetype"
value="nt:unstructured" />
+ </properties>
+ </initializer>
+ <cache enabled="true"
class="org.exoplatform.services.jcr.impl.dataflow.persistent.LinkedWorkspaceStorageCacheImpl">
+ <properties>
+ <property name="max-size" value="2k" />
+ <property name="live-time" value="20m" />
+ </properties>
+ </cache>
+ <query-handler
class="org.exoplatform.services.jcr.impl.core.query.lucene.SearchIndex">
+ <properties>
+ <property name="index-dir"
value="target/temp/index/db1/ws1" />
+ <property name="synonymprovider-class"
value="org.exoplatform.services.jcr.impl.core.query.lucene.PropertiesSynonymProvider"
/>
+ <property name="synonymprovider-config-path"
value="../../synonyms.properties" />
+ <property name="support-highlighting"
value="true" />
+ <property name="indexing-configuration-path"
value="../../indexing-configuration.xml" />
+ <property name="query-class"
value="org.exoplatform.services.jcr.impl.core.query.QueryImpl" />
+ <property name="spellchecker-class"
value="org.exoplatform.services.jcr.impl.core.query.lucene.spell.LuceneSpellChecker$FiveSecondsRefreshInterval"
/>
+ </properties>
+ </query-handler>
+ </workspace>
+
+ <workspace name="ws2">
+ <container
class="org.exoplatform.services.jcr.impl.storage.jdbc.JDBCWorkspaceDataContainer">
+ <properties>
+ <property name="source-name" value="jdbcjcr"
/>
+ <property name="dialect" value="hsqldb"
/>
+ <property name="multi-db" value="false"
/>
+ <property name="update-storage" value="false"
/>
+ <property name="max-buffer-size" value="200k"
/>
+ <property name="swap-directory"
value="target/temp/swap/ws2" />
+ </properties>
+ <value-storages>
+ <value-storage id="ws2"
class="org.exoplatform.services.jcr.impl.storage.value.fs.TreeFileValueStorage">
+ <properties>
+ <property name="path"
value="target/temp/values/ws2" />
+ </properties>
+ <filters>
+ <filter property-type="Binary" />
+ </filters>
+ </value-storage>
+ </value-storages>
+ </container>
+ <initializer
class="org.exoplatform.services.jcr.impl.core.ScratchWorkspaceInitializer">
+ <properties>
+ <property name="root-nodetype"
value="nt:unstructured" />
+ </properties>
+ </initializer>
+ <cache enabled="true"
class="org.exoplatform.services.jcr.impl.dataflow.persistent.LinkedWorkspaceStorageCacheImpl">
+ <properties>
+ <property name="max-size" value="2k" />
+ <property name="live-time" value="20m" />
+ </properties>
+ </cache>
+ <query-handler
class="org.exoplatform.services.jcr.impl.core.query.lucene.SearchIndex">
+ <properties>
+ <property name="index-dir"
value="target/temp/index/db1/ws2" />
+ <property name="synonymprovider-class"
value="org.exoplatform.services.jcr.impl.core.query.lucene.PropertiesSynonymProvider"
/>
+ <property name="synonymprovider-config-path"
value="../../synonyms.properties" />
+ <property name="support-highlighting"
value="true" />
+ <property name="indexing-configuration-path"
value="../../indexing-configuration.xml" />
+ <property name="query-class"
value="org.exoplatform.services.jcr.impl.core.query.QueryImpl" />
+ <property name="spellchecker-class"
value="org.exoplatform.services.jcr.impl.core.query.lucene.spell.LuceneSpellChecker$FiveSecondsRefreshInterval"
/>
+ </properties>
+ </query-handler>
+ </workspace>
+
+ <workspace name="ws3">
+ <!-- for system storage -->
+ <container
class="org.exoplatform.services.jcr.impl.storage.jdbc.JDBCWorkspaceDataContainer">
+ <properties>
+ <property name="source-name" value="jdbcjcr"
/>
+ <property name="dialect" value="hsqldb"
/>
+ <property name="multi-db" value="false"
/>
+ <property name="update-storage" value="false"
/>
+ <property name="max-buffer-size" value="200k"
/>
+ <property name="swap-directory"
value="target/temp/swap/ws3" />
+ </properties>
+ <value-storages>
+ <!--
+ This storage is used to check whether properties are removed
correctly from each value-storage in case of complex value storage.
+ (TestRemoveFromValueStorage.java)
+ -->
+ <value-storage id="ws3_big"
class="org.exoplatform.services.jcr.impl.storage.value.fs.TreeFileValueStorage">
+ <properties>
+ <property name="path"
value="target/temp/values/ws3_big" />
+ </properties>
+ <filters>
+ <filter property-type="Binary"
min-value-size="1024K" />
+ </filters>
+ </value-storage>
+ <value-storage id="ws3"
class="org.exoplatform.services.jcr.impl.storage.value.fs.CASableTreeFileValueStorage">
+ <properties>
+ <property name="path"
value="target/temp/values/ws3" />
+ <property name="digest-algo"
value="MD5" />
+ <property name="vcas-type"
value="org.exoplatform.services.jcr.impl.storage.value.cas.JDBCValueContentAddressStorageImpl"
/>
+ <property name="jdbc-source-name"
value="jdbcjcr" />
+ <property name="jdbc-dialect"
value="hsqldb" />
+ </properties>
+ <filters>
+ <filter property-type="Binary" />
+ </filters>
+ </value-storage>
+ </value-storages>
+ </container>
+ <initializer
class="org.exoplatform.services.jcr.impl.core.ScratchWorkspaceInitializer">
+ <properties>
+ <property name="root-nodetype"
value="nt:unstructured" />
+ </properties>
+ </initializer>
+ <cache enabled="true"
class="org.exoplatform.services.jcr.impl.dataflow.persistent.LinkedWorkspaceStorageCacheImpl">
+ <properties>
+ <property name="max-size" value="2k" />
+ <property name="live-time" value="20m" />
+ </properties>
+ </cache>
+ <query-handler
class="org.exoplatform.services.jcr.impl.core.query.lucene.SearchIndex">
+ <properties>
+ <property name="index-dir"
value="target/temp/index/db1/ws3" />
+ <property name="synonymprovider-class"
value="org.exoplatform.services.jcr.impl.core.query.lucene.PropertiesSynonymProvider"
/>
+ <property name="synonymprovider-config-path"
value="../../synonyms.properties" />
+ <property name="support-highlighting"
value="true" />
+ <property name="indexing-configuration-path"
value="../../indexing-configuration.xml" />
+ <property name="query-class"
value="org.exoplatform.services.jcr.impl.core.query.QueryImpl" />
+ <property name="spellchecker-class"
value="org.exoplatform.services.jcr.impl.core.query.lucene.spell.LuceneSpellChecker$FiveSecondsRefreshInterval"
/>
+ </properties>
+ </query-handler>
+ </workspace>
+ </workspaces>
+ </repository>
+
+ <repository name="db1tck" system-workspace="ws"
default-workspace="ws">
+ <security-domain>exo-domain</security-domain>
+ <!-- access-control>optional</access-control -->
+ <!-- access-control>disable</access-control -->
+ <session-max-age>1h</session-max-age>
+
<authentication-policy>org.exoplatform.services.jcr.impl.core.access.JAASAuthenticator</authentication-policy>
+ <workspaces>
+ <workspace name="ws">
+ <container
class="org.exoplatform.services.jcr.impl.storage.jdbc.JDBCWorkspaceDataContainer">
+ <properties>
+ <property name="source-name"
value="jdbcjcrtck" />
+ <property name="dialect" value="hsqldb"
/>
+ <property name="multi-db" value="false"
/>
+ <property name="update-storage" value="false"
/>
+ <property name="max-buffer-size" value="200k"
/>
+ <property name="swap-directory"
value="target/temp/swap/wstck" />
+ </properties>
+ <value-storages>
+ <value-storage id="ws"
class="org.exoplatform.services.jcr.impl.storage.value.fs.TreeFileValueStorage">
+ <properties>
+ <property name="path"
value="target/temp/values/wstck" />
+ </properties>
+ <filters>
+ <filter property-type="Binary" />
+ </filters>
+ </value-storage>
+ </value-storages>
+ </container>
+ <initializer
class="org.exoplatform.services.jcr.impl.core.ScratchWorkspaceInitializer">
+ <properties>
+ <property name="root-nodetype"
value="nt:unstructured" />
+ <property name="root-permissions"
+ value="any read;*:/platform/administrators
read;*:/platform/administrators add_node;*:/platform/administrators
set_property;*:/platform/administrators remove" />
+ </properties>
+ </initializer>
+ <cache enabled="true"
class="org.exoplatform.services.jcr.impl.dataflow.persistent.LinkedWorkspaceStorageCacheImpl">
+ <properties>
+ <property name="max-size" value="2k" />
+ <property name="live-time" value="20m" />
+ </properties>
+ </cache>
+ <query-handler
class="org.exoplatform.services.jcr.impl.core.query.lucene.SearchIndex">
+ <properties>
+ <property name="index-dir"
value="target/temp/index/db1tck/ws" />
+ <property name="synonymprovider-class"
value="org.exoplatform.services.jcr.impl.core.query.lucene.PropertiesSynonymProvider"
/>
+ <property name="synonymprovider-config-path"
value="../../synonyms.properties" />
+ <property name="support-highlighting"
value="true" />
+ <property name="indexing-configuration-path"
value="../../indexing-configuration.xml" />
+ <property name="query-class"
value="org.exoplatform.services.jcr.impl.core.query.QueryImpl" />
+ <property name="excerptprovider-class"
value="org.exoplatform.services.jcr.impl.core.query.lucene.WeightedHTMLExcerpt"
/>
+ <property name="spellchecker-class"
value="org.exoplatform.services.jcr.impl.core.query.lucene.spell.LuceneSpellChecker$FiveSecondsRefreshInterval"
/>
+ </properties>
+ </query-handler>
+ <lock-manager>
+ <time-out>15m</time-out>
+ <persister
class="org.exoplatform.services.jcr.impl.core.lock.FileSystemLockPersister">
+ <properties>
+ <property name="path"
value="target/temp/lock" />
+ </properties>
+ </persister>
+ </lock-manager>
+ </workspace>
+
+ <workspace name="ws1">
+ <container
class="org.exoplatform.services.jcr.impl.storage.jdbc.JDBCWorkspaceDataContainer">
+ <properties>
+ <property name="source-name"
value="jdbcjcrtck" />
+ <property name="dialect" value="hsqldb"
/>
+ <property name="multi-db" value="false"
/>
+ <property name="update-storage" value="false"
/>
+ <property name="max-buffer-size" value="200k"
/>
+ <property name="swap-directory"
value="target/temp/swap/ws1tck" />
+ </properties>
+ <value-storages>
+ <value-storage id="ws1"
class="org.exoplatform.services.jcr.impl.storage.value.fs.TreeFileValueStorage">
+ <properties>
+ <property name="path"
value="target/temp/values/ws1tck" />
+ </properties>
+ <filters>
+ <filter property-type="Binary" />
+ </filters>
+ </value-storage>
+ </value-storages>
+ </container>
+ <initializer
class="org.exoplatform.services.jcr.impl.core.ScratchWorkspaceInitializer">
+ <properties>
+ <property name="root-nodetype"
value="nt:unstructured" />
+ <property name="root-permissions"
+ value="any read;*:/platform/administrators
read;*:/platform/administrators add_node;*:/platform/administrators
set_property;*:/platform/administrators remove" />
+ </properties>
+ </initializer>
+ <cache enabled="true"
class="org.exoplatform.services.jcr.impl.dataflow.persistent.LinkedWorkspaceStorageCacheImpl">
+ <properties>
+ <property name="max-size" value="2k" />
+ <property name="live-time" value="20m" />
+ </properties>
+ </cache>
+ <query-handler
class="org.exoplatform.services.jcr.impl.core.query.lucene.SearchIndex">
+ <properties>
+ <property name="index-dir"
value="target/temp/index/db1tck/ws1" />
+ <property name="synonymprovider-class"
value="org.exoplatform.services.jcr.impl.core.query.lucene.PropertiesSynonymProvider"
/>
+ <property name="synonymprovider-config-path"
value="../../synonyms.properties" />
+ <property name="support-highlighting"
value="true" />
+ <property name="indexing-configuration-path"
value="../../indexing-configuration.xml" />
+ <property name="query-class"
value="org.exoplatform.services.jcr.impl.core.query.QueryImpl" />
+ <property name="spellchecker-class"
value="org.exoplatform.services.jcr.impl.core.query.lucene.spell.LuceneSpellChecker$FiveSecondsRefreshInterval"
/>
+ </properties>
+ </query-handler>
+ </workspace>
+
+ <workspace name="ws2">
+ <container
class="org.exoplatform.services.jcr.impl.storage.jdbc.JDBCWorkspaceDataContainer">
+ <properties>
+ <property name="source-name"
value="jdbcjcrtck" />
+ <property name="dialect" value="hsqldb"
/>
+ <property name="multi-db" value="false"
/>
+ <property name="update-storage" value="false"
/>
+ <property name="max-buffer-size" value="200k"
/>
+ <property name="swap-directory"
value="target/temp/swap/ws2tck" />
+ </properties>
+ <value-storages>
+ <value-storage id="ws2"
class="org.exoplatform.services.jcr.impl.storage.value.fs.TreeFileValueStorage">
+ <properties>
+ <property name="path"
value="target/temp/values/ws2tck" />
+ </properties>
+ <filters>
+ <filter property-type="Binary" />
+ </filters>
+ </value-storage>
+ </value-storages>
+ </container>
+ <initializer
class="org.exoplatform.services.jcr.impl.core.ScratchWorkspaceInitializer">
+ <properties>
+ <property name="root-nodetype"
value="nt:unstructured" />
+ <property name="root-permissions"
+ value="any read;*:/platform/administrators
read;*:/platform/administrators add_node;*:/platform/administrators
set_property;*:/platform/administrators remove" />
+ </properties>
+ </initializer>
+ <cache enabled="true"
class="org.exoplatform.services.jcr.impl.dataflow.persistent.LinkedWorkspaceStorageCacheImpl">
+ <properties>
+ <property name="max-size" value="2k" />
+ <property name="live-time" value="20m" />
+ </properties>
+ </cache>
+ <query-handler
class="org.exoplatform.services.jcr.impl.core.query.lucene.SearchIndex">
+ <properties>
+ <property name="index-dir"
value="target/temp/index/db1tck/ws2" />
+ <property name="synonymprovider-class"
value="org.exoplatform.services.jcr.impl.core.query.lucene.PropertiesSynonymProvider"
/>
+ <property name="synonymprovider-config-path"
value="../../synonyms.properties" />
+ <property name="support-highlighting"
value="true" />
+ <property name="indexing-configuration-path"
value="../../indexing-configuration.xml" />
+ <property name="query-class"
value="org.exoplatform.services.jcr.impl.core.query.QueryImpl" />
+ <property name="spellchecker-class"
value="org.exoplatform.services.jcr.impl.core.query.lucene.spell.LuceneSpellChecker$FiveSecondsRefreshInterval"
/>
+ <property name="excerptprovider-class"
value="org.exoplatform.services.jcr.impl.core.query.lucene.WeightedHTMLExcerpt"/>
+ <property name="extractorPoolSize"
value="2"/>
+ <property name="extractorTimeout"
value="10"/>
+ </properties>
+ </query-handler>
+ </workspace>
+ </workspaces>
+ </repository>
+ </repositories>
+</repository-service>
Copied: jcr/trunk/component/core/src/test/resources/conf/standalone/test-jcr-config.xml
(from rev 316,
jcr/trunk/component/core/src/test/java/conf/standalone/test-jcr-config.xml)
===================================================================
--- jcr/trunk/component/core/src/test/resources/conf/standalone/test-jcr-config.xml
(rev 0)
+++
jcr/trunk/component/core/src/test/resources/conf/standalone/test-jcr-config.xml 2009-10-20
11:36:31 UTC (rev 318)
@@ -0,0 +1,406 @@
+
+<!--
+
+ Copyright (C) 2009 eXo Platform SAS.
+
+ This is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+
+--><repository-service default-repository="db1">
+ <repositories>
+ <repository name="db1" system-workspace="ws"
default-workspace="ws">
+ <security-domain>exo-domain</security-domain>
+ <!-- access-control>optional</access-control -->
+ <!-- access-control>disable</access-control -->
+ <session-max-age>1h</session-max-age>
+
<authentication-policy>org.exoplatform.services.jcr.impl.core.access.JAASAuthenticator</authentication-policy>
+ <workspaces>
+ <workspace name="ws">
+ <!-- for system storage -->
+ <container
class="org.exoplatform.services.jcr.impl.storage.jdbc.JDBCWorkspaceDataContainer">
+ <properties>
+ <property name="source-name" value="jdbcjcr"
/>
+ <property name="dialect" value="hsqldb"
/>
+ <property name="multi-db" value="true" />
+ <property name="update-storage" value="false"
/>
+ <property name="max-buffer-size" value="200k"
/>
+ <property name="swap-directory"
value="target/temp/swap/ws" />
+ </properties>
+ <value-storages>
+ <value-storage id="ws"
class="org.exoplatform.services.jcr.impl.storage.value.fs.TreeFileValueStorage">
+ <properties>
+ <property name="path"
value="target/temp/values/ws" />
+ <property name="digest-algo"
value="MD5" />
+ <property name="vcas-type"
value="org.exoplatform.services.jcr.impl.storage.value.cas.JDBCValueContentAddressStorageImpl"
/>
+ <property name="jdbc-source-name"
value="jdbcjcr" />
+ <property name="jdbc-dialect"
value="hsqldb" />
+ </properties>
+ <filters>
+ <filter property-type="Binary" />
+ </filters>
+ </value-storage>
+ </value-storages>
+ </container>
+ <initializer
class="org.exoplatform.services.jcr.impl.core.ScratchWorkspaceInitializer">
+ <properties>
+ <property name="root-nodetype"
value="nt:unstructured" />
+ </properties>
+ </initializer>
+ <!-- initializer
class="org.exoplatform.services.jcr.impl.core.RestoreWorkspaceInitializer">
+ <properties>
+ <property name="restore-path"
value="./sv_export_root.xml" />
+ <property name="restore-path"
value="./src/test/resources/import-export/restore_db1_ws1.xml" />
+ </properties>
+ </initializer
+-->
+ <cache enabled="true"
class="org.exoplatform.services.jcr.impl.dataflow.persistent.LinkedWorkspaceStorageCacheImpl">
+ <properties>
+ <property name="max-size" value="2k" />
+ <property name="live-time" value="20m" />
+ <property name="statistic-period" value="30"
/>
+ <property name="statistic-log" value="false"
/>
+ </properties>
+ </cache>
+ <query-handler
class="org.exoplatform.services.jcr.impl.core.query.lucene.SearchIndex">
+ <properties>
+ <property name="index-dir"
value="target/temp/index/db1/ws" />
+ </properties>
+ </query-handler>
+ <lock-manager>
+ <time-out>15m</time-out>
+ <persister
class="org.exoplatform.services.jcr.impl.core.lock.FileSystemLockPersister">
+ <properties>
+ <property name="path"
value="target/temp/lock" />
+ </properties>
+ </persister>
+ </lock-manager>
+ </workspace>
+
+ <workspace name="ws1">
+ <container
class="org.exoplatform.services.jcr.impl.storage.jdbc.JDBCWorkspaceDataContainer">
+ <properties>
+ <property name="source-name" value="jdbcjcr1"
/>
+ <property name="dialect" value="hsqldb"
/>
+ <property name="multi-db" value="true" />
+ <property name="update-storage" value="false"
/>
+ <property name="max-buffer-size" value="200k"
/>
+ <property name="swap-directory"
value="target/temp/swap/ws1" />
+ </properties>
+ <value-storages>
+ <value-storage id="ws1"
class="org.exoplatform.services.jcr.impl.storage.value.fs.TreeFileValueStorage">
+ <properties>
+ <property name="path"
value="target/temp/values/ws1" />
+ </properties>
+ <filters>
+ <filter property-type="Binary" />
+ </filters>
+ </value-storage>
+ </value-storages>
+ </container>
+ <cache enabled="true"
class="org.exoplatform.services.jcr.impl.dataflow.persistent.LinkedWorkspaceStorageCacheImpl">
+ <properties>
+ <property name="max-size" value="2k" />
+ <property name="live-time" value="20m" />
+ </properties>
+ </cache>
+ <query-handler
class="org.exoplatform.services.jcr.impl.core.query.lucene.SearchIndex">
+ <properties>
+ <property name="index-dir"
value="target/temp/index/db1/ws1" />
+ <property name="synonymprovider-class"
value="org.exoplatform.services.jcr.impl.core.query.lucene.PropertiesSynonymProvider"
/>
+ <property name="synonymprovider-config-path"
value="../../synonyms.properties" />
+ <property name="support-highlighting"
value="true" />
+ <property name="indexing-configuration-path"
value="../../indexing-configuration.xml" />
+ <property name="query-class"
value="org.exoplatform.services.jcr.impl.core.query.QueryImpl" />
+ <property name="spellchecker-class"
value="org.exoplatform.services.jcr.impl.core.query.lucene.spell.LuceneSpellChecker$FiveSecondsRefreshInterval"
/>
+ </properties>
+ </query-handler>
+ </workspace>
+
+ <workspace name="ws2">
+ <container
class="org.exoplatform.services.jcr.impl.storage.jdbc.JDBCWorkspaceDataContainer">
+ <properties>
+ <property name="source-name" value="jdbcjcr2"
/>
+ <property name="dialect" value="hsqldb"
/>
+ <property name="multi-db" value="true" />
+ <property name="update-storage" value="false"
/>
+ <property name="max-buffer-size" value="200k"
/>
+ <property name="swap-directory"
value="target/temp/swap/ws2" />
+ </properties>
+ <value-storages>
+ <value-storage id="ws2"
class="org.exoplatform.services.jcr.impl.storage.value.fs.TreeFileValueStorage">
+ <properties>
+ <property name="path"
value="target/temp/values/ws2" />
+ </properties>
+ <filters>
+ <filter property-type="Binary" />
+ </filters>
+ </value-storage>
+ </value-storages>
+ </container>
+ <cache enabled="true"
class="org.exoplatform.services.jcr.impl.dataflow.persistent.LinkedWorkspaceStorageCacheImpl">
+ <properties>
+ <property name="max-size" value="2k" />
+ <property name="live-time" value="20m" />
+ </properties>
+ </cache>
+ <query-handler
class="org.exoplatform.services.jcr.impl.core.query.lucene.SearchIndex">
+ <properties>
+ <property name="index-dir"
value="target/temp/index/db1/ws2" />
+ <property name="synonymprovider-class"
value="org.exoplatform.services.jcr.impl.core.query.lucene.PropertiesSynonymProvider"
/>
+ <property name="synonymprovider-config-path"
value="../../synonyms.properties" />
+ <property name="support-highlighting"
value="true" />
+ <property name="indexing-configuration-path"
value="../../indexing-configuration.xml" />
+ <property name="query-class"
value="org.exoplatform.services.jcr.impl.core.query.QueryImpl" />
+ <property name="spellchecker-class"
value="org.exoplatform.services.jcr.impl.core.query.lucene.spell.LuceneSpellChecker$FiveSecondsRefreshInterval"
/>
+ </properties>
+ </query-handler>
+ </workspace>
+
+ <workspace name="ws3">
+ <!-- for system storage -->
+ <container
+ class="org.exoplatform.services.jcr.impl.storage.jdbc.JDBCWorkspaceDataContainer">
+ <properties>
+ <property name="source-name" value="jdbcjcr3" />
+ <property name="dialect" value="hsqldb" />
+ <property name="multi-db" value="true" />
+ <property name="update-storage" value="false" />
+ <property name="max-buffer-size" value="200k" />
+ <property name="swap-directory"
value="target/temp/swap/ws3" />
+ </properties>
+ <value-storages>
+ <!--
+ This storage is used to check whether properties are removed
+ correctly from each value-storage
+ (TestRemoveFromValueStorage.java)
+ -->
+ <value-storage id="ws3_big"
+ class="org.exoplatform.services.jcr.impl.storage.value.fs.TreeFileValueStorage">
+ <properties>
+ <property name="path" value="target/temp/values/ws3_big"
/>
+ </properties>
+ <filters>
+ <filter property-type="Binary" min-value-size="1024K"
/>
+ </filters>
+ </value-storage>
+ <value-storage id="ws3"
+ class="org.exoplatform.services.jcr.impl.storage.value.fs.CASableTreeFileValueStorage">
+ <properties>
+ <property name="path" value="target/temp/values/ws3"
/>
+ <property name="digest-algo" value="MD5" />
+ <property name="vcas-type"
+ value="org.exoplatform.services.jcr.impl.storage.value.cas.JDBCValueContentAddressStorageImpl"
/>
+ <property name="jdbc-source-name" value="jdbcjcr" />
+ <property name="jdbc-dialect" value="hsqldb" />
+ </properties>
+ <filters>
+ <filter property-type="Binary" />
+ </filters>
+ </value-storage>
+ </value-storages>
+ </container>
+ <initializer
+ class="org.exoplatform.services.jcr.impl.core.ScratchWorkspaceInitializer">
+ <properties>
+ <property name="root-nodetype" value="nt:unstructured"
/>
+ </properties>
+ </initializer>
+ <cache enabled="true"
+ class="org.exoplatform.services.jcr.impl.dataflow.persistent.LinkedWorkspaceStorageCacheImpl">
+ <properties>
+ <property name="max-size" value="2k" />
+ <property name="live-time" value="20m" />
+ </properties>
+ </cache>
+ <query-handler
+ class="org.exoplatform.services.jcr.impl.core.query.lucene.SearchIndex">
+ <properties>
+ <property name="index-dir"
value="target/temp/index/db1/ws3" />
+ <property name="synonymprovider-class"
+ value="org.exoplatform.services.jcr.impl.core.query.lucene.PropertiesSynonymProvider"
/>
+ <property name="synonymprovider-config-path"
value="../../synonyms.properties" />
+ <property name="support-highlighting" value="true" />
+ <property name="indexing-configuration-path"
value="../../indexing-configuration.xml" />
+ <property name="query-class"
+ value="org.exoplatform.services.jcr.impl.core.query.QueryImpl" />
+ <property name="spellchecker-class"
+ value="org.exoplatform.services.jcr.impl.core.query.lucene.spell.LuceneSpellChecker$FiveSecondsRefreshInterval"
/>
+ </properties>
+ </query-handler>
+ </workspace>
+ </workspaces>
+ </repository>
+
+ <repository name="db1tck" system-workspace="ws"
default-workspace="ws">
+ <security-domain>exo-domain</security-domain>
+ <!-- access-control>optional</access-control -->
+ <!-- access-control>disable</access-control -->
+ <session-max-age>1h</session-max-age>
+
<authentication-policy>org.exoplatform.services.jcr.impl.core.access.JAASAuthenticator</authentication-policy>
+ <workspaces>
+ <workspace name="ws">
+ <!-- for system storage -->
+ <container
class="org.exoplatform.services.jcr.impl.storage.jdbc.JDBCWorkspaceDataContainer">
+ <properties>
+ <property name="source-name"
value="jdbcjcrtck" />
+ <property name="dialect" value="hsqldb"
/>
+ <property name="multi-db" value="true" />
+ <property name="update-storage" value="false"
/>
+ <property name="max-buffer-size" value="200k"
/>
+ <property name="swap-directory"
value="target/temp/swap/wstck" />
+ </properties>
+ <value-storages>
+ <value-storage id="ws"
class="org.exoplatform.services.jcr.impl.storage.value.fs.TreeFileValueStorage">
+ <properties>
+ <property name="path"
value="target/temp/values/wstck" />
+ </properties>
+ <filters>
+ <filter property-type="Binary"
min-value-size="100K" />
+ </filters>
+ </value-storage>
+ </value-storages>
+ </container>
+ <initializer
class="org.exoplatform.services.jcr.impl.core.ScratchWorkspaceInitializer">
+ <properties>
+ <property name="root-nodetype"
value="nt:unstructured" />
+ <property name="root-permissions" value="any
read;*:/platform/administrators read;*:/platform/administrators
add_node;*:/platform/administrators set_property;*:/platform/administrators remove"
/>
+ </properties>
+ </initializer>
+ <cache enabled="true"
class="org.exoplatform.services.jcr.impl.dataflow.persistent.LinkedWorkspaceStorageCacheImpl">
+ <properties>
+ <property name="max-size" value="2k" />
+ <property name="live-time" value="20m" />
+ </properties>
+ </cache>
+ <query-handler
class="org.exoplatform.services.jcr.impl.core.query.lucene.SearchIndex">
+ <properties>
+ <property name="index-dir"
value="target/temp/index/db1tck/ws" />
+ <property name="synonymprovider-class"
value="org.exoplatform.services.jcr.impl.core.query.lucene.PropertiesSynonymProvider"
/>
+ <property name="synonymprovider-config-path"
value="../../synonyms.properties" />
+ <property name="support-highlighting"
value="true" />
+ <property name="indexing-configuration-path"
value="../../indexing-configuration.xml" />
+ <property name="query-class"
value="org.exoplatform.services.jcr.impl.core.query.QueryImpl" />
+ <property name="excerptprovider-class"
value="org.exoplatform.services.jcr.impl.core.query.lucene.WeightedHTMLExcerpt"
/>
+ <property name="spellchecker-class"
value="org.exoplatform.services.jcr.impl.core.query.lucene.spell.LuceneSpellChecker$FiveSecondsRefreshInterval"
/>
+ </properties>
+ </query-handler>
+ <lock-manager>
+ <time-out>15m</time-out>
+ <persister
class="org.exoplatform.services.jcr.impl.core.lock.FileSystemLockPersister">
+ <properties>
+ <property name="path"
value="target/temp/locktck" />
+ </properties>
+ </persister>
+ </lock-manager>
+ </workspace>
+
+ <workspace name="ws1">
+ <container
class="org.exoplatform.services.jcr.impl.storage.jdbc.JDBCWorkspaceDataContainer">
+ <properties>
+ <property name="source-name"
value="jdbcjcr1tck" />
+ <property name="dialect" value="hsqldb"
/>
+ <property name="multi-db" value="true" />
+ <property name="update-storage" value="false"
/>
+ <property name="max-buffer-size" value="200k"
/>
+ <property name="swap-directory"
value="target/temp/swap/ws1tck" />
+ </properties>
+ <value-storages>
+ <value-storage id="ws1"
class="org.exoplatform.services.jcr.impl.storage.value.fs.TreeFileValueStorage">
+ <properties>
+ <property name="path"
value="target/temp/values/ws1tck" />
+ </properties>
+ <filters>
+ <filter property-type="Binary"
min-value-size="100K" />
+ </filters>
+ </value-storage>
+ </value-storages>
+ </container>
+ <initializer
class="org.exoplatform.services.jcr.impl.core.ScratchWorkspaceInitializer">
+ <properties>
+ <property name="root-nodetype"
value="nt:unstructured" />
+ <property name="root-permissions" value="any
read;*:/platform/administrators read;*:/platform/administrators
add_node;*:/platform/administrators set_property;*:/platform/administrators remove"
/>
+ </properties>
+ </initializer>
+ <cache enabled="true"
class="org.exoplatform.services.jcr.impl.dataflow.persistent.LinkedWorkspaceStorageCacheImpl">
+ <properties>
+ <property name="max-size" value="2k" />
+ <property name="live-time" value="20m" />
+ </properties>
+ </cache>
+ <query-handler
class="org.exoplatform.services.jcr.impl.core.query.lucene.SearchIndex">
+ <properties>
+ <property name="index-dir"
value="target/temp/index/db1tck/ws1" />
+ <property name="synonymprovider-class"
value="org.exoplatform.services.jcr.impl.core.query.lucene.PropertiesSynonymProvider"
/>
+ <property name="synonymprovider-config-path"
value="../../synonyms.properties" />
+ <property name="support-highlighting"
value="true" />
+ <property name="indexing-configuration-path"
value="../../indexing-configuration.xml" />
+ <property name="query-class"
value="org.exoplatform.services.jcr.impl.core.query.QueryImpl" />
+ <property name="spellchecker-class"
value="org.exoplatform.services.jcr.impl.core.query.lucene.spell.LuceneSpellChecker$FiveSecondsRefreshInterval"
/>
+ </properties>
+ </query-handler>
+ </workspace>
+
+ <workspace name="ws2">
+ <container
class="org.exoplatform.services.jcr.impl.storage.jdbc.JDBCWorkspaceDataContainer">
+ <properties>
+ <property name="source-name"
value="jdbcjcr2tck" />
+ <property name="dialect" value="hsqldb"
/>
+ <property name="multi-db" value="true" />
+ <property name="update-storage" value="false"
/>
+ <property name="max-buffer-size" value="200k"
/>
+ <property name="swap-directory"
value="target/temp/swap/ws2tck" />
+ </properties>
+ <value-storages>
+ <value-storage id="ws2"
class="org.exoplatform.services.jcr.impl.storage.value.fs.TreeFileValueStorage">
+ <properties>
+ <property name="path"
value="target/temp/values/ws2tck" />
+ </properties>
+ <filters>
+ <filter property-type="Binary"
min-value-size="100K" />
+ </filters>
+ </value-storage>
+ </value-storages>
+ </container>
+ <initializer
class="org.exoplatform.services.jcr.impl.core.ScratchWorkspaceInitializer">
+ <properties>
+ <property name="root-nodetype"
value="nt:unstructured" />
+ <property name="root-permissions" value="any
read;*:/platform/administrators read;*:/platform/administrators
add_node;*:/platform/administrators set_property;*:/platform/administrators remove"
/>
+ </properties>
+ </initializer>
+ <cache enabled="true"
class="org.exoplatform.services.jcr.impl.dataflow.persistent.LinkedWorkspaceStorageCacheImpl">
+ <properties>
+ <property name="max-size" value="2k" />
+ <property name="live-time" value="20m" />
+ </properties>
+ </cache>
+ <query-handler
class="org.exoplatform.services.jcr.impl.core.query.lucene.SearchIndex">
+ <properties>
+ <property name="index-dir"
value="target/temp/index/db1tck/ws2" />
+ <property name="synonymprovider-class"
value="org.exoplatform.services.jcr.impl.core.query.lucene.PropertiesSynonymProvider"
/>
+ <property name="synonymprovider-config-path"
value="../../synonyms.properties" />
+ <property name="support-highlighting"
value="true" />
+ <property name="indexing-configuration-path"
value="../../indexing-configuration.xml" />
+ <property name="query-class"
value="org.exoplatform.services.jcr.impl.core.query.QueryImpl" />
+ <property name="spellchecker-class"
value="org.exoplatform.services.jcr.impl.core.query.lucene.spell.LuceneSpellChecker$FiveSecondsRefreshInterval"
/>
+ <property name="excerptprovider-class"
value="org.exoplatform.services.jcr.impl.core.query.lucene.WeightedHTMLExcerpt"/>
+ <property name="extractorPoolSize"
value="2"/>
+ <property name="extractorTimeout"
value="10"/>
+ </properties>
+ </query-handler>
+ </workspace>
+ </workspaces>
+ </repository>
+ </repositories>
+</repository-service>
Copied: jcr/trunk/component/core/src/test/resources/log4j.properties (from rev 316,
jcr/trunk/component/core/src/main/resources/log4j.properties)
===================================================================
--- jcr/trunk/component/core/src/test/resources/log4j.properties
(rev 0)
+++ jcr/trunk/component/core/src/test/resources/log4j.properties 2009-10-20 11:36:31 UTC
(rev 318)
@@ -0,0 +1,25 @@
+# Set root logger level to DEBUG and its only appender to A1.
+#log4j.rootLogger=INFO, file
+#log4j.rootLogger=DEBUG, file
+#log4j.rootLogger=DEBUG, stdout, file
+log4j.rootLogger=ERROR, stdout, file
+
+#log4j.logger.org.apache.jackrabbit.test=DEBUG
+#log4j.logger.org.exoplatform=DEBUG
+log4j.logger.org.hibernate=ERROR
+
+# 'stdout' is set to be a ConsoleAppender.
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+
+# 'stdout' uses PatternLayout
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=%d{dd.MM.yyyy HH:mm:ss} *%-5p* [%t] %c{1}:
%m (%F, line %L)\n
+
+# 'file' is set to be a FileAppender.
+log4j.appender.file=org.apache.log4j.FileAppender
+#log4j.appender.file.File=jcr.log
+log4j.appender.file.File=nul
+
+# 'file' uses PatternLayout.
+log4j.appender.file.layout=org.apache.log4j.PatternLayout
+log4j.appender.file.layout.ConversionPattern=%d{dd.MM.yyyy HH:mm:ss} *%-5p* [%t] %c{1}:
%m (%F, line %L)\n
Copied: jcr/trunk/component/core/src/test/resources/login.conf (from rev 316,
jcr/trunk/component/core/src/main/resources/login.conf)
===================================================================
--- jcr/trunk/component/core/src/test/resources/login.conf (rev
0)
+++ jcr/trunk/component/core/src/test/resources/login.conf 2009-10-20 11:36:31 UTC (rev
318)
@@ -0,0 +1,3 @@
+exo-domain {
+ org.exoplatform.services.security.jaas.DefaultLoginModule required;
+};
\ No newline at end of file
Copied: jcr/trunk/component/core/src/test/resources/login_prev.conf (from rev 316,
jcr/trunk/component/core/src/main/resources/login_prev.conf)
===================================================================
--- jcr/trunk/component/core/src/test/resources/login_prev.conf
(rev 0)
+++ jcr/trunk/component/core/src/test/resources/login_prev.conf 2009-10-20 11:36:31 UTC
(rev 318)
@@ -0,0 +1,4 @@
+exo-domain {
+ org.exoplatform.services.security.jaas.StandaloneLoginModule required;
+};
+
Copied:
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/api/nodetypes/ecm/nodetypes-config-extended.xml
(from rev 316,
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/api/nodetypes/ecm/nodetypes-config-extended.xml)
===================================================================
---
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/api/nodetypes/ecm/nodetypes-config-extended.xml
(rev 0)
+++
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/api/nodetypes/ecm/nodetypes-config-extended.xml 2009-10-20
11:36:31 UTC (rev 318)
@@ -0,0 +1,838 @@
+<nodeTypes
xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
xmlns:mix="http://www.jcp.org/jcr/mix/1.0"
xmlns:jcr="http://www.jcp.org/jcr/1.0">
+
+ <!-- For DTD rules look at nodetypes.dtd (
+ Original version live in exo-jcr.services.jcr.impl-1.0.jar at
+ org\exoplatform\services\jcr\impl\core\nodetype\ path
+ ) -->
+
+ <!-- org.exoplatform.services.cms.scripts.* types -->
+
+ <nodeType name="exo:sendMailAction" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:scriptAction</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:script"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="true"
+ multiple="false">
+ <valueConstraints />
+ <defaultValues>
+
<defaultValue>ecm-explorer/action/SendMailScript.groovy</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ <propertyDefinition name="exo:to" requiredType="String"
autoCreated="false" mandatory="true" onParentVersion="COPY"
protected="false"
+ multiple="false" />
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:transformBinaryToTextAction"
isMixin="false" hasOrderableChildNodes="false"
primaryItemName="">
+ <supertypes>
+ <supertype>exo:scriptAction</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:script"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="true"
+ multiple="false">
+ <valueConstraints />
+ <defaultValues>
+
<defaultValue>ecm-explorer/action/TransformBinaryChildrenToTextScript.groovy</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:ReloadBPAction" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:scriptAction</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:script"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="true"
+ multiple="false">
+ <valueConstraints />
+ <defaultValues>
+
<defaultValue>ecm-explorer/action/ReloadBPScript.groovy</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:processRecordAction" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:scriptAction</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:script"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="true"
+ multiple="false">
+ <valueConstraints />
+ <defaultValues>
+
<defaultValue>ecm-explorer/action/ProcessRecordsScript.groovy</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+
+
+ <!-- org.exoplatform.services.cms.workflow.* -->
+
+ <nodeType name="exo:workflowAction" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:businessProcessAction</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:validator"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ <propertyDefinition name="exo:businessProcess"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY"
+ protected="true" multiple="false">
+ <valueConstraints />
+ <defaultValues>
+ <defaultValue>content-validation</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:backupAction" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:businessProcessAction</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:businessProcess"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY"
+ protected="true" multiple="false">
+ <valueConstraints />
+ <defaultValues>
+ <defaultValue>content-backup</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:businessProcessModel" isMixin="false"
hasOrderableChildNodes="true" primaryItemName="">
+ <supertypes>
+ <supertype>nt:unstructured</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:businessProcessId"
requiredType="String" autoCreated="false" mandatory="true"
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>
+ </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>
+
+ <!-- org.exoplatform.services.cms.publications.impl.* -->
+ <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="VERSION"
+ 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>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:buttons"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:view" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:permissions"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:template"
requiredType="String" 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="false">
+ <requiredPrimaryTypes>
+ <requiredPrimaryType>nt:base</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ </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>
+
+ <!-- org.exoplatform.services.cms.categories.* -->
+
+ <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>
+
+ <!-- org.exoplatform.services.cms.templates.impl.* -->
+
+ <nodeType name="exo:template" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:templateFile"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:roles"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="false"
+ multiple="true">
+ <valueConstraints />
+ <defaultValues>
+ <defaultValue>*</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:taxonomy" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <childNodeDefinitions>
+ <childNodeDefinition name="*" defaultPrimaryType=""
autoCreated="false" mandatory="false"
onParentVersion="VERSION" protected="false"
+ sameNameSiblings="false">
+ <requiredPrimaryTypes>
+ <requiredPrimaryType>nt:base</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ </childNodeDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:drive" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:permissions"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="IGNORE"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:path" requiredType="String"
autoCreated="false" mandatory="true"
onParentVersion="IGNORE" protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:workspace"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="IGNORE"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:views"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="IGNORE" protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:icon" requiredType="String"
autoCreated="false" mandatory="true"
onParentVersion="IGNORE" protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:viewPreferences"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="IGNORE"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:viewNonDocument"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="IGNORE"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:viewExplorer"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="IGNORE"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:viewClipboard"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="IGNORE"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ <childNodeDefinitions>
+ <childNodeDefinition name="*" defaultPrimaryType=""
autoCreated="false" mandatory="false"
onParentVersion="VERSION" protected="false"
+ sameNameSiblings="false">
+ <requiredPrimaryTypes>
+ <requiredPrimaryType>nt:base</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ </childNodeDefinitions>
+ </nodeType>
+ <nodeType name="exo:createRSSFeedAction" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:scriptAction</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:script"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="true"
+ multiple="false">
+ <defaultValues>
+
<defaultValue>ecm-explorer/action/RSSScript.groovy</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ <propertyDefinition name="exo:feedTitle"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+
+ <propertyDefinition name="exo:feedType"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY" protected="false"
+ multiple="false" />
+
+ <propertyDefinition name="exo:link" requiredType="String"
autoCreated="false" mandatory="true" onParentVersion="COPY"
protected="false"
+ multiple="false" />
+
+ <propertyDefinition name="exo:description"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+
+ <propertyDefinition name="exo:language"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+
+ <propertyDefinition name="exo:copyright"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+
+ <propertyDefinition name="exo:pubDate"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="false" />
+
+ <propertyDefinition name="exo:ownerName"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+
+ <propertyDefinition name="exo:ownerEmail"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+
+ <propertyDefinition name="exo:imageURL"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+
+ <propertyDefinition name="exo:category"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+
+ <propertyDefinition name="exo:keywords"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+
+ <propertyDefinition name="exo:storePath"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+
+ <propertyDefinition name="exo:feedName"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+
+ <propertyDefinition name="exo:rssVersion"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+
+ <propertyDefinition name="exo:queryPath"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+
+ <propertyDefinition name="exo:url" requiredType="String"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="false"
+ multiple="false" />
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:podcast" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:file</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:title"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:link" requiredType="String"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:author"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:explicit"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:podcastCategory"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:keywords"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:publishedDate"
requiredType="Date" 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:length"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ <!--
+ childNodeDefinitions> <childNodeDefinition name="exo:media"
defaultPrimaryType="" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" sameNameSiblings="false">
<requiredPrimaryTypes>
<requiredPrimaryType>nt:file</requiredPrimaryType>
</requiredPrimaryTypes>
+ </childNodeDefinition> </childNodeDefinitions
+ -->
+ </nodeType>
+
+ <nodeType name="exo:event" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ <supertype>exo:categorized</supertype>
+ <supertype>mix:referenceable</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:summary"
requiredType="String" autoCreated="false" mandatory="true"
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:comment"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:location"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY" protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:dtstart"
requiredType="Date" autoCreated="false" mandatory="true"
onParentVersion="COPY" protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:dtend" requiredType="Date"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:fbtype"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY" protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:sharetype"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:iCalendarGenerateAction" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:scriptAction</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:script"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="true"
+ multiple="false">
+ <defaultValues>
+
<defaultValue>ecm-explorer/action/ICalendarScript.groovy</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ <propertyDefinition name="exo:calendarPath"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ <propertyDefinition name="exo:query"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="false" />
+ <propertyDefinition name="exo:description"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:eventShareCategory" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:sharetype"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ <childNodeDefinitions>
+ <childNodeDefinition name="*" defaultPrimaryType=""
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="false"
+ sameNameSiblings="false">
+ <requiredPrimaryTypes>
+ <requiredPrimaryType>exo:event</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ </childNodeDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:calendar" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:shared"
requiredType="Boolean" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ <childNodeDefinitions>
+ <childNodeDefinition name="*" defaultPrimaryType=""
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="false"
+ sameNameSiblings="false">
+ <requiredPrimaryTypes>
+
<requiredPrimaryType>exo:eventShareCategory</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ </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>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:rssWatcher"
requiredType="String" autoCreated="true" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="true">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:emailWatcher"
requiredType="String" autoCreated="true" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="true">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:mail" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:from" requiredType="String"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:to" requiredType="String"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:cc" requiredType="String"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:bcc" requiredType="String"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:subject"
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>
+ <propertyDefinition name="exo:sendDate"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:receivedDate"
requiredType="Date" 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>
+ </childNodeDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:getMailAction" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:scriptAction</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:script"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="true"
+ multiple="false">
+ <defaultValues>
+
<defaultValue>ecm-explorer/action/GetMailScript.groovy</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ <propertyDefinition name="exo:protocol"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY" protected="false"
+ multiple="false" />
+ <propertyDefinition name="exo:host" requiredType="String"
autoCreated="false" mandatory="true" onParentVersion="COPY"
protected="false"
+ multiple="false" />
+ <propertyDefinition name="exo:port" requiredType="String"
autoCreated="false" mandatory="true" onParentVersion="COPY"
protected="false"
+ multiple="false" />
+ <propertyDefinition name="exo:folder"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY" protected="false"
+ multiple="false" />
+ <propertyDefinition name="exo:userName"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY" protected="false"
+ multiple="false" />
+ <propertyDefinition name="exo:password"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY" protected="false"
+ multiple="false" />
+ <propertyDefinition name="exo:description"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ <propertyDefinition name="exo:storePath"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:tag" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:tagCreatedDate"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:lastUpdatedDate"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:tagStatus"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:tagStyle" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:styleRange"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:htmlStyle"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </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"
+ multiple="false">
+ <valueConstraints />
+ <defaultValues>
+ <defaultValue>en</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ </propertyDefinitions>
+ <childNodeDefinitions>
+ <childNodeDefinition name="*"
defaultPrimaryType="nt:unstructured" autoCreated="false"
mandatory="false" onParentVersion="VERSION"
+ protected="false" sameNameSiblings="false">
+ <requiredPrimaryTypes>
+ <requiredPrimaryType>nt:unstructured</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ </childNodeDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:votingInfo" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:voter"
requiredType="String" autoCreated="true" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="false">
+ </propertyDefinition>
+ <propertyDefinition name="exo:rating" requiredType="Int"
autoCreated="true" mandatory="false" onParentVersion="COPY"
protected="false"
+ multiple="false">
+ </propertyDefinition>
+ <propertyDefinition name="exo:voteDate"
requiredType="Date" autoCreated="true" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="false">
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="mix:votable" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <propertyDefinitions>
+ <propertyDefinition name="exo:votingRate"
requiredType="Double" autoCreated="true" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ <defaultValues>
+ <defaultValue>0</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ <propertyDefinition name="exo:voteTotal"
requiredType="Long" autoCreated="true" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="false">
+ <valueConstraints />
+ <defaultValues>
+ <defaultValue>0</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ <propertyDefinition name="exo:voter"
requiredType="String" autoCreated="true" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="true">
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+</nodeTypes>
+
+
+
Copied:
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/api/nodetypes/ecm/nodetypes-config.xml
(from rev 316,
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/api/nodetypes/ecm/nodetypes-config.xml)
===================================================================
---
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/api/nodetypes/ecm/nodetypes-config.xml
(rev 0)
+++
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/api/nodetypes/ecm/nodetypes-config.xml 2009-10-20
11:36:31 UTC (rev 318)
@@ -0,0 +1,106 @@
+<nodeTypes
xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
xmlns:mix="http://www.jcp.org/jcr/mix/1.0"
xmlns:jcr="http://www.jcp.org/jcr/1.0">
+
+ <!-- For DTD rules look at nodetypes.dtd (
+ Original version live in exo-jcr.services.jcr.impl-1.0.jar at
+ org\exoplatform\services\jcr\impl\core\nodetype\ path
+ ) -->
+
+ <!-- org.exoplatform.services.cms.actions.* types -->
+
+ <nodeType name="exo:action" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:name" requiredType="String"
autoCreated="false" mandatory="true" 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:lifecyclePhase"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ <defaultValues>
+ <defaultValue>add</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ <propertyDefinition name="exo:roles"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="false"
+ multiple="true">
+ <valueConstraints />
+ <defaultValues>
+ <defaultValue>*</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:businessProcessAction" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:action</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:businessProcess"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:scriptAction" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:action</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:script"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY" protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:ruleAction" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:action</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:rule" requiredType="String"
autoCreated="false" mandatory="true" onParentVersion="COPY"
protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:actionable" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <!--<supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>-->
+ <childNodeDefinitions>
+ <childNodeDefinition name="*" defaultPrimaryType=""
autoCreated="false" mandatory="false"
onParentVersion="VERSION" protected="false"
+ sameNameSiblings="true">
+ <requiredPrimaryTypes>
+ <requiredPrimaryType>exo:action</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ </childNodeDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:move" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <!--<supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>-->
+ <propertyDefinitions>
+ <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>
+
+</nodeTypes>
\ No newline at end of file
Copied:
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/api/nodetypes/nodetypes-api-test.xml
(from rev 316,
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/api/nodetypes/nodetypes-api-test.xml)
===================================================================
---
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/api/nodetypes/nodetypes-api-test.xml
(rev 0)
+++
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/api/nodetypes/nodetypes-api-test.xml 2009-10-20
11:36:31 UTC (rev 318)
@@ -0,0 +1,164 @@
+<nodeTypes
xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
xmlns:mix="http://www.jcp.org/jcr/mix/1.0"
xmlns:jcr="http://www.jcp.org/jcr/1.0">
+
+ <!--
+ HOW-TO:
+ It's not simply to run this test, as we need differents in nodes UUIDs in data
container.
+
+ Testing with source distribution.
+ Run test once (like 'mvn clean test') its create repository and register node
types.
+ Change source file MultiDbJDBCConnection.java in FIND_NODES_BY_PARENTID variable use
+ " order by I.ID DESC" instead " order by I.ID ". Be careful to
revert changes back after test.
+ And run the repository software again on existed and initialized database (like
'mvn test').
+ On the second phase you'll see repository startup printout with messages like:
+ '>>> Node types registration cycle X started'
+ '<<< Node types registration cycle X finished'
+ where X is cycle number of node types registration.
+ More one cycle can be.
+ It's depends on nodetypes count referenced one-by-one with forward declaration of
dependent type.
+
+ Another way to perform test it's change order of nodes returned by data container
on getChildNodesData().
+ This can be done by direct change of UUIDs in the data storage (database).
+ -->
+
+ <!-- testing super dependecy -->
+ <nodeType name="jcr:testValueConstraints" isMixin="false"
hasOrderableChildNodes="true" primaryItemName="">
+ <supertypes>
+ <supertype>nt:unstructured</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="jcr:testSTRING1"
requiredType="STRING" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints>
+ <valueConstraint>abc</valueConstraint>
+ </valueConstraints>
+ </propertyDefinition>
+ <propertyDefinition name="jcr:testSTRING2"
requiredType="STRING" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints>
+ <valueConstraint>.*</valueConstraint>
+ </valueConstraints>
+ </propertyDefinition>
+ <propertyDefinition name="jcr:testPATH"
requiredType="PATH" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="false">
+ <valueConstraints>
+ <valueConstraint>/abc</valueConstraint>
+ <!--<valueConstraint>/exojcrtest/*</valueConstraint>-->
+ <valueConstraint>../exojcrtest:def/*</valueConstraint>
+ </valueConstraints>
+ </propertyDefinition>
+ <propertyDefinition name="jcr:testNAME"
requiredType="NAME" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="false">
+ <valueConstraints>
+ <valueConstraint>abc:</valueConstraint>
+ <valueConstraint>abc:def</valueConstraint>
+ </valueConstraints>
+ </propertyDefinition>
+ <propertyDefinition name="jcr:testREFERENCE"
requiredType="REFERENCE" autoCreated="false"
mandatory="false" onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints>
+ <valueConstraint>nt:unstructured</valueConstraint>
+ </valueConstraints>
+ </propertyDefinition>
+ <propertyDefinition name="jcr:testBINARYINCLUSIVE"
requiredType="BINARY" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints>
+ <valueConstraint>(,16384]</valueConstraint>
+ <valueConstraint>[16777216,)</valueConstraint>
+ </valueConstraints>
+ </propertyDefinition>
+ <propertyDefinition name="jcr:testBINARYEXCLUSIVE"
requiredType="BINARY" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints>
+ <valueConstraint>(,16384)</valueConstraint>
+ <valueConstraint>(16777216,)</valueConstraint>
+ </valueConstraints>
+ </propertyDefinition>
+ <propertyDefinition name="jcr:testDATEINCLUSIVE"
requiredType="DATE" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints>
+
<valueConstraint>(,1111-11-11T11:11:11.111Z]</valueConstraint>
+
<valueConstraint>[1222-11-11T11:11:11.111Z,)</valueConstraint>
+ </valueConstraints>
+ </propertyDefinition>
+ <propertyDefinition name="jcr:testDATEEXCLUSIVE"
requiredType="DATE" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints>
+
<valueConstraint>(,1111-11-11T11:11:11.111Z)</valueConstraint>
+
<valueConstraint>(1222-11-11T11:11:11.111Z,)</valueConstraint>
+ </valueConstraints>
+ </propertyDefinition>
+ <propertyDefinition name="jcr:testLONGINCLUSIVE"
requiredType="LONG" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints>
+ <valueConstraint>(,100]</valueConstraint>
+ <valueConstraint>[200,)</valueConstraint>
+ </valueConstraints>
+ </propertyDefinition>
+ <propertyDefinition name="jcr:testLONGEXCLUSIVE"
requiredType="LONG" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints>
+ <valueConstraint>(,100)</valueConstraint>
+ <valueConstraint>(200,)</valueConstraint>
+ </valueConstraints>
+ </propertyDefinition>
+ <propertyDefinition name="jcr:testDOUBLEINCLUSIVE"
requiredType="LONG" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints>
+ <valueConstraint>(,100]</valueConstraint>
+ <valueConstraint>[200,)</valueConstraint>
+ </valueConstraints>
+ </propertyDefinition>
+ <propertyDefinition name="jcr:testDOUBLEEXCLUSIVE"
requiredType="LONG" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints>
+ <valueConstraint>(,100)</valueConstraint>
+ <valueConstraint>(200,)</valueConstraint>
+ </valueConstraints>
+ </propertyDefinition>
+ <propertyDefinition name="jcr:testBOOLEAN"
requiredType="BOOLEAN" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints>
+ <valueConstraint>true</valueConstraint>
+ </valueConstraints>
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:refRoot" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:unstructured</supertype>
+ <supertype>mix:referenceable</supertype>
+ </supertypes>
+ </nodeType>
+
+ <nodeType name="exo:autoCreate" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:unstructured</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="jcr:autoCreateProperty"
requiredType="String" autoCreated="true" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ <!-- defaultValues>
+ <defaultValue></defaultValue>
+ </defaultValues -->
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:autoCreate2" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:unstructured</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="jcr:autoCreateProperty"
requiredType="String" autoCreated="true" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ <defaultValues>
+ <defaultValue></defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+</nodeTypes>
\ No newline at end of file
Copied:
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/impl/core/nodetype/test-jcr589.xml
(from rev 316,
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/impl/core/nodetype/test-jcr589.xml)
===================================================================
---
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/impl/core/nodetype/test-jcr589.xml
(rev 0)
+++
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/impl/core/nodetype/test-jcr589.xml 2009-10-20
11:36:31 UTC (rev 318)
@@ -0,0 +1,26 @@
+<nodeTypes
xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
xmlns:mix="http://www.jcp.org/jcr/mix/1.0"
xmlns:jcr="http://www.jcp.org/jcr/1.0"
xmlns:dc="http://purl.org/dc/elements/1.1/">
+ <nodeType name="myNodeType" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ </nodeType>
+ <nodeType name="myNodeTypes" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <childNodeDefinitions>
+ <childNodeDefinition name="*"
defaultPrimaryType="myNodeType" autoCreated="false"
mandatory="false" onParentVersion="COPY"
+ protected="false" sameNameSiblings="false">
+ <requiredPrimaryTypes>
+ <requiredPrimaryType>myNodeType</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ <childNodeDefinition name="*"
defaultPrimaryType="myNodeTypes" autoCreated="false"
mandatory="false" onParentVersion="COPY"
+ protected="false" sameNameSiblings="false">
+ <requiredPrimaryTypes>
+ <requiredPrimaryType>myNodeTypes</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ </childNodeDefinitions>
+ </nodeType>
+</nodeTypes>
\ No newline at end of file
Copied:
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/impl/core/nodetype/test-nodetypes.xml
(from rev 316,
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/impl/core/nodetype/test-nodetypes.xml)
===================================================================
---
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/impl/core/nodetype/test-nodetypes.xml
(rev 0)
+++
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/impl/core/nodetype/test-nodetypes.xml 2009-10-20
11:36:31 UTC (rev 318)
@@ -0,0 +1,52 @@
+<nodeTypes
xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
xmlns:mix="http://www.jcp.org/jcr/mix/1.0"
xmlns:jcr="http://www.jcp.org/jcr/1.0"
xmlns:dc="http://purl.org/dc/elements/1.1/">
+ <nodeType name="exo:mySubTypeJCR805" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:myValue"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY" protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+ <nodeType name="exo:myTypeJCR805" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <childNodeDefinitions>
+ <childNodeDefinition name="exo:myChildNode"
defaultPrimaryType="exo:mySubTypeJCR805" autoCreated="true"
mandatory="false"
+ onParentVersion="COPY" protected="false"
sameNameSiblings="false">
+ <requiredPrimaryTypes>
+
<requiredPrimaryType>exo:mySubTypeJCR805</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ </childNodeDefinitions>
+ </nodeType>
+ <nodeType name="exo:mySubTypeJCR806" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <childNodeDefinitions>
+ <childNodeDefinition name="exo:myChildNode"
defaultPrimaryType="nt:base" autoCreated="true"
mandatory="false" onParentVersion="COPY"
+ protected="false" sameNameSiblings="false">
+ <requiredPrimaryTypes>
+ <requiredPrimaryType>nt:base</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ </childNodeDefinitions>
+ </nodeType>
+ <nodeType name="exo:myTypeJCR806" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:mySubTypeJCR806</supertype>
+ </supertypes>
+ <childNodeDefinitions>
+ <childNodeDefinition name="exo:myChildNode"
defaultPrimaryType="nt:base" autoCreated="true"
mandatory="false" onParentVersion="COPY"
+ protected="false" sameNameSiblings="false">
+ <requiredPrimaryTypes>
+ <requiredPrimaryType>nt:base</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ </childNodeDefinitions>
+ </nodeType>
+</nodeTypes>
\ No newline at end of file
Copied:
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/usecases/nodetypes/nodetypes-usecase-test.xml
(from rev 316,
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/usecases/nodetypes/nodetypes-usecase-test.xml)
===================================================================
---
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/usecases/nodetypes/nodetypes-usecase-test.xml
(rev 0)
+++
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/usecases/nodetypes/nodetypes-usecase-test.xml 2009-10-20
11:36:31 UTC (rev 318)
@@ -0,0 +1,148 @@
+<nodeTypes
xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
xmlns:mix="http://www.jcp.org/jcr/mix/1.0"
+
xmlns:jcr="http://www.jcp.org/jcr/1.0">
+
+ <!--
+ HOW-TO:
+ It's not simply to run this test, as we need differents in nodes UUIDs in data
container.
+
+ Testing with source distribution.
+ Run test once (like 'mvn clean test') its create repository and register node
types.
+ Change source file MultiDbJDBCConnection.java in FIND_NODES_BY_PARENTID variable use
+ " order by I.ID DESC" instead " order by I.ID ". Be careful to
revert changes back after test.
+ And run the repository software again on existed and initialized database (like
'mvn test').
+ On the second phase you'll see repository startup printout with messages like:
+ '>>> Node types registration cycle X started'
+ '<<< Node types registration cycle X finished'
+ where X is cycle number of node types registration.
+ More one cycle can be.
+ It's depends on nodetypes count referenced one-by-one with forward declaration of
dependent type.
+
+ Another way to perform test it's change order of nodes returned by data container
on getChildNodesData().
+ This can be done by direct change of UUIDs in the data storage (database).
+ -->
+
+ <!-- testing super dependecy -->
+ <nodeType name="exojcrtest:testNodeType_super_1" isMixin="false"
hasOrderableChildNodes="true" primaryItemName="">
+ <supertypes>
+ <supertype>nt:unstructured</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="prop1" requiredType="undefined"
autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="true">
+ <valueConstraints/>
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exojcrtest:testNodeType__1" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exojcrtest:testNodeType_super_1</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="property_1" requiredType="String"
autoCreated="false" mandatory="false"
+ onParentVersion="COPY" protected="false"
multiple="false">
+ <valueConstraints/>
+ </propertyDefinition>
+ <propertyDefinition name="property_2" requiredType="String"
autoCreated="false" mandatory="false"
+ onParentVersion="COPY" protected="false"
multiple="false">
+ <valueConstraints/>
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <!-- testing super dependecy for forward nodetype and for unregistered before
-->
+ <nodeType name="exojcrtest:testNodeType_super_2" isMixin="false"
hasOrderableChildNodes="true" primaryItemName="">
+ <supertypes>
+ <supertype>nt:unstructured</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="prop_2_1" requiredType="undefined"
autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="true">
+ <valueConstraints/>
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exojcrtest:testNodeType__2" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exojcrtest:testNodeType_super_2</supertype>
+ <supertype>exojcrtest:testNodeType__1</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="property_2_1"
requiredType="String" autoCreated="false" mandatory="false"
+ onParentVersion="COPY" protected="false"
multiple="false">
+ <valueConstraints/>
+ </propertyDefinition>
+ <propertyDefinition name="property_2_2"
requiredType="String" autoCreated="false" mandatory="false"
+ onParentVersion="COPY" protected="false"
multiple="false">
+ <valueConstraints/>
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <!-- testing requiredPrimaryType dependecy -->
+ <nodeType name="exojcrtest:testNodeType_required"
isMixin="false" hasOrderableChildNodes="true"
primaryItemName="somePromaryItem">
+ <supertypes>
+ <supertype>nt:unstructured</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="prop__1" requiredType="undefined"
autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="true">
+ <valueConstraints/>
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exojcrtest:testNodeType__3" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ <supertype>exojcrtest:testNodeType_super_2</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="property_3_1"
requiredType="String" autoCreated="false" mandatory="false"
+ onParentVersion="COPY" protected="false"
multiple="false">
+ <valueConstraints/>
+ </propertyDefinition>
+ <propertyDefinition name="property_3_2"
requiredType="String" autoCreated="false" mandatory="false"
+ onParentVersion="COPY" protected="false"
multiple="false">
+ <valueConstraints/>
+ </propertyDefinition>
+ </propertyDefinitions>
+ <childNodeDefinitions>
+ <childNodeDefinition name="somePrimaryItem"
defaultPrimaryType="" autoCreated="false" mandatory="true"
+ onParentVersion="COPY" protected="false"
sameNameSiblings="false">
+ <requiredPrimaryTypes>
+
<requiredPrimaryType>exojcrtest:testNodeType_required</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ </childNodeDefinitions>
+ </nodeType>
+
+ <!-- testing super dependecy for forward nodetype and for unregistered before
+ plus requiredPrimaryType dependecy -->
+ <nodeType name="exojcrtest:testNodeType__4" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ <supertype>exojcrtest:testNodeType_super_2</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="property_4_1"
requiredType="String" autoCreated="false" mandatory="false"
+ onParentVersion="COPY" protected="false"
multiple="false">
+ <valueConstraints/>
+ </propertyDefinition>
+ <propertyDefinition name="property_4_2"
requiredType="String" autoCreated="false" mandatory="false"
+ onParentVersion="COPY" protected="false"
multiple="false">
+ <valueConstraints/>
+ </propertyDefinition>
+ </propertyDefinitions>
+ <childNodeDefinitions>
+ <childNodeDefinition name="somePrimaryItem"
defaultPrimaryType="" autoCreated="false" mandatory="true"
+ onParentVersion="COPY" protected="false"
sameNameSiblings="false">
+ <requiredPrimaryTypes>
+
<requiredPrimaryType>exojcrtest:testNodeType_required</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ </childNodeDefinitions>
+ </nodeType>
+
+</nodeTypes>
\ No newline at end of file
Copied:
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/usecases/query/business-process-nodetypes.xml
(from rev 316,
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/usecases/query/business-process-nodetypes.xml)
===================================================================
---
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/usecases/query/business-process-nodetypes.xml
(rev 0)
+++
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/usecases/query/business-process-nodetypes.xml 2009-10-20
11:36:31 UTC (rev 318)
@@ -0,0 +1,205 @@
+<nodeTypes
xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
xmlns:mix="http://www.jcp.org/jcr/mix/1.0"
xmlns:jcr="http://www.jcp.org/jcr/1.0">
+
+ <!-- These specific nodetypes is used for content publishing process -->
+
+ <!-- Nodetype for publishing action -->
+ <nodeType name="exo:publishingProcess" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:businessProcessAction</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:supervisor"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ <propertyDefinition name="exo:businessProcess"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY"
+ protected="true" multiple="false">
+ <valueConstraints />
+ <defaultValues>
+ <defaultValue>content-publishing</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:publishLocation" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <propertyDefinitions>
+ <propertyDefinition name="exo:publishWorkspace"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:publishPath"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:validator"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:pendingLocation" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <propertyDefinitions>
+ <propertyDefinition name="exo:pendingWorkspace"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:pendingPath"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:backupLocation" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <propertyDefinitions>
+ <propertyDefinition name="exo:backupWorkspace"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:backupPath"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:trashLocation" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <propertyDefinitions>
+ <propertyDefinition name="exo:trashWorkspace"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:trashPath"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <!-- Nodetype for request publishing action -->
+ <nodeType name="exo:publishingRequest" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:scriptAction</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:script"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="true"
+ multiple="false">
+ <valueConstraints />
+ <defaultValues>
+
<defaultValue>ecm-explorer/action/PublishingRequestScript.groovy</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ <propertyDefinition name="exo:requestPath"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ <propertyDefinition name="exo:reservePath"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ </propertyDefinitions>
+ </nodeType>
+
+ <!-- Nodetypes for publishing state and information -->
+ <nodeType name="exo:publishingState" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <propertyDefinitions>
+ <propertyDefinition name="exo:currentState"
requiredType="String" autoCreated="true" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ <defaultValues>
+ <defaultValue>Request for Validate</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:validationRequest" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <propertyDefinitions>
+ <propertyDefinition name="exo:requester"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ <propertyDefinition name="exo:requestDate"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ <propertyDefinition name="exo:requestComment"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:approved" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <propertyDefinitions>
+ <propertyDefinition name="exo:approver"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ <propertyDefinition name="exo:approvedDate"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ <propertyDefinition name="exo:approvedComment"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:disapproved" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <propertyDefinitions>
+ <propertyDefinition name="exo:contradictor"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ <propertyDefinition name="exo:disaprovedDate"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ <propertyDefinition name="exo:disaprovedReason"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:delegated" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <propertyDefinitions>
+ <propertyDefinition name="exo:assigner"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ <propertyDefinition name="exo:delegator"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ <propertyDefinition name="exo:delegatedDate"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ <propertyDefinition name="exo:delegatedComment"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:refused" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <propertyDefinitions>
+ <propertyDefinition name="exo:refuter"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="false" />
+ <propertyDefinition name="exo:refusedDate"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ <propertyDefinition name="exo:refuseReason"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:published" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <propertyDefinitions>
+ <propertyDefinition name="exo:startPublication"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ <propertyDefinition name="exo:endPublication"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:pending" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <propertyDefinitions>
+ <propertyDefinition name="exo:pendingStart"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ <propertyDefinition name="exo:pendingEnd"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:backup" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <propertyDefinitions>
+ <propertyDefinition name="exo:backupDate"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ <propertyDefinition name="exo:backupReason"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:trashMovement" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <propertyDefinitions>
+ <propertyDefinition name="exo:moveDate"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ <propertyDefinition name="exo:moveReason"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ </propertyDefinitions>
+ </nodeType>
+
+</nodeTypes>
Copied:
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/usecases/query/ext-nodetypes-config.xml
(from rev 316,
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/usecases/query/ext-nodetypes-config.xml)
===================================================================
---
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/usecases/query/ext-nodetypes-config.xml
(rev 0)
+++
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/usecases/query/ext-nodetypes-config.xml 2009-10-20
11:36:31 UTC (rev 318)
@@ -0,0 +1,198 @@
+<nodeTypes
xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
xmlns:mix="http://www.jcp.org/jcr/mix/1.0"
xmlns:jcr="http://www.jcp.org/jcr/1.0"
xmlns:dc="http://purl.org/dc/elements/1.1/">
+
+ <!-- metadata nodetypes -->
+ <nodeType name="exo:metadata" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <propertyDefinitions>
+ <propertyDefinition name="exo:internalUse"
requiredType="Boolean" autoCreated="true" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ <defaultValues>
+ <defaultValue>false</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <!-- Dublin Core Metadata Elemet Set, Version 1.1 -->
+ <nodeType name="dc:elementSet" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:metadata</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="dc:title" requiredType="String"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="false"
+ multiple="true">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="dc:creator"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="true">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="dc:subject"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="true">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="dc:description"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="true">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="dc:publisher"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="true">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="dc:contributor"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="true">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="dc:date" requiredType="Date"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="false"
+ multiple="true">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="dc:resourceType"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="true">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="dc:format"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="true">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="dc:identifier"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="true">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="dc:source"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="true">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="dc:language"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="true">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="dc:relation"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="true">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="dc:coverage"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="true">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="dc:rights"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="true">
+ <valueConstraints />
+ </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>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:user" requiredType="String"
autoCreated="true" mandatory="true" onParentVersion="IGNORE"
protected="true"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:created"
requiredType="Date" autoCreated="true" mandatory="true"
onParentVersion="IGNORE" protected="true"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:propertyName"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="IGNORE"
+ protected="true" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:eventType"
requiredType="Long" autoCreated="true" mandatory="true"
onParentVersion="IGNORE" protected="true"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:auditVersion"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="IGNORE"
+ protected="true" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:auditVersionName"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="IGNORE"
+ protected="true" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:auditHistory" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ <supertype>mix:referenceable</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:targetNode"
requiredType="Reference" autoCreated="true" mandatory="true"
onParentVersion="IGNORE"
+ protected="true" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:lastRecord"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="IGNORE"
+ protected="true" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ <childNodeDefinitions>
+ <childNodeDefinition name="*"
defaultPrimaryType="exo:auditRecord" autoCreated="false"
mandatory="false" onParentVersion="IGNORE"
+ protected="true" sameNameSiblings="false">
+ <requiredPrimaryTypes>
+ <requiredPrimaryType>exo:auditRecord</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ </childNodeDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:auditStorage" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <childNodeDefinitions>
+ <childNodeDefinition name="*"
defaultPrimaryType="exo:auditHistory" autoCreated="false"
mandatory="false" onParentVersion="VERSION"
+ protected="false" sameNameSiblings="false">
+ <requiredPrimaryTypes>
+ <requiredPrimaryType>exo:auditHistory</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ </childNodeDefinitions>
+ </nodeType>
+
+ <nodeType name="nt:resource" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="jcr:data">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="jcr:filename"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="jcr:encoding"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="jcr:mimeType"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY" protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="jcr:data" requiredType="Binary"
autoCreated="false" mandatory="true" onParentVersion="COPY"
protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="jcr:lastModified"
requiredType="Date" autoCreated="false" mandatory="true"
onParentVersion="IGNORE"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+</nodeTypes>
\ No newline at end of file
Copied:
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/usecases/query/nodetypes-config-extended.xml
(from rev 316,
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/usecases/query/nodetypes-config-extended.xml)
===================================================================
---
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/usecases/query/nodetypes-config-extended.xml
(rev 0)
+++
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/usecases/query/nodetypes-config-extended.xml 2009-10-20
11:36:31 UTC (rev 318)
@@ -0,0 +1,796 @@
+<nodeTypes
xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
xmlns:mix="http://www.jcp.org/jcr/mix/1.0"
xmlns:jcr="http://www.jcp.org/jcr/1.0">
+
+ <nodeType name="exo:addMetadataAction" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:scriptAction</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:script"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="true"
+ multiple="false">
+ <valueConstraints />
+ <defaultValues>
+
<defaultValue>ecm-explorer/action/AddMetadataScript.groovy</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ <propertyDefinition name="exo:mixinMetadata"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:sendMailAction" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:scriptAction</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:script"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="true"
+ multiple="false">
+ <valueConstraints />
+ <defaultValues>
+
<defaultValue>ecm-explorer/action/SendMailScript.groovy</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ <propertyDefinition name="exo:to" requiredType="String"
autoCreated="false" mandatory="true" onParentVersion="COPY"
protected="false"
+ multiple="false" />
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:transformBinaryToTextAction"
isMixin="false" hasOrderableChildNodes="false"
primaryItemName="">
+ <supertypes>
+ <supertype>exo:scriptAction</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:script"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="true"
+ multiple="false">
+ <valueConstraints />
+ <defaultValues>
+
<defaultValue>ecm-explorer/action/TransformBinaryChildrenToTextScript.groovy</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:ReloadBPAction" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:scriptAction</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:script"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="true"
+ multiple="false">
+ <valueConstraints />
+ <defaultValues>
+
<defaultValue>ecm-explorer/action/ReloadBPScript.groovy</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:processRecordAction" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:scriptAction</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:script"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="true"
+ multiple="false">
+ <valueConstraints />
+ <defaultValues>
+
<defaultValue>ecm-explorer/action/ProcessRecordsScript.groovy</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:workflowAction" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:businessProcessAction</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:validator"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ <propertyDefinition name="exo:businessProcess"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY"
+ protected="true" multiple="false">
+ <valueConstraints />
+ <defaultValues>
+ <defaultValue>content-validation</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:backupAction" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:businessProcessAction</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:businessProcess"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY"
+ protected="true" multiple="false">
+ <valueConstraints />
+ <defaultValues>
+ <defaultValue>content-backup</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:businessProcessModel" isMixin="false"
hasOrderableChildNodes="true" primaryItemName="">
+ <supertypes>
+ <supertype>nt:unstructured</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:businessProcessId"
requiredType="String" autoCreated="false" mandatory="true"
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>
+ </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>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:buttons"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:view" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:permissions"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:template"
requiredType="String" 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="false">
+ <requiredPrimaryTypes>
+ <requiredPrimaryType>nt:base</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ </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>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:templateFile"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:roles"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="false"
+ multiple="true">
+ <valueConstraints />
+ <defaultValues>
+ <defaultValue>*</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:taxonomy" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <childNodeDefinitions>
+ <childNodeDefinition name="*" defaultPrimaryType=""
autoCreated="false" mandatory="false"
onParentVersion="VERSION" protected="false"
+ sameNameSiblings="false">
+ <requiredPrimaryTypes>
+ <requiredPrimaryType>nt:base</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ </childNodeDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:drive" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:permissions"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="IGNORE"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:path" requiredType="String"
autoCreated="false" mandatory="true"
onParentVersion="IGNORE" protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:workspace"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="IGNORE"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:views"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="IGNORE" protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:icon" requiredType="String"
autoCreated="false" mandatory="true"
onParentVersion="IGNORE" protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:viewPreferences"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="IGNORE"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:viewNonDocument"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="IGNORE"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:viewSideBar"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="IGNORE"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:showHiddenNode"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="IGNORE"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:allowCreateFolder"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="IGNORE"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ <childNodeDefinitions>
+ <childNodeDefinition name="*" defaultPrimaryType=""
autoCreated="false" mandatory="false"
onParentVersion="VERSION" protected="false"
+ sameNameSiblings="false">
+ <requiredPrimaryTypes>
+ <requiredPrimaryType>nt:base</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ </childNodeDefinitions>
+ </nodeType>
+ <nodeType name="exo:createRSSFeedAction" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:scriptAction</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:script"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="true"
+ multiple="false">
+ <defaultValues>
+
<defaultValue>ecm-explorer/action/RSSScript.groovy</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ <propertyDefinition name="exo:feedTitle"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+
+ <propertyDefinition name="exo:feedType"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY" protected="false"
+ multiple="false" />
+
+ <propertyDefinition name="exo:link" requiredType="String"
autoCreated="false" mandatory="true" onParentVersion="COPY"
protected="false"
+ multiple="false" />
+
+ <propertyDefinition name="exo:description"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+
+ <propertyDefinition name="exo:language"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+
+ <propertyDefinition name="exo:copyright"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+
+ <propertyDefinition name="exo:pubDate"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="false" />
+
+ <propertyDefinition name="exo:ownerName"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+
+ <propertyDefinition name="exo:ownerEmail"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+
+ <propertyDefinition name="exo:imageURL"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+
+ <propertyDefinition name="exo:category"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+
+ <propertyDefinition name="exo:keywords"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+
+ <propertyDefinition name="exo:storePath"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+
+ <propertyDefinition name="exo:feedName"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+
+ <propertyDefinition name="exo:rssVersion"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+
+ <propertyDefinition name="exo:queryPath"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+
+ <propertyDefinition name="exo:url" requiredType="String"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="false"
+ multiple="false" />
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:podcast" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:file</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:title"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:link" requiredType="String"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:author"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:explicit"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:podcastCategory"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:keywords"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:publishedDate"
requiredType="Date" 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:length"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ <!--
+ <childNodeDefinitions> <childNodeDefinition name="exo:media"
defaultPrimaryType="" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" sameNameSiblings="false">
<requiredPrimaryTypes>
<requiredPrimaryType>nt:file</requiredPrimaryType>
</requiredPrimaryTypes>
+ </childNodeDefinition> </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>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:rssWatcher"
requiredType="String" autoCreated="true" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="true">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:emailWatcher"
requiredType="String" autoCreated="true" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="true">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:mail" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:from" requiredType="String"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:to" requiredType="String"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:cc" requiredType="String"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:bcc" requiredType="String"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:subject"
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>
+ <propertyDefinition name="exo:sendDate"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:receivedDate"
requiredType="Date" 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>
+ </childNodeDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:getMailAction" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:scriptAction</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:script"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="true"
+ multiple="false">
+ <defaultValues>
+
<defaultValue>ecm-explorer/action/GetMailScript.groovy</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ <propertyDefinition name="exo:protocol"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY" protected="false"
+ multiple="false" />
+ <propertyDefinition name="exo:host" requiredType="String"
autoCreated="false" mandatory="true" onParentVersion="COPY"
protected="false"
+ multiple="false" />
+ <propertyDefinition name="exo:port" requiredType="String"
autoCreated="false" mandatory="true" onParentVersion="COPY"
protected="false"
+ multiple="false" />
+ <propertyDefinition name="exo:folder"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY" protected="false"
+ multiple="false" />
+ <propertyDefinition name="exo:userName"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY" protected="false"
+ multiple="false" />
+ <propertyDefinition name="exo:password"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY" protected="false"
+ multiple="false" />
+ <propertyDefinition name="exo:description"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ <propertyDefinition name="exo:storePath"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false" />
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:tag" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:tagCreatedDate"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:lastUpdatedDate"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:tagStatus"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:tagStyle" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:styleRange"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:htmlStyle"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </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"
+ multiple="false">
+ <valueConstraints />
+ <defaultValues>
+ <defaultValue>English</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ </propertyDefinitions>
+ <childNodeDefinitions>
+ <childNodeDefinition name="*"
defaultPrimaryType="nt:unstructured" autoCreated="false"
mandatory="false" onParentVersion="COPY"
+ protected="false" sameNameSiblings="false">
+ <requiredPrimaryTypes>
+ <requiredPrimaryType>nt:unstructured</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ </childNodeDefinitions>
+ </nodeType>
+ <nodeType name="mix:sharedQuery" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <propertyDefinitions>
+ <propertyDefinition name="exo:permissions"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="true">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:cachedResult"
requiredType="Boolean" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="mix:votable" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <propertyDefinitions>
+ <propertyDefinition name="exo:votingRate"
requiredType="Double" autoCreated="true" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ <defaultValues>
+ <defaultValue>0</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ <propertyDefinition name="exo:voteTotal"
requiredType="Long" autoCreated="true" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="false">
+ <valueConstraints />
+ <defaultValues>
+ <defaultValue>0</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ <propertyDefinition name="exo:voteTotalOfLang"
requiredType="Long" autoCreated="true" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ <defaultValues>
+ <defaultValue>0</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ <propertyDefinition name="exo:voter"
requiredType="String" autoCreated="true" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="true">
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:hiddenable" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <propertyDefinitions>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="mix:commentable" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ </nodeType>
+
+ <nodeType name="exo:comments" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:unstructured</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:commentor"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:commentorEmail"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:commentorSite"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:commentDate"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:commentContent"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:musicFolder" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ </nodeType>
+
+ <nodeType name="exo:documentFolder" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ </nodeType>
+
+ <nodeType name="exo:pictureFolder" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ </nodeType>
+
+ <nodeType name="exo:searchFolder" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ </nodeType>
+
+ <nodeType name="exo:videoFolder" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ </nodeType>
+
+</nodeTypes>
+
+
+
+
+
Copied:
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/usecases/query/nodetypes-config.xml
(from rev 316,
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/usecases/query/nodetypes-config.xml)
===================================================================
---
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/usecases/query/nodetypes-config.xml
(rev 0)
+++
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/usecases/query/nodetypes-config.xml 2009-10-20
11:36:31 UTC (rev 318)
@@ -0,0 +1,120 @@
+<nodeTypes
xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
xmlns:mix="http://www.jcp.org/jcr/mix/1.0"
xmlns:jcr="http://www.jcp.org/jcr/1.0">
+
+ <nodeType name="exo:datetime" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <propertyDefinitions>
+ <propertyDefinition name="exo:dateCreated"
requiredType="Date" autoCreated="true" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="exo:dateModified"
requiredType="Date" autoCreated="true" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:action" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:name" requiredType="String"
autoCreated="false" mandatory="true" 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:lifecyclePhase"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ <defaultValues>
+ <defaultValue>add</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ <propertyDefinition name="exo:roles"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="false"
+ multiple="true">
+ <valueConstraints />
+ <defaultValues>
+ <defaultValue>*</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:businessProcessAction" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:action</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:businessProcess"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:scriptAction" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:action</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:script"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY" protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <!-- This is temporary node type to store all actions for node -->
+ <nodeType name="exo:actionStorage" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:unstructured</supertype>
+ </supertypes>
+ <childNodeDefinitions>
+ <childNodeDefinition name="*" defaultPrimaryType=""
autoCreated="false" mandatory="false"
onParentVersion="VERSION" protected="false"
+ sameNameSiblings="true">
+ <requiredPrimaryTypes>
+ <requiredPrimaryType>exo:action</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ </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>
+
+</nodeTypes>
\ No newline at end of file
Copied:
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/usecases/query/nodetypes-ecm.xml
(from rev 316,
jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/usecases/query/nodetypes-ecm.xml)
===================================================================
---
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/usecases/query/nodetypes-ecm.xml
(rev 0)
+++
jcr/trunk/component/core/src/test/resources/org/exoplatform/services/jcr/usecases/query/nodetypes-ecm.xml 2009-10-20
11:36:31 UTC (rev 318)
@@ -0,0 +1,446 @@
+<nodeTypes
xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
xmlns:mix="http://www.jcp.org/jcr/mix/1.0"
xmlns:jcr="http://www.jcp.org/jcr/1.0">
+
+ <nodeType name="rma:filePlan" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:folder</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="rma:recordCategoryIdentifier"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="rma:dispositionAuthority"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="rma:permanentRecordIndicator"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="rma:dispositionInstructions"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="rma:containsRecordFolders"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="rma:defaultMediaType"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="rma:defaultMarkingList"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="rma:defaultOriginatingOrganization"
requiredType="String" autoCreated="false" mandatory="true"
+ onParentVersion="COPY" protected="false"
multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+
+ <propertyDefinition name="rma:vitalRecordIndicator"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="rma:vitalRecordReviewPeriod"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+
+ <propertyDefinition name="rma:processCutoff"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="rma:eventTrigger"
requiredType="String" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="rma:cutoffPeriod"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="rma:cutoffOnObsolete"
requiredType="Boolean" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="rma:cutoffOnSuperseded"
requiredType="Boolean" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+
+ <propertyDefinition name="rma:processHold"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="rma:holdPeriod"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="rma:discretionaryHold"
requiredType="Boolean" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+
+ <propertyDefinition name="rma:processTransfer"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="rma:defaultTransferLocation"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="rma:transferBlockSize"
requiredType="Long" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+
+ <propertyDefinition name="rma:processAccession"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="rma:accessionLocation"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="rma:accessionBlockSize"
requiredType="Long" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+
+ <propertyDefinition name="rma:processDestruction"
requiredType="Boolean" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+
+ <propertyDefinition name="rma:filePlanNote"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="rma:recordCounter"
requiredType="Long" autoCreated="true" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ <defaultValues>
+ <defaultValue>0</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ </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="Boolean" 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>
+
+ <nodeType name="rma:vitalRecord" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:metadata</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="rma:isVitalRecord"
requiredType="Boolean" autoCreated="true" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ <defaultValues>
+ <defaultValue>true</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ <propertyDefinition name="rma:prevReviewDate"
requiredType="Date" autoCreated="true" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="rma:nextReviewDate"
requiredType="Date" autoCreated="false" mandatory="true"
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>
+
+ <nodeType name="rma:cutoffable" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:metadata</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="rma:cutoffExecuted"
requiredType="Boolean" autoCreated="true" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ <defaultValues>
+ <defaultValue>false</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ <propertyDefinition name="rma:cutoffNow"
requiredType="Boolean" autoCreated="true" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ <defaultValues>
+ <defaultValue>false</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ <propertyDefinition name="rma:cutoffDateTime"
requiredType="Date" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="rma:cutoffEvent"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="rma:cutoffObsolete"
requiredType="Boolean" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="rma:cutoffSuperseded"
requiredType="Boolean" 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>
+
+ <nodeType name="rma:holdable" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:metadata</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="rma:holdExecuted"
requiredType="Boolean" autoCreated="true" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ <defaultValues>
+ <defaultValue>false</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ <propertyDefinition name="rma:holdUntil"
requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="rma:holdsDiscretionary"
requiredType="Boolean" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="rma:holdUntilEvent"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="rma:freeze"
requiredType="Boolean" autoCreated="true" mandatory="false"
onParentVersion="COPY" protected="false"
+ multiple="false">
+ <valueConstraints />
+ <defaultValues>
+ <defaultValue>false</defaultValue>
+ </defaultValues>
+ </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>
+
+ <nodeType name="rma:transferable" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:metadata</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="rma:transferExecuted"
requiredType="Boolean" autoCreated="true" mandatory="false"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ <defaultValues>
+ <defaultValue>false</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ <propertyDefinition name="rma:transferDate"
requiredType="Date" autoCreated="false" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ </propertyDefinition>
+ <propertyDefinition name="rma:transferLocation"
requiredType="String" autoCreated="false" mandatory="true"
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>
+
+ <nodeType name="rma:accessionable" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:metadata</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="rma:accessionExecuted"
requiredType="Boolean" autoCreated="true" mandatory="true"
onParentVersion="COPY"
+ protected="false" multiple="false">
+ <valueConstraints />
+ <defaultValues>
+ <defaultValue>false</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ <propertyDefinition name="rma:accessionDate"
requiredType="Date" autoCreated="false" mandatory="true"
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>
+
+ <nodeType name="rma:destroyable" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:metadata</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="rma:destructionDate"
requiredType="Date" autoCreated="false" mandatory="true"
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>
+
+ <nodeType name="exo:enableVersioning" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:scriptAction</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:script"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="true"
+ multiple="false">
+ <valueConstraints />
+ <defaultValues>
+
<defaultValue>ecm-explorer/action/EnableVersioningScript.groovy</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <nodeType name="exo:autoVersioning" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>exo:scriptAction</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="exo:script"
requiredType="String" autoCreated="true" mandatory="true"
onParentVersion="COPY" protected="true"
+ multiple="false">
+ <valueConstraints />
+ <defaultValues>
+
<defaultValue>ecm-explorer/action/AutoVersioningScript.groovy</defaultValue>
+ </defaultValues>
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+ <!-- Base node type for Ascent Capture released documents -->
+ <nodeType name="kfx:document" isMixin="false"
hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <!-- Allow any property to be added. -->
+ <supertype>nt:unstructured</supertype>
+ <!-- Make sure the language properties are created with default
+ values when the document is created through WebDAV. -->
+ <supertype>mix:i18n</supertype>
+ <!-- Allow Dublin Core metadata to be set. -->
+ <supertype>dc:elementSet</supertype>
+ </supertypes>
+ </nodeType>
+
+</nodeTypes>
Copied: jcr/trunk/component/core/src/test/resources/repositoryStubImpl.properties (from
rev 316, jcr/trunk/component/core/src/main/resources/repositoryStubImpl.properties)
===================================================================
--- jcr/trunk/component/core/src/test/resources/repositoryStubImpl.properties
(rev 0)
+++ jcr/trunk/component/core/src/test/resources/repositoryStubImpl.properties 2009-10-20
11:36:31 UTC (rev 318)
@@ -0,0 +1,516 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+#
http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#
+# This is the configuration file for the jackrabbit repository test stub.
+#
+
+javax.jcr.tck.repository_stub_impl=org.exoplatform.services.jcr.ExoRepositoryStub
+# javax.jcr.tck.repository_stub_impl=org.exoplatform.services.jcr.ExoRMIRepositoryStub
+#javax.jcr.tck.repository_stub_impl=org.exoplatform.services.jcr.ExoRMIJNDIRepositoryStub
+
+# repository specific configuration
+org.apache.jackrabbit.repository.config=applications/test/repository.xml
+org.apache.jackrabbit.repository.name=repo
+org.apache.jackrabbit.repository.home=applications/test
+org.apache.jackrabbit.repository.jaas.config=src/main/resources/login.conf
+
+# credential configuration
+javax.jcr.tck.superuser.name=root
+javax.jcr.tck.superuser.pwd=exo
+javax.jcr.tck.readwrite.name=root
+javax.jcr.tck.readwrite.pwd=exo
+javax.jcr.tck.readonly.name=__anonim
+javax.jcr.tck.readonly.pwd=any
+
+# global test configuration
+javax.jcr.tck.testroot=/testroot
+javax.jcr.tck.nodetype=nt:unstructured
+javax.jcr.tck.nodename1=node1
+javax.jcr.tck.nodename2=node2
+javax.jcr.tck.nodename3=node3
+javax.jcr.tck.nodename4=node4
+javax.jcr.tck.propertyname1=prop1
+javax.jcr.tck.propertyname2=prop2
+javax.jcr.tck.propertyvalue1=value1
+javax.jcr.tck.propertyvalue2=value2
+#javax.jcr.tck.propertytype1=String
+#javax.jcr.tck.propertytype2=String
+javax.jcr.tck.workspacename=ws2
+
+# namespace configuration
+javax.jcr.tck.namespaces=test
+javax.jcr.tck.namespaces.test=http://www.apache.org/jackrabbit/test
+
+# sample for per test case config overriding
+# Test class: AddNodeText
+# Test method: testName
+javax.jcr.tck.AddNodeTest.testName.nodename1=myname
+
+# ==============================================================================
+# JAVAX.JCR CONFIGURATION
+# ==============================================================================
+
+# Test class: ItemDefTest
+javax.jcr.tck.ItemDefTest.testroot=/testdata
+
+# Test class: ItemReadMethodsTest
+javax.jcr.tck.ItemReadMethodsTest.testroot=/testdata
+
+# Test class: NodeReadMethodsTest
+javax.jcr.tck.NodeReadMethodsTest.testroot=/testdata
+
+# Test class: PropertyTypeTest
+javax.jcr.tck.PropertyTypeTest.testroot=/testdata
+
+# Test class: BinaryPropertyTest
+javax.jcr.tck.BinaryPropertyTest.testroot=/testdata
+
+# Test class: BooleanPropertyTest
+javax.jcr.tck.BooleanPropertyTest.testroot=/testdata
+
+# Test class: DatePropertyTest
+javax.jcr.tck.DatePropertyTest.testroot=/testdata
+
+# Test class: DoublePropertyTest
+javax.jcr.tck.DoublePropertyTest.testroot=/testdata
+
+# Test class: LongPropertyTest
+javax.jcr.tck.LongPropertyTest.testroot=/testdata
+
+# Test class: NamePropertyTest
+javax.jcr.tck.NamePropertyTest.testroot=/testdata
+
+# Test class: PathPropertyTest
+javax.jcr.tck.PathPropertyTest.testroot=/testdata
+
+# Test class: ReferencePropertyTest
+javax.jcr.tck.ReferencePropertyTest.testroot=/testdata
+
+# Test class: StringPropertyTest
+javax.jcr.tck.StringPropertyTest.testroot=/testdata
+
+# Test class: SetValueVersionExceptionTest
+# nodetype2: nodetype with a reference property
+javax.jcr.tck.SetValueVersionExceptionTest.nodetype2=nt:linkedFile
+# propertyname3: name of the single value reference property
+javax.jcr.tck.SetValueVersionExceptionTest.propertyname3=jcr:content
+
+# Test class: SetValueValueFormatExceptionTest
+javax.jcr.tck.SetValueValueFormatExceptionTest.nodetype=test:canSetProperty
+javax.jcr.tck.SetValueValueFormatExceptionTest.testValue.propertyname1=Boolean
+javax.jcr.tck.SetValueValueFormatExceptionTest.testValueArray.propertyname1=BooleanMultiple
+javax.jcr.tck.SetValueValueFormatExceptionTest.testString.propertyname1=Date
+javax.jcr.tck.SetValueValueFormatExceptionTest.testStringArray.propertyname1=DateMultiple
+javax.jcr.tck.SetValueValueFormatExceptionTest.testInputStream.propertyname1=Date
+javax.jcr.tck.SetValueValueFormatExceptionTest.testLong.propertyname1=Boolean
+javax.jcr.tck.SetValueValueFormatExceptionTest.testDouble.propertyname1=Boolean
+javax.jcr.tck.SetValueValueFormatExceptionTest.testCalendar.propertyname1=Boolean
+javax.jcr.tck.SetValueValueFormatExceptionTest.testBoolean.propertyname1=Date
+javax.jcr.tck.SetValueValueFormatExceptionTest.testNode.propertyname1=Boolean
+
+# Test class: SetPropertyAssumeTypeTest
+javax.jcr.tck.SetPropertyAssumeTypeTest.nodetype=test:canSetProperty
+javax.jcr.tck.SetPropertyAssumeTypeTest.testStringConstraintViolationExceptionBecauseOfInvalidTypeParameter.propertyname1=String
+javax.jcr.tck.SetPropertyAssumeTypeTest.testValueConstraintViolationExceptionBecauseOfInvalidTypeParameter.propertyname1=String
+javax.jcr.tck.SetPropertyAssumeTypeTest.testValuesConstraintViolationExceptionBecauseOfInvalidTypeParameter.propertyname1=StringMultiple
+
+# Test class: UndefinedPropertyTest
+javax.jcr.tck.UndefinedPropertyTest.testroot=/testdata
+
+# Test class: PropertyReadMethodsTest
+javax.jcr.tck.PropertyReadMethodsTest.testroot=/testdata
+
+# Test class: NodeIteratorTest
+javax.jcr.tck.NodeIteratorTest.testroot=/testdata
+
+# Test class: NodeDiscoveringNodeTypesTest
+javax.jcr.tck.NodeDiscoveringNodeTypesTest.testroot=/testdata
+
+# Test class: RepositoryDescriptorTest
+javax.jcr.tck.RepositoryDescriptorTest.testroot=/testdata
+
+# Test class: WorkspaceReadMethodsTest
+javax.jcr.tck.WorkspaceReadMethodsTest.testroot=/testdata
+
+# Test class: SessionReadMethodsTest
+javax.jcr.tck.SessionReadMethodsTest.testroot=/testdata
+
+# Test class: NamespaceRegistryReadMethodsTest
+javax.jcr.tck.NamespaceRegistryReadMethodsTest.testroot=/testdata
+
+# Test class: NamespaceRemappingTest
+javax.jcr.tck.NamespaceRemappingTest.testroot=/testdata
+
+# Test class: SessionTest
+# Test method: testMoveItemExistsException
+# nodetype that does not allow same name siblings
+javax.jcr.tck.SessionTest.testMoveItemExistsException.nodetype2=nt:folder
+# valid node type that can be added as child of nodetype2
+javax.jcr.tck.SessionTest.testMoveItemExistsException.nodetype3=nt:hierarchyNode
+
+# Test class: SessionTest
+# Test method: testSaveContstraintViolationException
+# nodetype that has a property that is mandatory but not autocreated
+javax.jcr.tck.SessionTest.testSaveContstraintViolationException.nodetype2=nt:file
+
+# Test class: SessionUUIDTest
+# node type that has a property of type PropertyType.REFERENCE
+javax.jcr.tck.SessionUUIDTest.nodetype=nt:unstructured
+# name of the property that is of type PropertyType.REFERENCE
+javax.jcr.tck.SessionUUIDTest.propertyname1=foobar
+# nodetype that has nodetype mix:referenceable assigned
+javax.jcr.tck.SessionUUIDTest.nodetype2=test:refTargetNode
+
+# Test class: SessionUUIDTest
+# Test method: testSaveMovedRefNode
+# name of the property that can be modified
+javax.jcr.tck.SessionUUIDTest.testSaveMovedRefNode.propertyname1=foobar
+
+# Test class: NodeTest
+# Test method: testAddNodeItemExistsException
+# nodetype that does not allow same name siblings and allows child nodes of
+# the same type
+javax.jcr.tck.NodeTest.testAddNodeItemExistsException.nodetype=nt:folder
+
+# Test class: NodeTest
+# Test method: testRemoveMandatoryNode
+# nodetype that has a mandatory child node definition
+javax.jcr.tck.NodeTest.testRemoveMandatoryNode.nodetype2=nt:file
+# nodetype of the mandatory child
+javax.jcr.tck.NodeTest.testRemoveMandatoryNode.nodetype3=nt:base
+# name of the mandatory node
+javax.jcr.tck.NodeTest.testRemoveMandatoryNode.nodename3=jcr:content
+
+# Test class: NodeTest
+# Test method: testSaveContstraintViolationException
+# nodetype that has a property that is mandatory but not autocreated
+javax.jcr.tck.NodeTest.testSaveContstraintViolationException.nodetype2=nt:file
+
+# Test class: NodeUUIDTest
+# node type that has a property of type PropertyType.REFERENCE
+javax.jcr.tck.NodeUUIDTest.nodetype=nt:unstructured
+# name of the property that is of type PropertyType.REFERENCE
+javax.jcr.tck.NodeUUIDTest.propertyname1=ref
+# nodetype that has nodetype mix:referenceable assigned
+javax.jcr.tck.NodeUUIDTest.nodetype2=test:refTargetNode
+
+# Test class: NodeUUIDTest
+# Test method: testSaveMovedRefNode
+# name of the property that can be modified
+javax.jcr.tck.NodeUUIDTest.testSaveMovedRefNode.propertyname1=foobar
+# nodetype that has nodetype mix:referenceable assigned
+
+# Test class: NodeOrderableChildNodesTest
+# nodetype that supports orderable child nodes
+javax.jcr.tck.NodeOrderableChildNodesTest.nodetype2=nt:unstructured
+# valid node type that can be added as child of nodetype 2
+javax.jcr.tck.NodeOrderableChildNodesTest.nodetype3=nt:unstructured
+
+# Test class: NodeOrderableChildNodesTest
+# Test method: testOrderBeforeUnsupportedRepositoryOperationException
+# nodetype that does not allow ordering of child nodes
+javax.jcr.tck.NodeOrderableChildNodesTest.testOrderBeforeUnsupportedRepositoryOperationException.nodetype2=nt:folder
+# valid node type that can be added as child of nodetype 2
+javax.jcr.tck.NodeOrderableChildNodesTest.testOrderBeforeUnsupportedRepositoryOperationException.nodetype3=nt:hierarchyNode
+
+# Test class: SetPropertyNodeTest
+# nodetype which is referenceable
+javax.jcr.tck.SetPropertyNodeTest.nodetype=test:setProperty
+
+# Test class: SetPropertyValueTest
+# property that allows multiple values
+javax.jcr.tck.SetPropertyValueTest.propertyname2=test:multiProperty
+javax.jcr.tck.SetPropertyValueTest.nodetype=test:setProperty
+
+# Test class: SetPropertyStringTest
+# property that allows multiple values
+javax.jcr.tck.SetPropertyStringTest.propertyname2=test:multiProperty
+javax.jcr.tck.SetPropertyStringTest.nodetype=test:setProperty
+
+# Test class: WorkspaceCloneSameNameSibsTest
+javax.jcr.tck.WorkspaceCloneSameNameSibsTest.sameNameSibsFalseNodeType=test:sameNameSibsFalseChildNodeDefinition
+javax.jcr.tck.WorkspaceCloneSameNameSibsTest.sameNameSibsTrueNodeType=nt:unstructured
+
+# Test class: WorkspaceCopyBetweenWorkspacesSameNameSibsTest
+javax.jcr.tck.WorkspaceCopyBetweenWorkspacesSameNameSibsTest.sameNameSibsFalseNodeType=test:sameNameSibsFalseChildNodeDefinition
+javax.jcr.tck.WorkspaceCopyBetweenWorkspacesSameNameSibsTest.sameNameSibsTrueNodeType=nt:unstructured
+
+# Test class: WorkspaceCopySameNameSibsTest
+javax.jcr.tck.WorkspaceCopySameNameSibsTest.sameNameSibsFalseNodeType=test:sameNameSibsFalseChildNodeDefinition
+javax.jcr.tck.WorkspaceCopySameNameSibsTest.sameNameSibsTrueNodeType=nt:unstructured
+
+# Test class: WorkspaceMoveSameNameSibsTest
+javax.jcr.tck.WorkspaceMoveSameNameSibsTest.sameNameSibsFalseNodeType=test:sameNameSibsFalseChildNodeDefinition
+javax.jcr.tck.WorkspaceMoveSameNameSibsTest.sameNameSibsTrueNodeType=nt:unstructured
+
+# Test class: RepositoryLoginTest
+javax.jcr.tck.RepositoryLoginTest.testroot=/testdata
+
+# Test class: RootNodeTest
+javax.jcr.tck.RootNodeTest.testroot=/testdata
+
+# Test class: ReferenceableRootNodesTest
+javax.jcr.tck.ReferenceableRootNodesTest.testroot=/testdata
+
+# Test class: ExportDocViewTest
+javax.jcr.tck.ExportDocViewTest.testroot=/testdata
+
+# ------------------------------------------------------------------------------
+# observation configuration
+# ------------------------------------------------------------------------------
+
+# Test class: AddEventListenerTest
+# Test method: testNodeType
+javax.jcr.tck.AddEventListenerTest.testNodeType.nodetype2=nt:folder
+
+# Configuration settings for the serialization.
+# Note that the serialization test tries to use as many features of the repository
+# as possible, but fails silently if a feature is not available. You have to
+# specify all of the following configuration entries, even if your repository does
+# not support the feature that is associated with them.
+
+# Root node for the example tree
+javax.jcr.tck.SerializationTest.testroot=/testdata/serialization
+
+# Node type to use for the example tree. Specify a node type that allows complex trees
and all property types if possible
+javax.jcr.tck.SerializationTest.nodetype=nt:unstructured
+
+# Name of the nodes for source and target tree
+javax.jcr.tck.SerializationTest.sourceFolderName=source
+javax.jcr.tck.SerializationTest.targetFolderName=target
+javax.jcr.tck.SerializationTest.rootNodeName=test
+
+# List the properties whose values may change during serialization/deserialization. For
example,
+# the UUID of a node is unique in the repository, so it will have to change when you
re-import
+# a tree at a different location.
+javax.jcr.tck.SerializationTest.propertyValueMayChange= jcr:created jcr:uuid
jcr:versionHistory jcr:baseVersion jcr:predecessors P_Reference
+
+# List all properties which are skipped during xml import according specification chapter
7.3.3
+javax.jcr.tck.SerializationTest.propertySkipped=
+
+# The name of the test node types. For easier diagnostics, the node types have names
+# that tell you the kind of information they store
+javax.jcr.tck.SerializationTest.nodeTypesTestNode=NodeTypes
+javax.jcr.tck.SerializationTest.mixinTypeTestNode=MixinTypes
+javax.jcr.tck.SerializationTest.propertyTypesTestNode=PropertyTypes
+javax.jcr.tck.SerializationTest.sameNameChildrenTestNode=SameNameChildren
+javax.jcr.tck.SerializationTest.multiValuePropertiesTestNode=MultiValueProperties
+javax.jcr.tck.SerializationTest.referenceableNodeTestNode=ReferenceableNode
+javax.jcr.tck.SerializationTest.orderChildrenTestNode=OrderChildren
+javax.jcr.tck.SerializationTest.namespaceTestNode=Namespace
+
+# The name of the test property types.
+javax.jcr.tck.SerializationTest.stringTestProperty=P_String
+javax.jcr.tck.SerializationTest.binaryTestProperty=P_Binary
+javax.jcr.tck.SerializationTest.dateTestProperty=P_Date
+javax.jcr.tck.SerializationTest.longTestProperty=P_Long
+javax.jcr.tck.SerializationTest.doubleTestProperty=P_Double
+javax.jcr.tck.SerializationTest.booleanTestProperty=P_Boolean
+javax.jcr.tck.SerializationTest.nameTestProperty=P_Name
+javax.jcr.tck.SerializationTest.pathTestProperty=P_Path
+javax.jcr.tck.SerializationTest.referenceTestProperty=P_Reference
+javax.jcr.tck.SerializationTest.multiValueTestProperty=P_MultiValue
+
+# node type not allowing same name sibs
+javax.jcr.tck.SerializationTest.sameNameSibsFalseChildNodeDefinition=test:sameNameSibsFalseChildNodeDefinition
+
+# Test method: testVersioningExceptionSessionFileChild
+# specified nodetype must be versionable and allow child nodes of the same type.
+javax.jcr.tck.SerializationTest.testVersioningExceptionSessionFileChild.nodetype=test:versionable
+
+# Test method: testVersioningExceptionSessionFileParent
+# specified nodetype must be versionable and allow child nodes of the same type.
+javax.jcr.tck.SerializationTest.testVersioningExceptionSessionFileParent.nodetype=test:versionable
+
+# Test method: testSessionImportXmlOverwriteException
+# requires a node type that does not allow same name siblings
+javax.jcr.tck.SerializationTest.testSessionImportXmlOverwriteException.nodetype=nt:folder
+
+# Test class: ExportSysViewTest
+javax.jcr.tck.ExportSysViewTest.testroot=/testdata
+
+# ==============================================================================
+# JAVAX.JCR.NODETYPE CONFIGURATION
+# ==============================================================================
+
+javax.jcr.tck.nodetype.testroot=/testdata
+
+javax.jcr.tck.NodeTypeCreationTest.testroot=/testroot
+
+# ==============================================================================
+# JAVAX.JCR.QUERY CONFIGURATION
+# ==============================================================================
+
+# Test class: SaveTest
+# Test method: testConstraintViolationException
+# Specified node type must not allow child nodes.
+javax.jcr.tck.SaveTest.testConstraintViolationException.nodetype=nt:query
+
+# Test class: XPathQueryLevel1Test
+javax.jcr.tck.XPathQueryLevel1Test.testroot=/testdata/query
+
+# Test class: XPathDocOrderTest
+javax.jcr.tck.XPathDocOrderTest.testroot=/testdata/query
+
+# Test class: XPathPosIndexTest
+javax.jcr.tck.XPathPosIndexTest.testroot=/testdata/query
+
+# Test class: XPathOrderByTest
+javax.jcr.tck.XPathOrderByTest.testroot=/testdata/query
+
+# Test class: XPathSyntaxTest
+javax.jcr.tck.XPathSyntaxTest.testroot=/testdata/query
+
+# Test class: XPathJcrPathTest
+javax.jcr.tck.XPathJcrPathTest.testroot=/testdata
+
+# Test class: SQLQueryLevel1Test
+javax.jcr.tck.SQLQueryLevel1Test.testroot=/testdata/query
+
+# Test class: SQLSyntaxTest
+javax.jcr.tck.SQLSyntaxTest.testroot=/testdata/query
+
+# Test class: SQLOrderByTest
+javax.jcr.tck.SQLOrderByTest.testroot=/testdata/query
+
+# Test class: DerefQueryLevel1Test
+javax.jcr.tck.DerefQueryLevel1Test.testroot=/testdata
+
+# Test class: GetLanguageTest
+javax.jcr.tck.GetLanguageTest.testroot=/testdata
+
+# Test class: GetPersistentQueryPathLevel1Test
+javax.jcr.tck.GetPersistentQueryPathLevel1Test.testroot=/testdata
+
+# Test class: GetPropertyNamesTest
+javax.jcr.tck.GetPropertyNamesTest.testroot=/testdata
+
+# Test class: GetStatementTest
+javax.jcr.tck.GetStatementTest.testroot=/testdata
+
+# Test class: GetSupportedQueryLanguagesTest
+javax.jcr.tck.GetSupportedQueryLanguagesTest.testroot=/testdata
+
+# Test class: SQLJcrPathTest
+javax.jcr.tck.SQLJcrPathTest.testroot=/testdata
+
+# Test class: SQLPathTest
+javax.jcr.tck.SQLPathTest.testroot=/testdata
+
+# Test class: PredicatesTest
+javax.jcr.tck.PredicatesTest.testroot=/testdata
+
+# Test class: SimpleSelectionTest
+javax.jcr.tck.SimpleSelectionTest.testroot=/testdata
+
+# ==============================================================================
+# JAVAX.JCR.VERSIONING CONFIGURATION
+# ==============================================================================
+
+# nodetype that is versionable. if it is not, an attempt is made to create versionable
nodes
+# by adding a mix:versionable mixin-type.
+# NOTE: javax.jcr.tck.nodetype must define a non-versionable nodetype!
+javax.jcr.tck.version.versionableNodeType=test:versionable
+javax.jcr.tck.version.simpleVersionableNodeType=nt:unstructured
+javax.jcr.tck.version.propertyValue=aPropertyValue
+
+# testroot for the version package
+# the test root must allow versionable and non-versionable nodes being created below
+javax.jcr.tck.version.testroot=/testroot
+
+# 3 nodes (nodeName1, nodeName2, nodeName3 with nt=versionableNodeType /
nt=nonVersionableNodeType will be cloned to 2nd workspace
+# nodename1 > used to persistently create versionable node below testroot
+# nodename2 > used to create second versionable node below testroot (used for
restore/workspace.restore with uuid-conflict)
+# nodename3 > used to persistently create non-versionable node below testroot
+javax.jcr.tck.version.nodename1=versionableNodeName1
+javax.jcr.tck.version.nodename2=versionableNodeName2
+javax.jcr.tck.version.nodename3=nonVersionableNodeName1
+
+# nodename 4: versionabel child-node of the first versionable node with nodeName1 and
nodetype 'versionableNodeType'
+# used for:
+# + creation of a node in the 2nd workspace, that does not exist in the first workspace
+# + creation of a node in the 2nd workspace, in order to test uuid-conflicts with
Workspace.restore.
+# + creation of a sub-node in the default workspace, in order to test uuid-conflicts with
Node.restore.
+# + NOTE: the nodetype with 'versionableNodeType' must define its children nodes
to either have COPY or VERSION
+# OPV behaviour in order to successfully test Node.restore and Workspace.restore
with uuid conflict.
+javax.jcr.tck.version.nodename4=childNodeName
+
+# path to existing String-properties and a new value for the property, that allows to
test the indicated OPV behaviour
+javax.jcr.tck.OnParentVersionAbortTest.propertyname1=test:abortOnParentVersionProp
+javax.jcr.tck.OnParentVersionComputeTest.propertyname1=test:computeOnParentVersionProp
+javax.jcr.tck.OnParentVersionCopyTest.propertyname1=test:copyOnParentVersionProp
+javax.jcr.tck.OnParentVersionIgnoreTest.propertyname1=test:ignoreOnParentVersionProp
+javax.jcr.tck.OnParentVersionInitializeTest.propertyname1=test:initializeOnParentVersionProp
+
+# Test class: RestoreTest
+# Test method: testRestoreWithUUIDConflict
+# nodename4 must be the name of a child node with a OPV definition COPY or VERSION
+javax.jcr.tck.RestoreTest.testRestoreWithUUIDConflict.nodename4=test:versionOnParentVersion
+javax.jcr.tck.RestoreTest.testRestoreLabel.nodename4=test:versionOnParentVersion
+javax.jcr.tck.RestoreTest.testRestoreName.nodename4=test:versionOnParentVersion
+javax.jcr.tck.RestoreTest.propertyValue1=version1
+javax.jcr.tck.RestoreTest.propertyValue2=version2
+
+# Test class: WorkspaceRestoreTest
+javax.jcr.tck.WorkspaceRestoreTest.testRestoreLabel.nodename4=test:versionOnParentVersion
+javax.jcr.tck.WorkspaceRestoreTest.testRestoreName.nodename4=test:versionOnParentVersion
+
+# config for nodes that show the indicated OPV behaviour:
+# nodes are added in order to test the versioning behaviour indicated by the test-class
name.
+# NOTE:
+# - nodename4 is uses as name for the childnode
+# - nodetype is used as nodetype name for the childnode
+# - the specified child node is created below nodename1 with versionableNodeType
+# the versionableNodeType and/or nodename1 may be overwritten with the individual
+# testclass below.
+javax.jcr.tck.OnParentVersionCopyTest.nodename4=test:copyOnParentVersion
+javax.jcr.tck.OnParentVersionCopyTest.nodetype=nt:unstructured
+javax.jcr.tck.OnParentVersionAbortTest.nodename4=test:abortOnParentVersion
+javax.jcr.tck.OnParentVersionAbortTest.nodetype=nt:unstructured
+javax.jcr.tck.OnParentVersionIgnoreTest.nodename4=test:ignoreOnParentVersion
+javax.jcr.tck.OnParentVersionIgnoreTest.nodetype=nt:unstructured
+# ==============================================================================
+# JAVAX.JCR.VERSIONING CONFIGURATION (simple versioning)
+# ==============================================================================
+
+# nodetype that is versionable. if it is not, an attempt is made to create versionable
nodes
+# by adding a mix:versionable mixin-type.
+# NOTE: javax.jcr.tck.nodetype must define a non-versionable nodetype!
+javax.jcr.tck.simple.versionableNodeType=nt:unstructured
+javax.jcr.tck.simple.propertyValue=aPropertyValue
+javax.jcr.tck.simple.destination=/testroot/versionableNodeName3
+
+# testroot for the version package
+# the test root must allow versionable and non-versionable nodes being created below
+javax.jcr.tck.simple.testroot=/testroot
+
+# 3 nodes (nodeName1, nodeName2, nodeName3 with nt=versionableNodeType /
nt=nonVersionableNodeType will be cloned to 2nd workspace
+# nodename1 > used to persistently create versionable node below testroot
+# nodename2 > used to create second versionable node below testroot (used for
restore/workspace.restore with uuid-conflict)
+# nodename3 > used to persistently create non-versionable node below testroot
+javax.jcr.tck.simple.nodename1=versionableNodeName1
+javax.jcr.tck.simple.nodename2=versionableNodeName2
+javax.jcr.tck.simple.nodename3=nonVersionableNodeName1
+
+# nodename 4: versionabel child-node of the first versionable node with nodeName1 and
nodetype 'versionableNodeType'
+# used for:
+# + creation of a node in the 2nd workspace, that does not exist in the first workspace
+# + creation of a node in the 2nd workspace, in order to test uuid-conflicts with
Workspace.restore.
+# + creation of a sub-node in the default workspace, in order to test uuid-conflicts with
Node.restore.
+# + NOTE: the nodetype with 'versionableNodeType' must define its children nodes
to either have COPY or VERSION
+# OPV behaviour in order to successfully test Node.restore and Workspace.restore
with uuid conflict.
+javax.jcr.tck.simple.nodename4=childNodeName
+