<include name="*.jar"/>\r
</fileset>\r
</copy>\r
+ <ant antfile="nuxeo-platform-collectionspace/build.xml" target="deploy" inheritall="false"/>\r
</target>\r
\r
<target name="undeploy"\r
description="undeploy nuxeo client libs from ${jboss.server.cspace}">\r
<delete dir="${jboss.server.cspace}/nuxeo-client"/>\r
+ <ant antfile="nuxeo-platform-collectionspace/build.xml" target="undeploy" inheritall="false"/>\r
</target>\r
\r
<target name="dist"\r
-<?xml version="1.0"?>
-<project name="nuxeo cs" default="all" basedir=".">
-
- <!-- enviornment should be declared before reading build.properties -->
- <property environment="env" />
- <property file="build.properties" />
- <property name="cs.nuxeo.jar" value="nuxeo-platform-collectionspace-5.2-SNAPSHOT.jar"/>
-
- <target name="all" description="all">
- <delete file="${jboss.nuxeo.ear.dir}/system/${cs.nuxeo.jar}"/>
- <copy todir="${jboss.nuxeo.ear.dir}/system">
- <fileset file="${basedir}/target/${cs.nuxeo.jar}" />
- </copy>
+<project name="nuxeo-platform-cs-collectionspace_core" default="package" basedir=".">
+ <description>
+ CollectionSpace Core Nuxeo document type
+ </description>
+ <!-- set global properties for this build -->
+ <property name="services.trunk" value="../../.."/>
+ <!-- environment should be declared before reading build.properties -->
+ <property environment="env" />
+ <property file="${services.trunk}/build.properties" />
+ <property name="mvn.opts" value="" />
+ <property name="src" location="src"/>
+ <property name="build" location="build"/>
+ <property name="dist" location="dist"/>
+ <property name="nuxeo.collectionspace_core.jar"
+ value="org.collectionspace.services.3rdparty.nuxeo.collectionspace_core-${cspace.release}.jar"/>
+ <property name="nuxeo.collectionspace_core.jars.all"
+ value="nuxeo-platform-collectionspace_core-*.jar"/>
+
+ <condition property="osfamily-unix">
+ <os family="unix" />
+ </condition>
+ <condition property="osfamily-windows">
+ <os family="windows" />
+ </condition>
+
+ <target name="init" >
+ <!-- Create the time stamp -->
+ <tstamp/>
+ <!-- Create the build directory structure used by compile -->
+ <mkdir dir="${build}"/>
</target>
-
+
+ <target name="package" depends="package-unix,package-windows"
+ description="Package CollectionSpace Services" />
+ <target name="package-unix" if="osfamily-unix">
+ <exec executable="mvn" failonerror="true">
+ <arg value="package" />
+ <arg value="-Dmaven.test.skip=true" />
+ <arg value="-f" />
+ <arg value="${basedir}/pom.xml" />
+ <arg value="-N" />
+ <arg value="${mvn.opts}" />
+ </exec>
+ </target>
+ <target name="package-windows" if="osfamily-windows">
+ <exec executable="cmd" failonerror="true">
+ <arg value="/c" />
+ <arg value="mvn.bat" />
+ <arg value="package" />
+ <arg value="-Dmaven.test.skip=true" />
+ <arg value="-f" />
+ <arg value="${basedir}/pom.xml" />
+ <arg value="-N" />
+ <arg value="${mvn.opts}" />
+ </exec>
+ </target>
+
+ <target name="install" depends="install-unix,install-windows"
+ description="Install" />
+ <target name="install-unix" if="osfamily-unix">
+ <exec executable="mvn" failonerror="true">
+ <arg value="install" />
+ <arg value="-Dmaven.test.skip=true" />
+ <arg value="-f" />
+ <arg value="${basedir}/pom.xml" />
+ <arg value="-N" />
+ <arg value="${mvn.opts}" />
+ </exec>
+ </target>
+ <target name="install-windows" if="osfamily-windows">
+ <exec executable="cmd" failonerror="true">
+ <arg value="/c" />
+ <arg value="mvn.bat" />
+ <arg value="install" />
+ <arg value="-Dmaven.test.skip=true" />
+ <arg value="-f" />
+ <arg value="${basedir}/pom.xml" />
+ <arg value="-N" />
+ <arg value="${mvn.opts}" />
+ </exec>
+ </target>
+
+ <target name="deploy" depends="install"
+ description="deploy dimension doctype in ${jboss.server.nuxeo}">
+ <copy file="${basedir}/target/${nuxeo.collectionspace_core.jar}"
+ todir="${jboss.deploy.nuxeo.plugins}"/>
+ </target>
+
+ <target name="undeploy"
+ description="undeploy dimension doctype from ${jboss.server.nuxeo}">
+ <delete>
+ <fileset dir="${jboss.deploy.nuxeo.plugins}">
+ <include name="${nuxeo.collectionspace_core.jars.all}"/>
+ </fileset>
+ <!-- Legacy deployment location through release 0.6 -->
+ <fileset dir="${jboss.deploy.nuxeo.system}">
+ <include name="${nuxeo.collectionspace_core.jars.all}"/>
+ </fileset>
+ </delete>
+ </target>
+
</project>
\r
<modelVersion>4.0.0</modelVersion>\r
<groupId>org.collectionspace.services</groupId>\r
- <artifactId>nuxeo-platform-collectionspace</artifactId>\r
- <packaging>pom</packaging>\r
- <name>Nuxeo CS extensions</name>\r
+ <artifactId>org.collectionspace.services.3rdparty.nuxeo.collectionspace_core</artifactId>\r
+ <name>Nuxeo CollectionSpace core extension</name>\r
<description> Nuxeo Enterprise Platform: CS extensions </description>\r
\r
<build>\r
<version>2.2</version>\r
<configuration>\r
<archive>\r
- <manifestFile> src/main/resources/META-INF/MANIFEST.MF </manifestFile>\r
+ <manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile>\r
<manifestEntries>\r
<Bundle-Version>${eclipseVersion}</Bundle-Version>\r
<Bundle-ManifestVersion>2</Bundle-ManifestVersion>\r
Manifest-Version: 1.0 \r
Bundle-ManifestVersion: 1 \r
-Bundle-Name: NuxeoCS\r
-Bundle-SymbolicName: org.collectionspace.collectionobject;singleton:=true \r
+Bundle-Name: org.collectionspace.collectionspace_core\r
+Bundle-SymbolicName: org.collectionspace.collectionspace_core;singleton:=true \r
Bundle-Version: 1.0.0\r
Bundle-Localization: plugin\r
-Bundle-Vendor: Nuxeo \r
+Bundle-Vendor: Nuxeo\r
Require-Bundle: org.nuxeo.runtime, \r
org.nuxeo.ecm.core.api, \r
org.nuxeo.ecm.core,\r
org.nuxeo.ecm.platform.forms.layout.client,\r
org.nuxeo.ecm.platform.publishing.api,\r
org.nuxeo.ecm.platform.ws \r
-Provide-Package: org.collectionspace.collectionobject\r
+Provide-Package: org.collectionspace.collectionspace_core\r
Nuxeo-Component: OSGI-INF/core-types-contrib.xml,\r
OSGI-INF/ecm-types-contrib.xml,\r
OSGI-INF/layouts-contrib.xml\r
<?xml version="1.0"?>
-<component name="org.collectionspace.collectionobject.coreTypes">
+<component name="org.collectionspace.collectionspace_core.coreTypes">
<extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
- <schema name="collectionobject" prefix="collectionobject" src="schemas/collectionobject.xsd"/>
+ <schema name="collectionspace_core" prefix="collectionspace_core" src="schemas/collectionspace_core.xsd"/>
</extension>
<extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">
- <doctype name="CollectionObject" extends="Document">
+ <doctype name="CollectionSpace_Core" extends="Document">
<schema name="common"/>
<schema name="dublincore"/>
- <schema name="collectionobject"/>
+ <schema name="collectionspace_core"/>
</doctype>
</extension>
</component>
<?xml version="1.0"?>
-<component name="org.collectionspace.collectionobject.ecm.types">
+<component name="org.collectionspace.collectionspace_core.ecm.types">
<extension target="org.nuxeo.ecm.platform.types.TypeService" point="types">
- <type id="CollectionObject" coretype="CollectionObject">
- <label>org.collectionspace.collectionobject</label>
+ <type id="CollectionSpace_Core" coretype="CollectionSpace_Core">
+ <label>org.collectionspace.collectionspace_core</label>
<!--icon>/icons/file.gif</icon-->
<default-view>view_documents</default-view>
<layouts mode="any">
<layout>heading</layout>
- <layout>collectionobject</layout>
+ <layout>collectionspace_core</layout>
</layouts>
</type>
<type id="Folder" coretype="Folder">
<subtypes>
- <type>CollectionObject</type>
+ <type>CollectionSpace_Core</type>
</subtypes>
</type>
<type id="Workspace" coretype="Workspace">
<subtypes>
- <type>CollectionObject</type>
+ <type>CollectionSpace_Core</type>
</subtypes>
</type>
-
</extension>
</component>
<?xml version="1.0"?>
-<component name="org.collectionspace.collectionobject.layouts.webapp">
+<component name="org.collectionspace.collectionspace_core.layouts.webapp">
<extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
point="layouts">
- <layout name="collectionobject">
+ <layout name="collectionspace_core">
<templates>
<template mode="any">/layouts/layout_default_template.xhtml</template>
</templates>
<rows>
- <row><widget>objectNumber</widget></row>
- <row><widget>otherNumber</widget></row>
- <row><widget>briefDescription</widget></row>
- <row><widget>comments</widget></row>
- <row><widget>distFeatures</widget></row>
- <row><widget>objectName</widget></row>
- <row><widget>responsibleDept</widget></row>
- <row><widget>title</widget></row>
+ <row><widget>tenantId</widget></row>
</rows>
- <widget name="objectNumber" type="text">
+ <widget name="tenantId" type="text">
<labels>
- <label mode="any">objectNumber</label>
+ <label mode="any">tenantId</label>
</labels>
<translated>true</translated>
<fields>
- <field schema="collectionobject">objectNumber</field>
- </fields>
- <properties widgetMode="edit">
- <property name="styleClass">dataInputText</property>
- </properties>
- </widget>
-
- <widget name="otherNumber" type="text">
- <labels>
- <label mode="any">otherNumber</label>
- </labels>
- <translated>true</translated>
- <fields>
- <field schema="collectionobject">otherNumber</field>
- </fields>
- <properties widgetMode="edit">
- <property name="styleClass">dataInputText</property>
- </properties>
- </widget>
-
- <widget name="briefDescription" type="text">
- <labels>
- <label mode="any">briefDescription</label>
- </labels>
- <translated>true</translated>
- <fields>
- <field schema="collectionobject">briefDescription</field>
- </fields>
- <properties widgetMode="edit">
- <property name="styleClass">dataInputText</property>
- </properties>
- </widget>
-
- <widget name="comments" type="text">
- <labels>
- <label mode="any">comments</label>
- </labels>
- <translated>true</translated>
- <fields>
- <field schema="collectionobject">comments</field>
- </fields>
- <properties widgetMode="edit">
- <property name="styleClass">dataInputText</property>
- </properties>
- </widget>
-
- <widget name="distFeatures" type="text">
- <labels>
- <label mode="any">distFeatures</label>
- </labels>
- <translated>true</translated>
- <fields>
- <field schema="collectionobject">distFeatures</field>
- </fields>
- <properties widgetMode="edit">
- <property name="styleClass">dataInputText</property>
- </properties>
- </widget>
-
- <widget name="objectName" type="text">
- <labels>
- <label mode="any">objectName</label>
- </labels>
- <translated>true</translated>
- <fields>
- <field schema="collectionobject">objectName</field>
- </fields>
- <properties widgetMode="edit">
- <property name="styleClass">dataInputText</property>
- </properties>
- </widget>
-
- <widget name="responsibleDept" type="text">
- <labels>
- <label mode="any">responsibleDept</label>
- </labels>
- <translated>true</translated>
- <fields>
- <field schema="collectionobject">responsibleDept</field>
- </fields>
- <properties widgetMode="edit">
- <property name="styleClass">dataInputText</property>
- </properties>
- </widget>
-
- <widget name="title" type="text">
- <labels>
- <label mode="any">title</label>
- </labels>
- <translated>true</translated>
- <fields>
- <field schema="collectionobject">title</field>
+ <field schema="collectionspace_core">tenantId</field>
</fields>
<properties widgetMode="edit">
<property name="styleClass">dataInputText</property>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
-\r
-<!--\r
- Older (?) CollectionObject Schema for Nuxeo EP\r
-\r
- $LastChangedRevision$\r
- $LastChangedDate$\r
--->\r
-\r
-<xs:schema \r
- xmlns:xs="http://www.w3.org/2001/XMLSchema"\r
- xmlns:ns="http://collectionspace.org/collectionobject/"\r
- xmlns="http://collectionspace.org/collectionobject/"\r
- targetNamespace="http://collectionspace.org/collectionobject/"\r
- version="0.1">\r
-\r
- <xs:element name="objectNumber" type="xs:string"/>\r
- <xs:element name="otherNumber" type="xs:string"/>\r
- <xs:element name="briefDescription" type="xs:string"/>\r
- <xs:element name="comments" type="xs:string"/>\r
- <xs:element name="distinguishingFeatures" type="xs:string"/>\r
- <xs:element name="objectName" type="xs:string"/>\r
- <xs:element name="responsibleDepartment" type="xs:string"/>\r
- <xs:element name="title" type="xs:string"/>\r
- \r
-</xs:schema>\r
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
+\r
+<!--\r
+ Older (?) CollectionObject Core Schema for Nuxeo EP\r
+\r
+ $LastChangedRevision$\r
+ $LastChangedDate$\r
+-->\r
+\r
+<xs:schema \r
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"\r
+ xmlns:ns="http://collectionspace.org/collectionspace_core/"\r
+ xmlns="http://collectionspace.org/collectionspace_core/"\r
+ targetNamespace="http://collectionspace.org/collectionspace_core/"\r
+ version="0.1">\r
+\r
+ <xs:element name="tenantId" type="xs:string"/> \r
+</xs:schema>\r
<version>2.2.2.SP8</version>\r
<scope>provided</scope>\r
</dependency>\r
- <!-- Nuxeo -->\r
- <!-- Nuxeo Dependencies with versions\r
- <dependency>\r
- <groupId>org.nuxeo.common</groupId>\r
- <artifactId>nuxeo-common</artifactId>\r
- <version>1.5.1-SNAPSHOT</version>\r
- </dependency>\r
- <dependency>\r
- <groupId>org.nuxeo.runtime</groupId>\r
- <artifactId>nuxeo-runtime</artifactId>\r
- <version>1.5.1-SNAPSHOT</version>\r
- </dependency>\r
- <dependency>\r
- <groupId>org.nuxeo.runtime</groupId>\r
- <artifactId>nuxeo-runtime-osgi</artifactId>\r
- <version>1.5.1-SNAPSHOT</version>\r
- </dependency>\r
- <dependency>\r
- <groupId>org.nuxeo.ecm.core</groupId>\r
- <artifactId>nuxeo-core-api</artifactId>\r
- <version>1.5.1-SNAPSHOT</version>\r
- </dependency>\r
- <dependency>\r
- <groupId>org.nuxeo.ecm.core</groupId>\r
- <artifactId>nuxeo-core-client</artifactId>\r
- <version>1.5.1-SNAPSHOT</version>\r
- </dependency>\r
- <dependency>\r
- <groupId>org.nuxeo.ecm.core</groupId>\r
- <artifactId>nuxeo-core-query</artifactId>\r
- <version>1.5.1-SNAPSHOT</version>\r
- </dependency>\r
- <dependency>\r
- <groupId>org.nuxeo.ecm.core</groupId>\r
- <artifactId>nuxeo-core-schema</artifactId>\r
- <version>1.5.1-SNAPSHOT</version>\r
- </dependency>\r
- <dependency>\r
- <groupId>org.nuxeo.ecm.core</groupId>\r
- <artifactId>nuxeo-core-io</artifactId>\r
- <version>1.5.1-SNAPSHOT</version>\r
- </dependency>\r
- <dependency>\r
- <groupId>org.nuxeo.ecm.core</groupId>\r
- <artifactId>nuxeo-core-facade</artifactId>\r
- <version>1.5.1-SNAPSHOT</version>\r
- </dependency> -->\r
</dependencies>\r
\r
</project>\r
</dependencyManagement>
<build>
+<!--
<pluginManagement>
<plugins>
<plugin>
</plugin>
</plugins>
</pluginManagement>
+-->
</build>
</project>
import org.jboss.resteasy.client.ClientResponse;
import org.jboss.resteasy.plugins.providers.multipart.MultipartOutput;
import org.jboss.resteasy.plugins.providers.multipart.OutputPart;
+import org.jboss.resteasy.util.HttpResponseCodes;
import org.collectionspace.services.jaxb.AbstractCommonList;
import org.collectionspace.services.client.CollectionObjectClient;
// Get clients for the CollectionSpace services
//
/** The MA x_ records. */
- private static int MAX_RECORDS = 1000;
+ private static int MAX_RECORDS = 1;
/**
* Performance test.
*/
@Test
public void performanceTest() {
- roundTripOverhead(10);
- deleteCollectionObjects();
+// roundTripOverhead(MAX_RECORDS);
+// deleteCollectionObjects();
String[] coList = this.createCollectionObjects(MAX_RECORDS);
- this.searchCollectionObjects(MAX_RECORDS);
- this.deleteCollectionObjects(coList);
- roundTripOverhead(10);
+// this.searchCollectionObjects(MAX_RECORDS);
+// this.deleteCollectionObjects(coList);
+// roundTripOverhead(10);
}
/**
CollectionObjectClient collectionObjectClient = new CollectionObjectClient();
long totalTime = 0;
+ ClientResponse<Response> response;
for (int i = 0; i < numOfCalls; i++) {
- Date startTime = new Date();
- collectionObjectClient.roundtrip().releaseConnection();
+ Date startTime = new Date();
+ response = collectionObjectClient.roundtrip();
+ try {
+ Assert.assertEquals(response.getStatus(), HttpResponseCodes.SC_OK);
+ } finally {
+ response.releaseConnection();
+ }
Date stopTime = new Date();
totalTime = totalTime + (stopTime.getTime() - startTime.getTime());
System.out.println("Overhead roundtrip time is: " + (stopTime.getTime() - startTime.getTime()));
<doctype name="Acquisition" extends="Document">
<schema name="common"/>
<schema name="dublincore"/>
+ <schema name="collectionspace_core"/>
<schema name="acquisitions_common"/>
</doctype>
</extension>
<layouts mode="any">
<layout>heading</layout>
+ <layout>collectionspace_core</layout>
<layout>acquisition</layout>
</layouts>
</type>
<description>
CollectionObject Nuxeo document type
</description>
-
+
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
+<!-- <includes>
+ <include>mydog.xml</include>
+ </includes> -->
<archive>
<manifestFile> src/main/resources/META-INF/MANIFEST.MF </manifestFile>
<manifestEntries>
org.nuxeo.ecm.platform.ui,\r
org.nuxeo.ecm.platform.forms.layout.client,\r
org.nuxeo.ecm.platform.publishing.api,\r
- org.nuxeo.ecm.platform.ws \r
+ org.nuxeo.ecm.platform.ws,\r
+ org.collectionspace.collectionspace_core\r
Provide-Package: org.collectionspace.collectionobject\r
Nuxeo-Component: OSGI-INF/core-types-contrib.xml,\r
OSGI-INF/ecm-types-contrib.xml,\r
<doctype name="CollectionObject" extends="Document">
<schema name="common"/>
<schema name="dublincore"/>
+ <schema name="collectionspace_core"/>
<schema name="collectionobjects_common"/>
<schema name="collectionobjects_naturalhistory"/>
</doctype>
<layouts mode="any">
<layout>heading</layout>
+ <layout>collectionspace_core</layout>
<layout>collectionobject</layout>
</layouts>
</type>
<type>CollectionObject</type>
</subtypes>
</type>
-
</extension>
</component>
<doctype name="Contact" extends="Document">
<schema name="common"/>
<schema name="dublincore"/>
+ <schema name="collectionspace_core"/>
<schema name="contacts_common"/>
</doctype>
</extension>
<layouts mode="any">
<layout>heading</layout>
+ <layout>collectionspace_core</layout>
<layout>contact</layout>
</layouts>
</type>
org.nuxeo.ecm.platform.ui,\r
org.nuxeo.ecm.platform.forms.layout.client,\r
org.nuxeo.ecm.platform.publishing.api,\r
- org.nuxeo.ecm.platform.ws \r
+ org.nuxeo.ecm.platform.ws,\r
+ org.collectionspace.collectionspace_core\r
Provide-Package: org.collectionspace.dimension\r
Nuxeo-Component: OSGI-INF/core-types-contrib.xml,\r
OSGI-INF/ecm-types-contrib.xml,\r
<doctype name="Dimension" extends="Document">
<schema name="common"/>
<schema name="dublincore"/>
+ <schema name="collectionspace_core"/>
<schema name="dimensions_common"/>
</doctype>
</extension>
<layouts mode="any">
<layout>heading</layout>
+ <layout>collectionspace_core</layout>
<layout>dimension</layout>
- </layouts>
+ </layouts>
</type>
<type id="Folder" coretype="Folder">
<type>Dimension</type>
</subtypes>
</type>
-
</extension>
</component>
<doctype name="Intake" extends="Document">
<schema name="common"/>
<schema name="dublincore"/>
+ <schema name="collectionspace_core"/>
<schema name="intakes_common"/>
</doctype>
</extension>
<layouts mode="any">
<layout>heading</layout>
+ <layout>collectionspace_core</layout>
<layout>intake</layout>
</layouts>
</type>
<doctype name="Loanin" extends="Document">
<schema name="common"/>
<schema name="dublincore"/>
+ <schema name="collectionspace_core"/>
<schema name="loansin_common"/>
</doctype>
</extension>
<layouts mode="any">
<layout>heading</layout>
+ <layout>collectionspace_core</layout>
<layout>loanin</layout>
</layouts>
</type>
<extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
<schema name="loansout_common" prefix="loansout_common" src="schemas/loansout_common.xsd"/>
</extension>
+
<extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">
<doctype name="Loanout" extends="Document">
<schema name="common"/>
<schema name="dublincore"/>
+ <schema name="collectionspace_core"/>
<schema name="loansout_common"/>
</doctype>
</extension>
<layouts mode="any">
<layout>heading</layout>
+ <layout>collectionspace_core</layout>
<layout>loanout</layout>
</layouts>
</type>
<extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
<schema name="orgauthorities_common" prefix="orgauthorities_common" src="schemas/orgauthorities_common.xsd"/>
</extension>
+
<extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
<schema name="organizations_common" prefix="organizations_common" src="schemas/organizations_common.xsd"/>
</extension>
+
<extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">
<doctype name="Orgauthority" extends="Document">
<schema name="common"/>
<schema name="dublincore"/>
+ <schema name="collectionspace_core"/>
<schema name="orgauthorities_common"/>
</doctype>
</extension>
+
<extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">
<doctype name="Organization" extends="Document">
<schema name="common"/>
<schema name="dublincore"/>
+ <schema name="collectionspace_core"/>
<schema name="organizations_common"/>
</doctype>
</extension>
<layouts mode="any">
<layout>heading</layout>
+ <layout>collectionspace_core</layout>
<layout>csorgauthority</layout>
</layouts>
</type>
<layouts mode="any">
<layout>heading</layout>
+ <layout>collectionspace_core</layout>
<layout>organization</layout>
</layouts>
</type>
<extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
<schema name="personauthorities_common" prefix="personauthorities_common" src="schemas/personauthorities_common.xsd"/>
</extension>
+
<extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
<schema name="persons_common" prefix="persons_common" src="schemas/persons_common.xsd"/>
</extension>
+
<extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">
<doctype name="Personauthority" extends="Document">
<schema name="common"/>
<schema name="dublincore"/>
+ <schema name="collectionspace_core"/>
<schema name="personauthorities_common"/>
</doctype>
</extension>
+
<extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">
<doctype name="Person" extends="Document">
<schema name="common"/>
<schema name="dublincore"/>
+ <schema name="collectionspace_core"/>
<schema name="persons_common"/>
</doctype>
</extension>
<layouts mode="any">
<layout>heading</layout>
+ <layout>collectionspace_core</layout>
<layout>cspersonauthority</layout>
</layouts>
</type>
<layouts mode="any">
<layout>heading</layout>
+ <layout>collectionspace_core</layout>
<layout>person</layout>
</layouts>
</type>
<dependency>\r
<groupId>org.collectionspace.services</groupId>\r
<artifactId>org.collectionspace.services.person.jaxb</artifactId>\r
- <version>1.0</version>\r
+ <version>0.7-SNAPSHOT</version>\r
</dependency>\r
<dependency>\r
<groupId>org.collectionspace.services</groupId>\r
<artifactId>org.collectionspace.services.client</artifactId>\r
- <version>0.5-SNAPSHOT</version>\r
+ <version>0.7-SNAPSHOT</version>\r
</dependency>\r
<dependency>\r
<groupId>org.collectionspace.services</groupId>\r
<artifactId>org.collectionspace.services.person.client</artifactId>\r
- <version>0.5-SNAPSHOT</version>\r
+ <version>0.7-SNAPSHOT</version>\r
</dependency>\r
</dependencies>\r
\r
Description:
Nuxeo document core type for CollectionSpace Relation
-->
+
<component name="org.collectionspace.relation.coreTypes">
<extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
<schema name="relations_common" prefix="relations_common" src="schemas/relations_common.xsd"/>
</extension>
+
<extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">
<doctype name="Relation" extends="Document">
<schema name="common"/>
<schema name="dublincore"/>
+ <schema name="collectionspace_core"/>
<schema name="relations_common"/>
</doctype>
</extension>
<layouts mode="any">
<layout>heading</layout>
+ <layout>collectionspace_core</layout>
<layout>relation</layout>
</layouts>
</type>
<extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
<schema name="vocabularies_common" prefix="vocabularies_common" src="schemas/vocabularies_common.xsd"/>
</extension>
+
<extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
<schema name="vocabularyitems_common" prefix="vocabularyitems_common" src="schemas/vocabularyitems_common.xsd"/>
</extension>
+
<extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">
<doctype name="Vocabulary" extends="Document">
<schema name="common"/>
<schema name="dublincore"/>
+ <schema name="collectionspace_core"/>
<schema name="vocabularies_common"/>
</doctype>
</extension>
+
<extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">
<doctype name="Vocabularyitem" extends="Document">
<schema name="common"/>
<schema name="dublincore"/>
+ <schema name="collectionspace_core"/>
<schema name="vocabularyitems_common"/>
</doctype>
</extension>
<layouts mode="any">
<layout>heading</layout>
+ <layout>collectionspace_core</layout>
<layout>csvocabulary</layout>
</layouts>
</type>
<layouts mode="any">
<layout>heading</layout>
+ <layout>collectionspace_core</layout>
<layout>vocabularyitem</layout>
</layouts>
</type>