]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-6139: Clean up unneeded Services files relating to the creation of Nuxeo docum...
authorAron Roberts <aron@socrates.berkeley.edu>
Thu, 22 Aug 2013 02:35:11 +0000 (19:35 -0700)
committerAron Roberts <aron@socrates.berkeley.edu>
Thu, 22 Aug 2013 02:35:11 +0000 (19:35 -0700)
167 files changed:
services/acquisition/3rdparty/nuxeo-platform-cs-acquisition/src/main/resources/OSGI-INF/README.txt
services/acquisition/3rdparty/nuxeo-platform-cs-acquisition/src/main/resources/schemas/README.txt
services/blob/3rdparty/nuxeo-platform-cs-blob/src/main/resources/META-INF/MANIFEST.MF [deleted file]
services/blob/3rdparty/nuxeo-platform-cs-blob/src/main/resources/META-INF/README.txt [new file with mode: 0644]
services/blob/3rdparty/nuxeo-platform-cs-blob/src/main/resources/OSGI-INF/README.txt [new file with mode: 0644]
services/blob/3rdparty/nuxeo-platform-cs-blob/src/main/resources/OSGI-INF/core-types-contrib.xml [deleted file]
services/blob/3rdparty/nuxeo-platform-cs-blob/src/main/resources/OSGI-INF/deployment-fragment.xml [deleted file]
services/blob/3rdparty/nuxeo-platform-cs-blob/src/main/resources/OSGI-INF/ecm-types-contrib.xml [deleted file]
services/blob/3rdparty/nuxeo-platform-cs-blob/src/main/resources/OSGI-INF/layouts-contrib.xml [deleted file]
services/blob/3rdparty/nuxeo-platform-cs-blob/src/main/resources/OSGI-INF/life-cycle-contrib.xml [deleted file]
services/blob/3rdparty/nuxeo-platform-cs-blob/src/main/resources/schemas/README.txt [new file with mode: 0644]
services/blob/3rdparty/nuxeo-platform-cs-blob/src/main/resources/schemas/blobs_common.xsd [deleted file]
services/citation/3rdparty/nuxeo-platform-cs-citation/src/main/resources/META-INF/MANIFEST.MF [deleted file]
services/citation/3rdparty/nuxeo-platform-cs-citation/src/main/resources/META-INF/README.txt [new file with mode: 0644]
services/citation/3rdparty/nuxeo-platform-cs-citation/src/main/resources/OSGI-INF/README.txt [new file with mode: 0644]
services/citation/3rdparty/nuxeo-platform-cs-citation/src/main/resources/OSGI-INF/core-types-contrib.xml [deleted file]
services/citation/3rdparty/nuxeo-platform-cs-citation/src/main/resources/OSGI-INF/deployment-fragment.xml [deleted file]
services/citation/3rdparty/nuxeo-platform-cs-citation/src/main/resources/OSGI-INF/ecm-types-contrib.xml [deleted file]
services/citation/3rdparty/nuxeo-platform-cs-citation/src/main/resources/OSGI-INF/layouts-contrib.xml [deleted file]
services/citation/3rdparty/nuxeo-platform-cs-citation/src/main/resources/OSGI-INF/life-cycle-contrib.xml [deleted file]
services/citation/3rdparty/nuxeo-platform-cs-citation/src/main/resources/schemas/README.txt [new file with mode: 0644]
services/citation/3rdparty/nuxeo-platform-cs-citation/src/main/resources/schemas/citationauthorities_common.xsd [deleted file]
services/citation/3rdparty/nuxeo-platform-cs-citation/src/main/resources/schemas/citations_common.xsd [deleted file]
services/collectionobject/3rdparty/nuxeo-platform-collectionobject-lifesci/src/main/resources/OSGI-INF/README.txt [new file with mode: 0644]
services/collectionobject/3rdparty/nuxeo-platform-collectionobject-lifesci/src/main/resources/OSGI-INF/layouts-contrib.xml [deleted file]
services/collectionobject/3rdparty/nuxeo-platform-collectionobject-lifesci/src/main/resources/schemas/README.txt [new file with mode: 0644]
services/collectionobject/3rdparty/nuxeo-platform-collectionobject-lifesci/src/main/resources/schemas/collectionobjects_naturalhistory.xsd [deleted file]
services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/src/main/resources/OSGI-INF/README.txt [new file with mode: 0644]
services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/src/main/resources/OSGI-INF/layouts-contrib.xml [deleted file]
services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/src/main/resources/schemas/README.txt [new file with mode: 0644]
services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/src/main/resources/schemas/collectionobjects_common.xsd [deleted file]
services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/META-INF/MANIFEST.MF [deleted file]
services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/META-INF/README.txt [new file with mode: 0644]
services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/OSGI-INF/README.txt [new file with mode: 0644]
services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/OSGI-INF/core-types-contrib.xml [deleted file]
services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/OSGI-INF/deployment-fragment.xml [deleted file]
services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/OSGI-INF/ecm-types-contrib.xml [deleted file]
services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/OSGI-INF/layouts-contrib.xml [deleted file]
services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/OSGI-INF/life-cycle-contrib.xml [deleted file]
services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/schemas/README.txt [new file with mode: 0644]
services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/schemas/conceptauthorities_common.xsd [deleted file]
services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/schemas/concepts_common.xsd [deleted file]
services/contact/3rdparty/nuxeo-platform-cs-contact/src/main/resources/META-INF/MANIFEST.MF [deleted file]
services/contact/3rdparty/nuxeo-platform-cs-contact/src/main/resources/META-INF/README.txt [new file with mode: 0644]
services/contact/3rdparty/nuxeo-platform-cs-contact/src/main/resources/OSGI-INF/README.txt [new file with mode: 0644]
services/contact/3rdparty/nuxeo-platform-cs-contact/src/main/resources/OSGI-INF/core-types-contrib.xml [deleted file]
services/contact/3rdparty/nuxeo-platform-cs-contact/src/main/resources/OSGI-INF/deployment-fragment.xml [deleted file]
services/contact/3rdparty/nuxeo-platform-cs-contact/src/main/resources/OSGI-INF/ecm-types-contrib.xml [deleted file]
services/contact/3rdparty/nuxeo-platform-cs-contact/src/main/resources/OSGI-INF/layouts-contrib.xml [deleted file]
services/contact/3rdparty/nuxeo-platform-cs-contact/src/main/resources/OSGI-INF/life-cycle-contrib.xml [deleted file]
services/contact/3rdparty/nuxeo-platform-cs-contact/src/main/resources/schemas/README.txt [new file with mode: 0644]
services/contact/3rdparty/nuxeo-platform-cs-contact/src/main/resources/schemas/contacts_common.xsd [deleted file]
services/group/3rdparty/nuxeo-platform-cs-group/src/main/resources/OSGI-INF/README.txt [new file with mode: 0644]
services/group/3rdparty/nuxeo-platform-cs-group/src/main/resources/OSGI-INF/layouts-contrib.xml [deleted file]
services/group/3rdparty/nuxeo-platform-cs-group/src/main/resources/schemas/README.txt [new file with mode: 0644]
services/group/3rdparty/nuxeo-platform-cs-group/src/main/resources/schemas/groups_common.xsd [deleted file]
services/intake/3rdparty/nuxeo-platform-cs-intake/src/main/resources/OSGI-INF/README.txt [new file with mode: 0644]
services/intake/3rdparty/nuxeo-platform-cs-intake/src/main/resources/OSGI-INF/layouts-contrib.xml [deleted file]
services/intake/3rdparty/nuxeo-platform-cs-intake/src/main/resources/schemas/README.txt [new file with mode: 0644]
services/intake/3rdparty/nuxeo-platform-cs-intake/src/main/resources/schemas/intakes_common.xsd [deleted file]
services/loanin/3rdparty/nuxeo-platform-cs-loanin/src/main/resources/OSGI-INF/README.txt [new file with mode: 0644]
services/loanin/3rdparty/nuxeo-platform-cs-loanin/src/main/resources/OSGI-INF/layouts-contrib.xml [deleted file]
services/loanin/3rdparty/nuxeo-platform-cs-loanin/src/main/resources/schemas/README.txt [new file with mode: 0644]
services/loanin/3rdparty/nuxeo-platform-cs-loanin/src/main/resources/schemas/loansin_common.xsd [deleted file]
services/loanout/3rdparty/nuxeo-platform-cs-loanout/src/main/resources/OSGI-INF/README.txt [new file with mode: 0644]
services/loanout/3rdparty/nuxeo-platform-cs-loanout/src/main/resources/OSGI-INF/layouts-contrib.xml [deleted file]
services/loanout/3rdparty/nuxeo-platform-cs-loanout/src/main/resources/schemas/README.txt [new file with mode: 0644]
services/loanout/3rdparty/nuxeo-platform-cs-loanout/src/main/resources/schemas/loansout_common.xsd [deleted file]
services/location/3rdparty/nuxeo-platform-cs-location/src/main/resources/META-INF/MANIFEST.MF [deleted file]
services/location/3rdparty/nuxeo-platform-cs-location/src/main/resources/META-INF/README.txt [new file with mode: 0644]
services/location/3rdparty/nuxeo-platform-cs-location/src/main/resources/OSGI-INF/README.txt [new file with mode: 0644]
services/location/3rdparty/nuxeo-platform-cs-location/src/main/resources/OSGI-INF/core-types-contrib.xml [deleted file]
services/location/3rdparty/nuxeo-platform-cs-location/src/main/resources/OSGI-INF/deployment-fragment.xml [deleted file]
services/location/3rdparty/nuxeo-platform-cs-location/src/main/resources/OSGI-INF/ecm-types-contrib.xml [deleted file]
services/location/3rdparty/nuxeo-platform-cs-location/src/main/resources/OSGI-INF/layouts-contrib.xml [deleted file]
services/location/3rdparty/nuxeo-platform-cs-location/src/main/resources/OSGI-INF/life-cycle-contrib.xml [deleted file]
services/location/3rdparty/nuxeo-platform-cs-location/src/main/resources/schemas/README.txt [new file with mode: 0644]
services/location/3rdparty/nuxeo-platform-cs-location/src/main/resources/schemas/locationauthorities_common.xsd [deleted file]
services/location/3rdparty/nuxeo-platform-cs-location/src/main/resources/schemas/locations_common.xsd [deleted file]
services/media/3rdparty/nuxeo-platform-cs-media/src/main/resources/OSGI-INF/README.txt [new file with mode: 0644]
services/media/3rdparty/nuxeo-platform-cs-media/src/main/resources/OSGI-INF/layouts-contrib.xml [deleted file]
services/media/3rdparty/nuxeo-platform-cs-media/src/main/resources/schemas/README.txt [new file with mode: 0644]
services/media/3rdparty/nuxeo-platform-cs-media/src/main/resources/schemas/media_common.xsd [deleted file]
services/movement/3rdparty/nuxeo-platform-cs-movement/src/main/resources/OSGI-INF/README.txt [new file with mode: 0644]
services/movement/3rdparty/nuxeo-platform-cs-movement/src/main/resources/OSGI-INF/layouts-contrib.xml [deleted file]
services/movement/3rdparty/nuxeo-platform-cs-movement/src/main/resources/schemas/README.txt [new file with mode: 0644]
services/movement/3rdparty/nuxeo-platform-cs-movement/src/main/resources/schemas/movements_common.xsd [deleted file]
services/objectexit/3rdparty/nuxeo-platform-cs-objectexit/src/main/resources/OSGI-INF/README.txt [new file with mode: 0644]
services/objectexit/3rdparty/nuxeo-platform-cs-objectexit/src/main/resources/OSGI-INF/layouts-contrib.xml [deleted file]
services/objectexit/3rdparty/nuxeo-platform-cs-objectexit/src/main/resources/schemas/README.txt [new file with mode: 0644]
services/objectexit/3rdparty/nuxeo-platform-cs-objectexit/src/main/resources/schemas/objectexit_common.xsd [deleted file]
services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/META-INF/MANIFEST.MF [deleted file]
services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/META-INF/README.txt [new file with mode: 0644]
services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/OSGI-INF/README.txt [new file with mode: 0644]
services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/OSGI-INF/core-types-contrib.xml [deleted file]
services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/OSGI-INF/deployment-fragment.xml [deleted file]
services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/OSGI-INF/ecm-types-contrib.xml [deleted file]
services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/OSGI-INF/layouts-contrib.xml [deleted file]
services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/OSGI-INF/life-cycle-contrib.xml [deleted file]
services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/schemas/README.txt [new file with mode: 0644]
services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/schemas/organizations_common.xsd [deleted file]
services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/schemas/orgauthorities_common.xsd [deleted file]
services/person/3rdparty/nuxeo-platform-cs-person/src/main/resources/META-INF/MANIFEST.MF [deleted file]
services/person/3rdparty/nuxeo-platform-cs-person/src/main/resources/META-INF/README.txt [new file with mode: 0644]
services/person/3rdparty/nuxeo-platform-cs-person/src/main/resources/OSGI-INF/README.txt [new file with mode: 0644]
services/person/3rdparty/nuxeo-platform-cs-person/src/main/resources/OSGI-INF/core-types-contrib.xml [deleted file]
services/person/3rdparty/nuxeo-platform-cs-person/src/main/resources/OSGI-INF/deployment-fragment.xml [deleted file]
services/person/3rdparty/nuxeo-platform-cs-person/src/main/resources/OSGI-INF/ecm-types-contrib.xml [deleted file]
services/person/3rdparty/nuxeo-platform-cs-person/src/main/resources/OSGI-INF/layouts-contrib.xml [deleted file]
services/person/3rdparty/nuxeo-platform-cs-person/src/main/resources/OSGI-INF/life-cycle-contrib.xml [deleted file]
services/person/3rdparty/nuxeo-platform-cs-person/src/main/resources/schemas/README.txt [new file with mode: 0644]
services/person/3rdparty/nuxeo-platform-cs-person/src/main/resources/schemas/personauthorities_common.xsd [deleted file]
services/person/3rdparty/nuxeo-platform-cs-person/src/main/resources/schemas/persons_common.xsd [deleted file]
services/person/3rdparty/nuxeo-platform-person-lifesci/src/main/resources/META-INF/MANIFEST.MF [deleted file]
services/person/3rdparty/nuxeo-platform-person-lifesci/src/main/resources/META-INF/README.txt [new file with mode: 0644]
services/person/3rdparty/nuxeo-platform-person-lifesci/src/main/resources/OSGI-INF/README.txt [new file with mode: 0644]
services/person/3rdparty/nuxeo-platform-person-lifesci/src/main/resources/OSGI-INF/core-types-contrib.xml [deleted file]
services/person/3rdparty/nuxeo-platform-person-lifesci/src/main/resources/OSGI-INF/deployment-fragment.xml [deleted file]
services/person/3rdparty/nuxeo-platform-person-lifesci/src/main/resources/OSGI-INF/ecm-types-contrib.xml [deleted file]
services/person/3rdparty/nuxeo-platform-person-lifesci/src/main/resources/OSGI-INF/layouts-contrib.xml [deleted file]
services/person/3rdparty/nuxeo-platform-person-lifesci/src/main/resources/OSGI-INF/life-cycle-contrib.xml [deleted file]
services/person/3rdparty/nuxeo-platform-person-lifesci/src/main/resources/schemas/README.txt [new file with mode: 0644]
services/person/3rdparty/nuxeo-platform-person-lifesci/src/main/resources/schemas/persons_naturalhistory.xsd [deleted file]
services/place/3rdparty/nuxeo-platform-cs-place/src/main/resources/META-INF/MANIFEST.MF [deleted file]
services/place/3rdparty/nuxeo-platform-cs-place/src/main/resources/META-INF/README.txt [new file with mode: 0644]
services/place/3rdparty/nuxeo-platform-cs-place/src/main/resources/OSGI-INF/README.txt [new file with mode: 0644]
services/place/3rdparty/nuxeo-platform-cs-place/src/main/resources/OSGI-INF/core-types-contrib.xml [deleted file]
services/place/3rdparty/nuxeo-platform-cs-place/src/main/resources/OSGI-INF/deployment-fragment.xml [deleted file]
services/place/3rdparty/nuxeo-platform-cs-place/src/main/resources/OSGI-INF/ecm-types-contrib.xml [deleted file]
services/place/3rdparty/nuxeo-platform-cs-place/src/main/resources/OSGI-INF/layouts-contrib.xml [deleted file]
services/place/3rdparty/nuxeo-platform-cs-place/src/main/resources/OSGI-INF/life-cycle-contrib.xml [deleted file]
services/place/3rdparty/nuxeo-platform-cs-place/src/main/resources/schemas/README.txt [new file with mode: 0644]
services/place/3rdparty/nuxeo-platform-cs-place/src/main/resources/schemas/placeauthorities_common.xsd [deleted file]
services/place/3rdparty/nuxeo-platform-cs-place/src/main/resources/schemas/places_common.xsd [deleted file]
services/taxonomy/3rdparty/nuxeo-platform-cs-taxonomy/src/main/resources/META-INF/MANIFEST.MF [deleted file]
services/taxonomy/3rdparty/nuxeo-platform-cs-taxonomy/src/main/resources/META-INF/README.txt [new file with mode: 0644]
services/taxonomy/3rdparty/nuxeo-platform-cs-taxonomy/src/main/resources/OSGI-INF/README.txt [new file with mode: 0644]
services/taxonomy/3rdparty/nuxeo-platform-cs-taxonomy/src/main/resources/OSGI-INF/core-types-contrib.xml [deleted file]
services/taxonomy/3rdparty/nuxeo-platform-cs-taxonomy/src/main/resources/OSGI-INF/deployment-fragment.xml [deleted file]
services/taxonomy/3rdparty/nuxeo-platform-cs-taxonomy/src/main/resources/OSGI-INF/ecm-types-contrib.xml [deleted file]
services/taxonomy/3rdparty/nuxeo-platform-cs-taxonomy/src/main/resources/OSGI-INF/layouts-contrib.xml [deleted file]
services/taxonomy/3rdparty/nuxeo-platform-cs-taxonomy/src/main/resources/OSGI-INF/life-cycle-contrib.xml [deleted file]
services/taxonomy/3rdparty/nuxeo-platform-cs-taxonomy/src/main/resources/schemas/README.txt [new file with mode: 0644]
services/taxonomy/3rdparty/nuxeo-platform-cs-taxonomy/src/main/resources/schemas/taxon_common.xsd [deleted file]
services/taxonomy/3rdparty/nuxeo-platform-cs-taxonomy/src/main/resources/schemas/taxonomyauthority_common.xsd [deleted file]
services/vocabulary/3rdparty/nuxeo-platform-cs-vocabulary/src/main/resources/META-INF/MANIFEST.MF [deleted file]
services/vocabulary/3rdparty/nuxeo-platform-cs-vocabulary/src/main/resources/META-INF/README.txt [new file with mode: 0644]
services/vocabulary/3rdparty/nuxeo-platform-cs-vocabulary/src/main/resources/OSGI-INF/README.txt [new file with mode: 0644]
services/vocabulary/3rdparty/nuxeo-platform-cs-vocabulary/src/main/resources/OSGI-INF/core-types-contrib.xml [deleted file]
services/vocabulary/3rdparty/nuxeo-platform-cs-vocabulary/src/main/resources/OSGI-INF/deployment-fragment.xml [deleted file]
services/vocabulary/3rdparty/nuxeo-platform-cs-vocabulary/src/main/resources/OSGI-INF/ecm-types-contrib.xml [deleted file]
services/vocabulary/3rdparty/nuxeo-platform-cs-vocabulary/src/main/resources/OSGI-INF/layouts-contrib.xml [deleted file]
services/vocabulary/3rdparty/nuxeo-platform-cs-vocabulary/src/main/resources/OSGI-INF/life-cycle-contrib.xml [deleted file]
services/vocabulary/3rdparty/nuxeo-platform-cs-vocabulary/src/main/resources/schemas/README.txt
services/vocabulary/3rdparty/nuxeo-platform-cs-vocabulary/src/main/resources/schemas/vocabularies_common.xsd [deleted file]
services/vocabulary/3rdparty/nuxeo-platform-cs-vocabulary/src/main/resources/schemas/vocabularyitems_common.xsd [deleted file]
services/work/3rdparty/nuxeo-platform-cs-work/src/main/resources/META-INF/MANIFEST.MF [deleted file]
services/work/3rdparty/nuxeo-platform-cs-work/src/main/resources/META-INF/README.txt [new file with mode: 0644]
services/work/3rdparty/nuxeo-platform-cs-work/src/main/resources/OSGI-INF/README.txt [new file with mode: 0644]
services/work/3rdparty/nuxeo-platform-cs-work/src/main/resources/OSGI-INF/core-types-contrib.xml [deleted file]
services/work/3rdparty/nuxeo-platform-cs-work/src/main/resources/OSGI-INF/deployment-fragment.xml [deleted file]
services/work/3rdparty/nuxeo-platform-cs-work/src/main/resources/OSGI-INF/ecm-types-contrib.xml [deleted file]
services/work/3rdparty/nuxeo-platform-cs-work/src/main/resources/OSGI-INF/layouts-contrib.xml [deleted file]
services/work/3rdparty/nuxeo-platform-cs-work/src/main/resources/OSGI-INF/life-cycle-contrib.xml [deleted file]
services/work/3rdparty/nuxeo-platform-cs-work/src/main/resources/schemas/README.txt [new file with mode: 0644]
services/work/3rdparty/nuxeo-platform-cs-work/src/main/resources/schemas/workauthorities_common.xsd [deleted file]
services/work/3rdparty/nuxeo-platform-cs-work/src/main/resources/schemas/works_common.xsd [deleted file]

index 9c2d0688bcb45cc54493fe49a77b0a90fc67fed9..5f8c5a6d09c2eb71a32219fd817bb9461d624eb5 100644 (file)
@@ -3,7 +3,7 @@ Files formerly located in this directory are no longer needed
 
 In CollectionSpace versions 4.0 and higher, changes were introduced
 which streamline and simplify the process through which you configure
-field in CollectionSpace's main record types.
+fields in CollectionSpace's main record types.
 
 In most cases now, you will typically change the behavior of existing fields,
 or create extension schemas to add new fields specific to your museum and/or
index 9c2d0688bcb45cc54493fe49a77b0a90fc67fed9..5f8c5a6d09c2eb71a32219fd817bb9461d624eb5 100644 (file)
@@ -3,7 +3,7 @@ Files formerly located in this directory are no longer needed
 
 In CollectionSpace versions 4.0 and higher, changes were introduced
 which streamline and simplify the process through which you configure
-field in CollectionSpace's main record types.
+fields in CollectionSpace's main record types.
 
 In most cases now, you will typically change the behavior of existing fields,
 or create extension schemas to add new fields specific to your museum and/or
diff --git a/services/blob/3rdparty/nuxeo-platform-cs-blob/src/main/resources/META-INF/MANIFEST.MF b/services/blob/3rdparty/nuxeo-platform-cs-blob/src/main/resources/META-INF/MANIFEST.MF
deleted file mode 100644 (file)
index 26297f2..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-Manifest-Version: 1.0 \r
-Bundle-ManifestVersion: 1 \r
-Bundle-Name: NuxeoCS\r
-Bundle-SymbolicName: org.collectionspace.blob;singleton:=true \r
-Bundle-Version: 1.0.0\r
-Bundle-Localization: plugin\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.core.api,\r
- org.nuxeo.ecm.platform.types.api,\r
- org.nuxeo.ecm.platform.versioning.api,\r
- org.nuxeo.ecm.platform.ui,\r
- org.nuxeo.ecm.platform.forms.layout.client,\r
- org.nuxeo.ecm.platform.ws,\r
- org.collectionspace.collectionspace_core\r
-Provide-Package: org.collectionspace.blob\r
-Nuxeo-Component: OSGI-INF/core-types-contrib.xml,\r
- OSGI-INF/life-cycle-contrib.xml,\r
- OSGI-INF/ecm-types-contrib.xml,\r
- OSGI-INF/layouts-contrib.xml\r
-\r
diff --git a/services/blob/3rdparty/nuxeo-platform-cs-blob/src/main/resources/META-INF/README.txt b/services/blob/3rdparty/nuxeo-platform-cs-blob/src/main/resources/META-INF/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/blob/3rdparty/nuxeo-platform-cs-blob/src/main/resources/OSGI-INF/README.txt b/services/blob/3rdparty/nuxeo-platform-cs-blob/src/main/resources/OSGI-INF/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/blob/3rdparty/nuxeo-platform-cs-blob/src/main/resources/OSGI-INF/core-types-contrib.xml b/services/blob/3rdparty/nuxeo-platform-cs-blob/src/main/resources/OSGI-INF/core-types-contrib.xml
deleted file mode 100644 (file)
index 788d1fd..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.blob.coreTypes">
-  <extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
-    <schema name="blobs_common" prefix="blobs_common" src="schemas/blobs_common.xsd"/>
-  </extension>
-  
-  <extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">
-    <doctype name="Blob" extends="Document">
-      <schema name="common"/>
-      <schema name="dublincore"/>
-      <schema name="collectionspace_core"/>
-      <schema name="blobs_common"/>
-    </doctype>
-  </extension>
-</component>
diff --git a/services/blob/3rdparty/nuxeo-platform-cs-blob/src/main/resources/OSGI-INF/deployment-fragment.xml b/services/blob/3rdparty/nuxeo-platform-cs-blob/src/main/resources/OSGI-INF/deployment-fragment.xml
deleted file mode 100644 (file)
index 270abbd..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0"?>
-<fragment>
-
-  <extension target="application#MODULE">
-    <module>
-      <java>${bundle.fileName}</java>
-    </module>
-  </extension>
-  
-</fragment>
diff --git a/services/blob/3rdparty/nuxeo-platform-cs-blob/src/main/resources/OSGI-INF/ecm-types-contrib.xml b/services/blob/3rdparty/nuxeo-platform-cs-blob/src/main/resources/OSGI-INF/ecm-types-contrib.xml
deleted file mode 100644 (file)
index 80bb567..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.blob.ecm.types">
-  <extension target="org.nuxeo.ecm.platform.types.TypeService" point="types">
-    <type id="Blob" coretype="Blob">
-      <label>org.collectionspace.blob</label>
-      <!--icon>/icons/file.gif</icon-->
-      <default-view>view_documents</default-view>
-
-      <layouts mode="any">
-        <layout>heading</layout>
-        <layout>collectionspace_core</layout>
-        <layout>blob</layout>
-      </layouts>        
-    </type>
-
-       <!-- We may not need to declare that Folder's accept Blob and Picture instances
-               since we only store these inside Workspace folders -->
-    <type id="Folder" coretype="Folder">
-      <subtypes>
-        <type>Picture</type>
-        <type>Blob</type>
-      </subtypes>
-    </type>
-    
-    <type id="Workspace" coretype="Workspace">
-      <subtypes>
-        <type>Picture</type>
-        <type>Blob</type>
-               <type>File</type>
-      </subtypes>
-    </type>
-
-  </extension>
-</component>
diff --git a/services/blob/3rdparty/nuxeo-platform-cs-blob/src/main/resources/OSGI-INF/layouts-contrib.xml b/services/blob/3rdparty/nuxeo-platform-cs-blob/src/main/resources/OSGI-INF/layouts-contrib.xml
deleted file mode 100644 (file)
index 9813a79..0000000
+++ /dev/null
@@ -1,212 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-layouts-contrib.xml
-
-Layout file for configuring screen layouts in the
-user interface of Nuxeo EP's web application, for
-viewing or editing CollectionSpace records stored
-in the Nuxeo repository,
-
-See the "Nuxeo Book" for an introductory description
-of how to edit this file.  For instance, for Nuxeo EP 5.3:
-http://doc.nuxeo.org/5.3/books/nuxeo-book/html/
-
-$LastChangedRevision: $
-$LastChangedDate: $
--->
-
-<component name="org.collectionspace.blob.layouts.webapp">
-
-    <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
-               point="layouts">
-
-        <layout name="blob">
-            <templates>
-                <template mode="any">/layouts/layout_default_template.xhtml</template>
-            </templates>       
-            
-            <rows>
-                <row><widget>blobNumber</widget></row>
-                <row><widget>borrower</widget></row>
-                <row><widget>borrowersContact</widget></row>
-                <row><widget>lendersAuthorizer</widget></row>
-                <row><widget>lendersAuthorizationDate</widget></row>
-                <row><widget>lendersContact</widget></row>
-                
-                <!--
-                     Omitting loaned object status fields in release 0.5.2,
-                     as these are likely to be repeatable or else handled
-                     in some alternate way in release 0.7.
-                -->
-                <!-- <row><widget>loanedObjectStatus</widget></row> -->
-                <!-- <row><widget>loanedObjectStatusDate</widget></row> -->
-                <!-- <row><widget>loanedObjectStatusNote</widget></row> -->
-                
-                <row><widget>blobDate</widget></row>
-                <row><widget>loanReturnDate</widget></row>
-                <row><widget>loanRenewalApplicationDate</widget></row>
-                <row><widget>specialConditionsOfLoan</widget></row>
-                <row><widget>blobNote</widget></row>
-                <row><widget>loanPurpose</widget></row>
-            </rows>
-
-            <widget name="blobNumber" type="text">
-                <labels>
-                    <label mode="any">blobNumber</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="blobs_common">blobNumber</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="borrower" type="text">
-                <labels>
-                    <label mode="any">borrower</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="blobs_common">borrower</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-            
-            <widget name="borrowersContact" type="text">
-                <labels>
-                    <label mode="any">borrowersContact</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="blobs_common">borrowersContact</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="lendersAuthorizer" type="text">
-                <labels>
-                    <label mode="any">lendersAuthorizer</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="blobs_common">lendersAuthorizer</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="lendersAuthorizationDate" type="text">
-                <labels>
-                    <label mode="any">lendersAuthorizationDate</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="blobs_common">lendersAuthorizationDate</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="lendersContact" type="text">
-                <labels>
-                    <label mode="any">lendersContact</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="blobs_common">lendersContact</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="blobDate" type="text">
-                <labels>
-                    <label mode="any">blobDate</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="blobs_common">blobDate</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="loanReturnDate" type="text">
-                <labels>
-                    <label mode="any">loanReturnDate</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="blobs_common">loanReturnDate</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="loanRenewalApplicationDate" type="text">
-                <labels>
-                    <label mode="any">loanRenewalApplicationDate</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="blobs_common">loanRenewalApplicationDate</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="specialConditionsOfLoan" type="text">
-                <labels>
-                    <label mode="any">specialConditionsOfLoan</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="blobs_common">specialConditionsOfLoan</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-          </widget>
-
-          <widget name="blobNote" type="text">
-                <labels>
-                    <label mode="any">blobNote</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="blobs_common">blobNote</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="loanPurpose" type="text">
-                <labels>
-                    <label mode="any">loanPurpose</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="blobs_common">loanPurpose</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-        </layout>
-    </extension>
-</component>
diff --git a/services/blob/3rdparty/nuxeo-platform-cs-blob/src/main/resources/OSGI-INF/life-cycle-contrib.xml b/services/blob/3rdparty/nuxeo-platform-cs-blob/src/main/resources/OSGI-INF/life-cycle-contrib.xml
deleted file mode 100644 (file)
index a24d7aa..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.ecm.platform.blob.LifeCycleManagerExtensions">
-
-  <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
-             point="types">
-    <types>
-      <type name="Blob">${Lifecycle}</type>
-    </types>
-  </extension>
-
-</component>
diff --git a/services/blob/3rdparty/nuxeo-platform-cs-blob/src/main/resources/schemas/README.txt b/services/blob/3rdparty/nuxeo-platform-cs-blob/src/main/resources/schemas/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/blob/3rdparty/nuxeo-platform-cs-blob/src/main/resources/schemas/blobs_common.xsd b/services/blob/3rdparty/nuxeo-platform-cs-blob/src/main/resources/schemas/blobs_common.xsd
deleted file mode 100644 (file)
index 79da6b8..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
-\r
-<!--\r
-    Blob schema (XSD)\r
-    \r
-    Entity  : Blob\r
-    Part    : Common\r
-    Used for: Nuxeo EP core document type\r
-\r
-    $LastChangedRevision: 2316 $\r
-    $LastChangedDate: 2010-06-02 16:03:51 -0700 (Wed, 02 Jun 2010) $\r
--->\r
-\r
-<xs:schema \r
-    xmlns:xs="http://www.w3.org/2001/XMLSchema"\r
-    xmlns:ns="http://collectionspace.org/blob/"\r
-    xmlns="http://collectionspace.org/blob/"\r
-    targetNamespace="http://collectionspace.org/blob/"\r
-    version="0.1">\r
-    \r
-    <!-- See http://wiki.collectionspace.org/display/collectionspace/Loans+Out+Schema -->\r
-\r
-    <!--  Blob Information Group -->\r
-    <xs:element name="encoding" type="xs:string" />\r
-    <xs:element name="mimeType" type="xs:string" />\r
-    <xs:element name="data" type="xs:string" />\r
-    <xs:element name="name" type="xs:string" />\r
-    <xs:element name="length" type="xs:string" />\r
-    <xs:element name="digest" type="xs:string" />\r
-    <!-- Changed name from dimensionGroupList (type="dimensionGroupList") in v1.13 when adding repeatable sub group -->\r
-    <xs:element name="measuredPartGroupList" type="measuredPartGroupList"/>\r
-    <xs:element name="uri" type="xs:string" />\r
-    <xs:element name="repositoryId" type="xs:string" />\r
-    \r
-    <!-- Changed names, as of v1.13: dimensionGroupList became measuredPartGroupList, dimensionGroup became measuredPartGroup. -->\r
-    <xs:complexType name="measuredPartGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="measuredPartGroup" type="measuredPartGroup" minOccurs="0"\r
-                   maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-    \r
-    <xs:complexType name="measuredPartGroup">\r
-        <xs:sequence>\r
-            <xs:element name="measuredPart" type="xs:string"/>\r
-            <xs:element name="dimensionSummary" type="xs:string"/>\r
-            <xs:element name="dimensionSubGroupList" type="dimensionSubGroupList"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="dimensionSubGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="dimensionSubGroup" type="dimensionSubGroup" minOccurs="0" maxOccurs="unbounded" />\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="dimensionSubGroup">\r
-        <xs:sequence>\r
-            <xs:element name="dimension" type="xs:string"/>\r
-            <xs:element name="measuredBy" type="xs:string"/>\r
-            <xs:element name="measurementUnit" type="xs:string"/>\r
-            <xs:element name="measurementMethod" type="xs:string"/>\r
-            <xs:element name="value" type="xs:decimal"/>\r
-            <xs:element name="valueDate" type="xs:date"/>\r
-            <xs:element name="valueQualifier" type="xs:string"/>\r
-            <xs:element name="dimensionNote" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-</xs:schema>\r
diff --git a/services/citation/3rdparty/nuxeo-platform-cs-citation/src/main/resources/META-INF/MANIFEST.MF b/services/citation/3rdparty/nuxeo-platform-cs-citation/src/main/resources/META-INF/MANIFEST.MF
deleted file mode 100644 (file)
index 9beebb6..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-Manifest-Version: 1.0 \r
-Bundle-ManifestVersion: 1 \r
-Bundle-Name: NuxeoCS\r
-Bundle-SymbolicName: org.collectionspace.citation;singleton:=true \r
-Bundle-Version: 1.0.0\r
-Bundle-Localization: plugin\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.core.api,\r
- org.nuxeo.ecm.platform.types.api,\r
- org.nuxeo.ecm.platform.versioning.api,\r
- org.nuxeo.ecm.platform.ui,\r
- org.nuxeo.ecm.platform.forms.layout.client,\r
- org.nuxeo.ecm.platform.ws,\r
- org.collectionspace.collectionspace_core\r
-Provide-Package: org.collectionspace.citation\r
-Nuxeo-Component: OSGI-INF/core-types-contrib.xml,\r
- OSGI-INF/life-cycle-contrib.xml,\r
- OSGI-INF/ecm-types-contrib.xml,\r
- OSGI-INF/layouts-contrib.xml\r
-\r
diff --git a/services/citation/3rdparty/nuxeo-platform-cs-citation/src/main/resources/META-INF/README.txt b/services/citation/3rdparty/nuxeo-platform-cs-citation/src/main/resources/META-INF/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/citation/3rdparty/nuxeo-platform-cs-citation/src/main/resources/OSGI-INF/README.txt b/services/citation/3rdparty/nuxeo-platform-cs-citation/src/main/resources/OSGI-INF/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/citation/3rdparty/nuxeo-platform-cs-citation/src/main/resources/OSGI-INF/core-types-contrib.xml b/services/citation/3rdparty/nuxeo-platform-cs-citation/src/main/resources/OSGI-INF/core-types-contrib.xml
deleted file mode 100644 (file)
index 5d36ef0..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.citation.coreTypes">
-    <extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
-        <schema name="citationauthorities_common" prefix="citationauthorities_common" src="schemas/citationauthorities_common.xsd"/>
-    </extension>
-  
-    <extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
-        <schema name="citations_common" prefix="citations_common" src="schemas/citations_common.xsd"/>
-    </extension>
-  
-    <extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">
-        <doctype name="Citationauthority" extends="Document">
-            <schema name="common"/>
-            <schema name="dublincore"/>
-            <schema name="collectionspace_core"/>
-            <schema name="citationauthorities_common"/>
-        </doctype>
-    </extension>
-  
-    <extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">
-        <doctype name="Citation" extends="Document">
-            <schema name="common"/>
-            <schema name="dublincore"/>
-            <schema name="collectionspace_core"/>
-            <schema name="citations_common"/>
-            <prefetch>
-                citations_common:citationTermGroupList/0/termDisplayName
-                citations_common:refName
-                citations_common:shortIdentifier
-            </prefetch>
-        </doctype>
-    </extension>
-    
-</component>
diff --git a/services/citation/3rdparty/nuxeo-platform-cs-citation/src/main/resources/OSGI-INF/deployment-fragment.xml b/services/citation/3rdparty/nuxeo-platform-cs-citation/src/main/resources/OSGI-INF/deployment-fragment.xml
deleted file mode 100644 (file)
index 270abbd..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0"?>
-<fragment>
-
-  <extension target="application#MODULE">
-    <module>
-      <java>${bundle.fileName}</java>
-    </module>
-  </extension>
-  
-</fragment>
diff --git a/services/citation/3rdparty/nuxeo-platform-cs-citation/src/main/resources/OSGI-INF/ecm-types-contrib.xml b/services/citation/3rdparty/nuxeo-platform-cs-citation/src/main/resources/OSGI-INF/ecm-types-contrib.xml
deleted file mode 100644 (file)
index e853ae3..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.citation.ecm.types">
-  <extension target="org.nuxeo.ecm.platform.types.TypeService" point="types">
-    <type id="Citationauthority" coretype="Citationauthority">
-      <label>org.collectionspace.citationauthority</label>
-      <!--icon>/icons/file.gif</icon-->
-      <default-view>view_documents</default-view>
-
-      <layouts mode="any">
-        <layout>heading</layout>
-        <layout>collectionspace_core</layout>
-        <layout>cscitationauthority</layout>
-      </layouts>        
-    </type>
-
-    <type id="Folder" coretype="Folder">
-      <subtypes>
-        <type>Citationauthority</type>
-      </subtypes>
-    </type>
-    
-    <type id="Workspace" coretype="Workspace">
-      <subtypes>
-        <type>Citationauthority</type>
-      </subtypes>
-    </type>
-
-  </extension>
-  <extension target="org.nuxeo.ecm.platform.types.TypeService" point="types">
-    <type id="Citation" coretype="Citation">
-      <label>org.collectionspace.citation</label>
-      <!--icon>/icons/file.gif</icon-->
-      <default-view>view_documents</default-view>
-
-      <layouts mode="any">
-        <layout>heading</layout>
-        <layout>collectionspace_core</layout>
-        <layout>citation</layout>
-      </layouts>        
-    </type>
-
-    <type id="Folder" coretype="Folder">
-      <subtypes>
-        <type>Citation</type>
-      </subtypes>
-    </type>
-    
-    <type id="Workspace" coretype="Workspace">
-      <subtypes>
-        <type>Citation</type>
-      </subtypes>
-    </type>
-
-  </extension>
-</component>
diff --git a/services/citation/3rdparty/nuxeo-platform-cs-citation/src/main/resources/OSGI-INF/layouts-contrib.xml b/services/citation/3rdparty/nuxeo-platform-cs-citation/src/main/resources/OSGI-INF/layouts-contrib.xml
deleted file mode 100644 (file)
index 750ac9d..0000000
+++ /dev/null
@@ -1,155 +0,0 @@
-<?xml version="1.0"?>
-
-<component name="org.collectionspace.citation.layouts.webapp">
-
-       <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
-    point="layouts">
-
-    <layout name="cscitationauthority">
-      <templates>
-        <template mode="any">/layouts/layout_default_template.xhtml</template>
-      </templates>
-      <rows>
-        <row><widget>displayName</widget></row>
-        <row><widget>shortIdentifier</widget></row>
-        <row><widget>refName</widget></row>
-        <row><widget>vocabType</widget></row>
-      </rows>
-
-      <widget name="displayName" type="text">
-        <labels>
-          <label mode="any">Display Name</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="citationauthorities_common">displayName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="shortIdentifier" type="text">
-        <labels>
-          <label mode="any">Short Identifier</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="citationauthorities_common">shortIdentifier</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="refName" type="text">
-        <labels>
-          <label mode="any">RefName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="citationauthorities_common">refName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="vocabType" type="text">
-        <labels>
-          <label mode="any">Type</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="citationauthorities_common">vocabType</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-    </layout>
-  </extension>
-
-  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
-    point="layouts">
-
-               <layout name="citation">
-      <templates>
-        <template mode="any">/layouts/layout_default_template.xhtml</template>
-      </templates>
-      <rows>
-        <row><widget>displayName</widget></row>
-        <row><widget>shortIdentifier</widget></row>
-        <row><widget>refName</widget></row>
-        <row><widget>inAuthority</widget></row>        
-        <row><widget>termStatus</widget></row>
-      </rows>
-
-      <widget name="displayName" type="text">
-        <labels>
-          <label mode="any">displayName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="citations_common">displayName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="shortIdentifier" type="text">
-        <labels>
-          <label mode="any">Short Identifier</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="citations_common">shortIdentifier</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="refName" type="text">
-        <labels>
-          <label mode="any">refName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="citations_common">refName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="inAuthority" type="text">
-        <labels>
-          <label mode="any">inAuthority (CitationAuthority)</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="citations_common">inAuthority</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>    
-
-      <widget name="termStatus" type="text">
-        <labels>
-          <label mode="any">termStatus</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="citations_common">termStatus</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-    </layout>
-  </extension>
-</component>
diff --git a/services/citation/3rdparty/nuxeo-platform-cs-citation/src/main/resources/OSGI-INF/life-cycle-contrib.xml b/services/citation/3rdparty/nuxeo-platform-cs-citation/src/main/resources/OSGI-INF/life-cycle-contrib.xml
deleted file mode 100644 (file)
index f9a212a..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.ecm.platform.citation.LifeCycleManagerExtensions">
-
-  <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
-             point="types">
-    <types>
-      <type name="Citationauthority">${Lifecycle}</type>
-      <type name="Citation">${Lifecycle}</type>
-    </types>
-  </extension>
-
-</component>
diff --git a/services/citation/3rdparty/nuxeo-platform-cs-citation/src/main/resources/schemas/README.txt b/services/citation/3rdparty/nuxeo-platform-cs-citation/src/main/resources/schemas/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/citation/3rdparty/nuxeo-platform-cs-citation/src/main/resources/schemas/citationauthorities_common.xsd b/services/citation/3rdparty/nuxeo-platform-cs-citation/src/main/resources/schemas/citationauthorities_common.xsd
deleted file mode 100644 (file)
index 3e72faf..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-
-<!--
-    CitationAuthority schema (XSD)
-    
-    Entity  : CitationAuthority
-    Part    : Common
-    Used for: Nuxeo EP core document type
-    
-    $LastChangedRevision: 928 $
-    $LastChangedDate: 2009-11-10 12:25:58 -0800 (Tue, 10 Nov 2009) $
--->
-
-<xs:schema 
-  xmlns:xs="http://www.w3.org/2001/XMLSchema"
-  xmlns:ns="http://collectionspace.org/services/citation"
-  xmlns="http://collectionspace.org/services/citation"
-  targetNamespace="http://collectionspace.org/services/citation"
-  version="0.1"
->
-
-<!-- Flattened version of jaxb schema for nuxeo -->
-<!-- See http://wiki.collectionspace.org/display/collectionspace/Citation+Service+Home -->    
-
-               <!--  CitationAuthority Information Group -->
-               <xs:element name="displayName" type="xs:string"/>
-               <xs:element name="shortIdentifier" type="xs:string"/>
-               <xs:element name="refName" type="xs:string"/>
-               <xs:element name="vocabType" type="xs:string"/>
-               <xs:element name="source" type="xs:string"/>
-               <xs:element name="description" type="xs:string"/>
-
-</xs:schema>
-
diff --git a/services/citation/3rdparty/nuxeo-platform-cs-citation/src/main/resources/schemas/citations_common.xsd b/services/citation/3rdparty/nuxeo-platform-cs-citation/src/main/resources/schemas/citations_common.xsd
deleted file mode 100644 (file)
index d73ae8d..0000000
+++ /dev/null
@@ -1,154 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-
-<!--
-    Citation schema (XSD)
-    
-    Entity  : Citation
-    Part    : Common
-    Used for: Nuxeo EP core document type
--->
-
-<xs:schema 
-    xmlns:xs="http://www.w3.org/2001/XMLSchema"
-    xmlns:ns="http://collectionspace.org/services/citation"
-    xmlns="http://collectionspace.org/services/citation"
-    targetNamespace="http://collectionspace.org/services/citation"
-    version="0.1"
->
-    <!-- See http://wiki.collectionspace.org/display/collectionspace/Citation+Service+Home -->    
-
-    <!--  Citation Information Group -->
-    <!--  inAuthority is the csid of the owning CitationAuthority -->
-    <xs:element name="inAuthority" type="xs:string" />
-    <xs:element name="shortIdentifier" type="xs:string"/>
-    <xs:element name="refName" type="xs:string"/>
-
-    <!-- Term Information repeatable group -->
-    <xs:element name="citationTermGroupList" type="citationTermGroupList"/>
-    <xs:element name="citationPublicationInfoGroupList" type="citationPublicationInfoGroupList" />
-    <xs:element name="citationAgentInfoGroupList" type="citationAgentInfoGroupList" />
-    <xs:element name="citationNote" type="xs:string"/>
-    <xs:element name="citationResourceIdentGroupList" type="citationResourceIdentGroupList" />
-    <xs:element name="citationRelatedTermsGroupList" type="citationRelatedTermsGroupList" />
-    
-    <!-- Complex types referenced in declarations above -->
-
-    <xs:complexType name="citationTermGroupList">
-        <xs:sequence>
-            <xs:element name="citationTermGroup" type="citationTermGroup" minOccurs="0"
-                        maxOccurs="unbounded"/>
-        </xs:sequence>
-    </xs:complexType>
-
-    <xs:complexType name="citationTermGroup">
-        <xs:sequence>
-            <!-- Common across all authority item terms -->
-            <xs:element name="termDisplayName" type="xs:string"/>
-            <xs:element name="termFormattedDisplayName" type="xs:string"/>
-            <xs:element name="termName" type="xs:string"/>
-            <xs:element name="termType" type="xs:string"/>
-            <xs:element name="termStatus" type="xs:string"/>
-            <xs:element name="termQualifier" type="xs:string"/>
-            <xs:element name="termLanguage" type="xs:string"/>
-            <xs:element name="termPrefForLang" type="xs:boolean"/>
-            <xs:element name="termSource" type="xs:string"/>
-            <xs:element name="termSourceDetail" type="xs:string"/>
-            <xs:element name="termSourceID" type="xs:string"/>
-            <xs:element name="termSourceNote" type="xs:string"/>
-
-            <xs:element name="termFullCitation" type="xs:string"/>
-            <xs:element name="termTitle" type="xs:string"/>
-            <xs:element name="termSubTitle" type="xs:string"/>
-            <xs:element name="termSectionTitle" type="xs:string"/>
-            <xs:element name="termVolume" type="xs:string"/>
-            <xs:element name="termIssue" type="xs:string"/>                        
-        </xs:sequence>
-    </xs:complexType>
-        
-    <xs:complexType name="citationPublicationInfoGroupList">
-        <xs:sequence>
-            <xs:element name="citationPublicationInfoGroup" type="citationPublicationInfoGroup" minOccurs="0"
-                        maxOccurs="unbounded"/>
-        </xs:sequence>
-    </xs:complexType>
-    <xs:complexType name="citationPublicationInfoGroup">
-        <xs:sequence>
-            <xs:element name="publisher" type="xs:string"/>
-            <xs:element name="publicationPlace" type="xs:string"/>
-            <xs:element name="publicationDate" type="structuredDateGroup" minOccurs="0" maxOccurs="unbounded"/>
-            <xs:element name="edition" type="xs:string"/>
-            <xs:element name="pages" type="xs:string"/>
-        </xs:sequence>
-    </xs:complexType>
-    
-    <xs:complexType name="citationAgentInfoGroupList">
-        <xs:sequence>
-            <xs:element name="citationAgentInfoGroup" type="citationAgentInfoGroup" minOccurs="0"
-                        maxOccurs="unbounded"/>
-        </xs:sequence>
-    </xs:complexType>
-    <xs:complexType name="citationAgentInfoGroup">
-        <xs:sequence>
-            <xs:element name="agent" type="xs:string"/>
-            <xs:element name="role" type="xs:string"/>            
-            <xs:element name="note" type="xs:string"/>
-        </xs:sequence>
-    </xs:complexType>
-        
-    <xs:complexType name="citationResourceIdentGroupList">
-        <xs:sequence>
-            <xs:element name="citationResourceIdentGroup" type="citationResourceIdentGroup" minOccurs="0"
-                        maxOccurs="unbounded"/>
-        </xs:sequence>
-    </xs:complexType>
-    <xs:complexType name="citationResourceIdentGroup">
-        <xs:sequence>
-            <xs:element name="resourceIdent" type="xs:string"/>
-            <xs:element name="type" type="xs:string"/>            
-            <xs:element name="captureDate" type="structuredDateGroup" minOccurs="0" maxOccurs="unbounded"/>
-        </xs:sequence>
-    </xs:complexType>
-        
-    <xs:complexType name="citationRelatedTermsGroupList">
-        <xs:sequence>
-            <xs:element name="citationRelatedTermsGroup" type="citationRelatedTermsGroup" minOccurs="0"
-                        maxOccurs="unbounded"/>
-        </xs:sequence>
-    </xs:complexType>
-    <xs:complexType name="citationRelatedTermsGroup">
-        <xs:sequence>
-            <xs:element name="relatedTerm" type="xs:string"/>
-            <xs:element name="relationType" type="xs:string"/>                        
-        </xs:sequence>
-    </xs:complexType>    
-        
-    <xs:complexType name="structuredDateGroup">
-        <xs:sequence>
-            <xs:element name="dateDisplayDate" type="xs:string"/>
-            <xs:element name="dateAssociation" type="xs:string"/>
-            <xs:element name="dateEarliestSingleYear" type="xs:integer"/>
-            <xs:element name="dateEarliestSingleMonth" type="xs:integer"/>
-            <xs:element name="dateEarliestSingleDay" type="xs:integer"/>
-            <xs:element name="dateEarliestSingleEra" type="xs:string"/>
-            <xs:element name="dateEarliestSingleCertainty" type="xs:string"/>
-            <xs:element name="dateEarliestSingleQualifier" type="xs:string"/>
-            <xs:element name="dateEarliestSingleQualifierValue" type="xs:integer"/>
-            <xs:element name="dateEarliestSingleQualifierUnit" type="xs:string"/>
-            <xs:element name="dateLatestYear" type="xs:integer"/>
-            <xs:element name="dateLatestMonth" type="xs:integer"/>
-            <xs:element name="dateLatestDay" type="xs:integer"/>
-            <xs:element name="dateLatestEra" type="xs:string"/>
-            <xs:element name="dateLatestCertainty" type="xs:string"/>
-            <xs:element name="dateLatestQualifier" type="xs:string"/>
-            <xs:element name="dateLatestQualifierValue" type="xs:integer"/>
-            <xs:element name="dateLatestQualifierUnit" type="xs:string"/>
-            <xs:element name="datePeriod" type="xs:string"/>
-            <xs:element name="dateNote" type="xs:string"/>
-            <xs:element name="dateEarliestScalarValue" type="xs:date"/>
-            <xs:element name="dateLatestScalarValue" type="xs:date"/>
-            <xs:element name="scalarValuesComputed" type="xs:boolean"/>
-        </xs:sequence>
-    </xs:complexType>      
-
-</xs:schema>
-
diff --git a/services/collectionobject/3rdparty/nuxeo-platform-collectionobject-lifesci/src/main/resources/OSGI-INF/README.txt b/services/collectionobject/3rdparty/nuxeo-platform-collectionobject-lifesci/src/main/resources/OSGI-INF/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/collectionobject/3rdparty/nuxeo-platform-collectionobject-lifesci/src/main/resources/OSGI-INF/layouts-contrib.xml b/services/collectionobject/3rdparty/nuxeo-platform-collectionobject-lifesci/src/main/resources/OSGI-INF/layouts-contrib.xml
deleted file mode 100644 (file)
index a7a973b..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0"?>
-
-<component name="org.collectionspace.collectionobjects_naturalhistory.layouts.webapp">
-
-  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
-    point="layouts">
-
-    <layout name="collectionobjects_naturalhistory">
-       <!--
-      <templates>
-        <template mode="any">/layouts/layout_default_template.xhtml</template>
-      </templates>
-      <rows>
-        <row><widget>exampleField</widget></row>
-      </rows>
-
-      <widget name="exampleField" type="text">
-        <labels>
-          <label mode="any">exampleField</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="collectionobjects_naturalhistory">exampleField</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      -->
-    </layout>
-  </extension>
-</component>
diff --git a/services/collectionobject/3rdparty/nuxeo-platform-collectionobject-lifesci/src/main/resources/schemas/README.txt b/services/collectionobject/3rdparty/nuxeo-platform-collectionobject-lifesci/src/main/resources/schemas/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/collectionobject/3rdparty/nuxeo-platform-collectionobject-lifesci/src/main/resources/schemas/collectionobjects_naturalhistory.xsd b/services/collectionobject/3rdparty/nuxeo-platform-collectionobject-lifesci/src/main/resources/schemas/collectionobjects_naturalhistory.xsd
deleted file mode 100644 (file)
index 736a438..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
-\r
-<!--\r
-  CollectionObject schema (XSD)\r
-  \r
-  Entity  : CollectionObject\r
-  Part    : Domain - Natural History (example)\r
-  Used for: Nuxeo EP core document type\r
-  \r
-  $LastChangedRevision: 4929 $\r
-  $LastChangedDate: 2011-06-07 13:26:32 -0700 (Tue, 07 Jun 2011) $\r
--->\r
-\r
-<xs:schema \r
-  xmlns:xs="http://www.w3.org/2001/XMLSchema"\r
-  xmlns:ns="http://collectionspace.org/services/collectionobject/domain/naturalhistory"\r
-  xmlns="http://collectionspace.org/services/collectionobject/domain/naturalhistory"\r
-  targetNamespace="http://collectionspace.org/services/collectionobject/domain/naturalhistory"\r
-  version="0.1">\r
-\r
-  <!--  These items are being moved to common\r
-  <xs:element name="fieldCollector" type="xs:string"/>\r
-  <xs:element name="fieldCollectionDate" type="xs:string"/>\r
-  <xs:element name="fieldLocPlace" type="xs:string"/>\r
-  <xs:element name="catalogDate" type="xs:string"/>\r
-  -->\r
-\r
-    <xs:element name="labelHeader" type="xs:string"/>\r
-    <xs:element name="labelFooter" type="xs:string"/>\r
-\r
-    <xs:element name="fieldLocVerbatim" type="xs:string"/>\r
-    <xs:element name="fieldCollectionDateEarliest" type="xs:string"/>\r
-    <xs:element name="fieldCollectionDateLatest" type="xs:string"/>\r
-    <xs:element name="fieldLocLatDecimal" type="xs:string"/>\r
-    <xs:element name="fieldLocLongDecimal" type="xs:string"/>\r
-    <xs:element name="fieldLocElevation" type="xs:string"/>\r
-\r
-\r
-               <!-- Add in an extension field for the common title group -->\r
-               <xs:element name="nh_titleGroupList">\r
-                       <xs:complexType>\r
-                               <xs:sequence>\r
-                                       <xs:element name="nh_titleGroup">\r
-                                               <xs:complexType>\r
-                                                       <xs:sequence>\r
-                                                               <xs:element name="titleNote" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>\r
-                                                       </xs:sequence>\r
-                                               </xs:complexType>\r
-                                       </xs:element>\r
-                               </xs:sequence>\r
-                       </xs:complexType>\r
-    </xs:element>\r
-\r
-\r
-  <!-- These will become contolled lists -->\r
-    <xs:element name="fieldLocGeodeticDatum" type="xs:string"/>\r
-    <xs:element name="fieldLocCoordinateSystem" type="xs:string"/>\r
-    <xs:element name="fieldLocCounty" type="xs:string"/>\r
-    <xs:element name="fieldLocState" type="xs:string"/>\r
-    <xs:element name="fieldLocCountry" type="xs:string"/>\r
-    <xs:element name="fieldLocHigherGeography" type="xs:string"/>\r
-\r
-    <xs:element name="taxonomicIdentGroupList" type="taxonomicIdentGroupList"/>\r
-    <xs:element name="typeSpecimenGroupList" type="typeSpecimenGroupList"/>\r
-    <xs:element name="fieldCollElevationGroupList" type="fieldCollElevationGroupList"/>\r
-    <xs:element name="fieldCollDepthGroupList" type="fieldCollDepthGroupList"/>\r
-    <xs:element name="associatedTaxaGroupList" type="associatedTaxaGroupList"/>\r
-\r
-    <xs:complexType name="taxonomicIdentGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="taxonomicIdentGroup" type="taxonomicIdentGroup" minOccurs="0"\r
-                                                       maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-    <xs:complexType name="taxonomicIdentGroup">\r
-        <xs:sequence>\r
-            <xs:element name="taxon" type="xs:string"/>\r
-            <xs:element name="qualifier" type="xs:string"/>\r
-            <xs:element name="identBy" type="xs:string"/>\r
-            <xs:element name="identDate" type="xs:string"/>\r
-            <xs:element name="institution" type="xs:string"/>\r
-            <xs:element name="identKind" type="xs:string"/>\r
-            <xs:element name="reference" type="xs:string"/>\r
-            <xs:element name="refPage" type="xs:string"/>\r
-            <xs:element name="notes" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="typeSpecimenGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="typeSpecimenGroup" type="typeSpecimenGroup" minOccurs="0"\r
-                                                       maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-    <xs:complexType name="typeSpecimenGroup">\r
-        <xs:sequence>\r
-            <xs:element name="kindOfType" type="xs:string"/>\r
-            <xs:element name="reference" type="xs:string"/>\r
-            <xs:element name="refPage" type="xs:string"/>\r
-            <xs:element name="institution" type="xs:string"/>\r
-            <xs:element name="institutionType" type="xs:string"/>\r
-            <xs:element name="notes" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="fieldCollElevationGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="fieldCollElevationGroup" type="fieldCollElevationGroup" minOccurs="0"\r
-                                                       maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-    <xs:complexType name="fieldCollElevationGroup">\r
-        <xs:sequence>\r
-            <xs:element name="minElevation" type="xs:integer"/>\r
-            <xs:element name="maxElevation" type="xs:integer"/>\r
-            <xs:element name="units" type="xs:string"/>\r
-            <xs:element name="qualifier" type="xs:string"/>\r
-            <xs:element name="notes" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="fieldCollDepthGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="fieldCollDepthGroup" type="fieldCollDepthGroup" minOccurs="0"\r
-                                                       maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-    <xs:complexType name="fieldCollDepthGroup">\r
-        <xs:sequence>\r
-            <xs:element name="minDepth" type="xs:integer"/>\r
-            <xs:element name="maxDepth" type="xs:integer"/>\r
-            <xs:element name="units" type="xs:string"/>\r
-            <xs:element name="qualifier" type="xs:string"/>\r
-            <xs:element name="notes" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="associatedTaxaGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="associatedTaxaGroup" type="associatedTaxaGroup" minOccurs="0"\r
-                                                       maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-    <xs:complexType name="associatedTaxaGroup">\r
-        <xs:sequence>\r
-            <xs:element name="taxon" type="xs:string"/>\r
-            <xs:element name="commonName" type="xs:integer"/>\r
-            <xs:element name="interaction" type="xs:integer"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-</xs:schema>\r
diff --git a/services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/src/main/resources/OSGI-INF/README.txt b/services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/src/main/resources/OSGI-INF/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/src/main/resources/OSGI-INF/layouts-contrib.xml b/services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/src/main/resources/OSGI-INF/layouts-contrib.xml
deleted file mode 100644 (file)
index dae5636..0000000
+++ /dev/null
@@ -1,133 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.${ServiceName}.layouts.webapp">
-
-  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
-    point="layouts">
-
-    <layout name="${CommonSchemaName}">
-      <templates>
-        <template mode="any">/layouts/layout_default_template.xhtml</template>
-      </templates>
-      <rows>
-        <row><widget>objectNumber</widget></row>
-        <!-- Repeatable fields are commented out for now until we -->
-        <!-- identify how to represent these complex types in layouts. -->
-        <!-- <row><widget>entryMethod</widget></row> -->
-        <!--<row><widget>briefDescription</widget></row>-->
-        <!--<row><widget>comments</widget></row>-->
-        <row><widget>distinguishingFeatures</widget></row>
-        <row><widget>numberOfObjects</widget></row>
-        
-        <row><widget>objectName</widget></row>
-        <row><widget>objectNameCurrency</widget></row>
-        <row><widget>objectNameLevel</widget></row>
-        <row><widget>objectNameNote</widget></row>
-        <row><widget>objectNameSystem</widget></row>
-        <row><widget>objectNameType</widget></row>
-        <row><widget>objectNameLanguage</widget></row>
-        
-        <!--<row><widget>responsibleDepartment</widget></row>-->
-        <row><widget>title</widget></row>
-        <row><widget>objectTitleLanguage</widget></row>
-        <row><widget>titleTranslation</widget></row>
-        <row><widget>titleType</widget></row>
-      </rows>
-
-      <widget name="objectNumber" type="text">
-        <labels>
-          <label mode="any">objectNumber</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="${CommonSchemaName}">objectNumber</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="${CommonSchemaName}">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="${CommonSchemaName}">comments</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
--->
-
-      <widget name="distinguishingFeatures" type="text">
-        <labels>
-          <label mode="any">distinguishingFeatures</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="${CommonSchemaName}">distinguishingFeatures</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="${CommonSchemaName}">objectName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-<!--
-      <widget name="responsibleDepartment" type="text">
-        <labels>
-          <label mode="any">responsibleDepartment</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="${CommonSchemaName}">responsibleDepartment</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="${CommonSchemaName}">title</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-
-    </layout>
-  </extension>
-</component>
diff --git a/services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/src/main/resources/schemas/README.txt b/services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/src/main/resources/schemas/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/src/main/resources/schemas/collectionobjects_common.xsd b/services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/src/main/resources/schemas/collectionobjects_common.xsd
deleted file mode 100644 (file)
index 27e7c7c..0000000
+++ /dev/null
@@ -1,843 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
-\r
-<xs:schema 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/" version="0.1">\r
-    <xs:element name="objectHistoryNote" type="xs:string"/>\r
-    <xs:element name="viewersPersonalResponse" type="xs:string"/>\r
-    <xs:element name="fieldCollectionMethods">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="fieldCollectionMethod" type="xs:string" minOccurs="0"\r
-                    maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>    \r
-    <xs:element name="assocEventPeoples">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="assocEventPeople" type="xs:string" minOccurs="0"\r
-                    maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <xs:element name="assocEventNote" type="xs:string"/>\r
-    <xs:element name="responsibleDepartments">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="responsibleDepartment" type="xs:string" minOccurs="0"\r
-                    maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <xs:element name="ownershipAccess" type="xs:string"/>\r
-    <xs:element name="contentPositions">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="contentPosition" type="xs:string" minOccurs="0"\r
-                    maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <!-- \r
-    Tail\r
-    Tail\r
-    Tail\r
-    -->\r
-\r
-    <xs:element name="objectNumber" type="xs:string"/>\r
-    <xs:element name="otherNumberList" type="ns:otherNumberList"/>\r
-    <xs:element name="briefDescriptions">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="briefDescription" type="xs:string" minOccurs="0"\r
-                    maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <xs:element name="comments">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="comment" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <xs:element name="distinguishingFeatures" type="xs:string"/>\r
-    <xs:element name="numberOfObjects" type="xs:integer"/>\r
-    <xs:element name="objectNameList" type="ns:objectNameList"/>\r
-    \r
-    <xs:element name="collection" type="xs:string"/>\r
-    <xs:element name="titleGroupList" type="titleGroupList"/>\r
-    <xs:element name="recordStatus" type="xs:string"/>\r
-    <xs:element name="computedCurrentLocation" type="xs:string"/>\r
-\r
-    <!-- Object Description Information -->\r
-\r
-    <xs:element name="age" type="xs:integer"/>\r
-    <xs:element name="ageQualifier" type="xs:string"/>\r
-    <xs:element name="ageUnit" type="xs:string"/>\r
-    <xs:element name="colors">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="color" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <xs:element name="contentActivities">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="contentActivity" type="xs:string" minOccurs="0"\r
-                    maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <xs:element name="contentConcepts">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="contentConcept" type="xs:string" minOccurs="0"\r
-                    maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <xs:element name="contentDateGroup" type="structuredDateGroup"/>\r
-    <xs:element name="contentDescription" type="xs:string"/>\r
-    <xs:element name="contentEventNameGroupList" type="contentEventNameGroupList"/>\r
-    <xs:element name="contentNote" type="xs:string"/>\r
-    <xs:element name="contentLanguages">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="contentLanguage" type="xs:string" minOccurs="0"\r
-                    maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <xs:element name="contentObjectGroupList" type="contentObjectGroupList"/>\r
-    <xs:element name="contentOrganizations">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="contentOrganization" type="xs:string" minOccurs="0"\r
-                    maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <xs:element name="contentOtherGroupList" type="contentOtherGroupList"/>\r
-    <xs:element name="contentPeoples">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="contentPeople" type="xs:string" minOccurs="0"\r
-                    maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <xs:element name="contentPersons">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="contentPerson" type="xs:string" minOccurs="0"\r
-                    maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <xs:element name="contentPlaces">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="contentPlace" type="xs:string" minOccurs="0" maxOccurs="unbounded"\r
-                />\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    \r
-    <xs:element name="contentScripts">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="contentScript" type="xs:string" minOccurs="0"\r
-                    maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <xs:element name="copyNumber" type="xs:string"/>\r
-    <!-- Changed name of next field from dimensions (type="dimensionList") in v1.13 when adding repeatable sub group -->\r
-    <xs:element name="measuredPartGroupList" type="measuredPartGroupList"/>\r
-    <xs:element name="editionNumber" type="xs:string"/>\r
-    <xs:element name="forms">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="form" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-\r
-    <!-- Object description Inscription - Content Information -->\r
-    <xs:element name="textualInscriptionGroupList" type="textualInscriptionGroupList"/>\r
-    <xs:complexType name="textualInscriptionGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="textualInscriptionGroup" type="textualInscriptionGroup" minOccurs="0"\r
-                maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <!-- FIXME Consider whether changes to field names below are required -->\r
-    <!-- in response to the renaming of this group to Textual inscription -->\r
-    <xs:complexType name="textualInscriptionGroup">\r
-        <xs:sequence>\r
-            <xs:element name="inscriptionContent" type="xs:string"/>\r
-            <xs:element name="inscriptionContentInscriber" type="xs:string"/>\r
-            <xs:element name="inscriptionContentDateGroup" type="structuredDateGroup"/>\r
-            <xs:element name="inscriptionContentInterpretation" type="xs:string"/>\r
-            <xs:element name="inscriptionContentLanguage" type="xs:string"/>\r
-            <xs:element name="inscriptionContentMethod" type="xs:string"/>\r
-            <xs:element name="inscriptionContentPosition" type="xs:string"/>\r
-            <xs:element name="inscriptionContentScript" type="xs:string"/>\r
-            <xs:element name="inscriptionContentTranslation" type="xs:string"/>\r
-            <xs:element name="inscriptionContentTransliteration" type="xs:string"/>\r
-            <xs:element name="inscriptionContentType" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <!-- Object Description Inscription - Description Information -->\r
-    <xs:element name="nonTextualInscriptionGroupList" type="nonTextualInscriptionGroupList"/>\r
-    <xs:complexType name="nonTextualInscriptionGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="nonTextualInscriptionGroup" type="nonTextualInscriptionGroup"\r
-                minOccurs="0" maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <!-- FIXME Consider whether changes to field names below are required -->\r
-    <!-- in response to the renaming of this group to Non-textual inscription -->\r
-    <xs:complexType name="nonTextualInscriptionGroup">\r
-        <xs:sequence>\r
-            <xs:element name="inscriptionDescription" type="xs:string"/>\r
-            <xs:element name="inscriptionDescriptionInscriber" type="xs:string"/>\r
-            <xs:element name="inscriptionDescriptionDateGroup" type="structuredDateGroup"/>\r
-            <xs:element name="inscriptionDescriptionInterpretation" type="xs:string"/>\r
-            <xs:element name="inscriptionDescriptionMethod" type="xs:string"/>\r
-            <xs:element name="inscriptionDescriptionPosition" type="xs:string"/>\r
-            <xs:element name="inscriptionDescriptionType" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-    <!-- Object Description Material Information -->\r
-\r
-    <xs:element name="materialGroupList" type="materialGroupList"/>\r
-\r
-    <!-- Misc Object Description Information -->\r
-\r
-    <xs:element name="objectStatusList" type="objectStatusList"/>\r
-    <xs:element name="phase" type="xs:string"/>\r
-    <xs:element name="physicalDescription" type="xs:string"/>\r
-    <xs:element name="sex" type="xs:string"/>\r
-    <xs:element name="styles">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="style" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <xs:element name="technicalAttributeGroupList" type="technicalAttributeGroupList"/>\r
-    <xs:element name="objectComponentGroupList" type="objectComponentGroupList"/>\r
-\r
-    <!-- Object Production Information -->\r
-    <xs:element name="objectProductionDateGroupList" type="objectProductionDateGroupList"/>\r
-    <xs:element name="objectProductionNote" type="xs:string"/>\r
-    <xs:element name="objectProductionOrganizationGroupList"\r
-        type="objectProductionOrganizationGroupList"/>\r
-    <xs:element name="objectProductionPeopleGroupList" type="objectProductionPeopleGroupList"/>\r
-    <xs:element name="objectProductionPersonGroupList" type="objectProductionPersonGroupList"/>\r
-    <xs:element name="objectProductionPlaceGroupList" type="objectProductionPlaceGroupList"/>\r
-    <xs:element name="objectProductionReasons">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="objectProductionReason" type="xs:string" minOccurs="0"\r
-                    maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <xs:element name="techniqueGroupList" type="techniqueGroupList"/>\r
-\r
-    <!-- Object History and Association Information - Association -->\r
-\r
-    <!-- In the following field names, "assoc" is an abbreviation for "associated". -->\r
-    <!-- See the comments to CSPACE-2501 for a discussion of the database identifier -->\r
-    <!-- length limit that made this abbreviation necessary. -->\r
-    <xs:element name="assocActivityGroupList" type="assocActivityGroupList"/>\r
-    <xs:element name="assocConceptGroupList" type="assocConceptGroupList"/>\r
-    <!-- FIXME rename fields, if not over CSPACE-2501 length limit, -->\r
-    <!-- to assocCulturalAffinity -->\r
-    <xs:element name="assocCulturalContextGroupList" type="assocCulturalContextGroupList"/>\r
-    <xs:element name="assocDateGroupList" type="assocDateGroupList"/>\r
-    <!-- FIXME Start of Associated event repeatable group -->\r
-    <!-- Note: this group has repeatable sub-fields, and thus will -->\r
-    <!-- not be implemented as part of CSPACE-3229 in Release 1.2 -->\r
-    <xs:element name="assocEventName" type="xs:string"/>\r
-    <xs:element name="assocEventNameType" type="xs:string"/>\r
-    \r
-    <xs:element name="assocEventOrganizations">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="assocEventOrganization" type="xs:string" minOccurs="0"\r
-                    maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    \r
-    <xs:element name="assocEventPersons">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="assocEventPerson" type="xs:string" minOccurs="0"\r
-                    maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <xs:element name="assocEventPlaces">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="assocEventPlace" type="xs:string" minOccurs="0"\r
-                    maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <xs:element name="assocObjectGroupList" type="assocObjectGroupList"/>\r
-    <xs:element name="assocOrganizationGroupList" type="assocOrganizationGroupList"/>\r
-    <xs:element name="assocPeopleGroupList" type="assocPeopleGroupList"/>\r
-    <xs:element name="assocPersonGroupList" type="assocPersonGroupList"/>\r
-    <xs:element name="assocPlaceGroupList" type="assocPlaceGroupList"/>\r
-    <!-- FIXME Start of owner repeatable group -->\r
-    <!-- Note: this group has repeatable sub-fields, and thus will -->\r
-    <!-- not be implemented as part of CSPACE-3229 in Release 1.2 -->\r
-    <xs:element name="owners">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="owner" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    \r
-    <xs:element name="ownershipCategory" type="xs:string"/>\r
-    <xs:element name="ownershipDateGroupList" type="ownershipDateGroupList"/>\r
-    <xs:element name="ownershipExchangeMethod" type="xs:string"/>\r
-    <xs:element name="ownershipExchangeNote" type="xs:string"/>\r
-    <xs:element name="ownershipExchangePriceCurrency" type="xs:string"/>\r
-    <xs:element name="ownershipExchangePriceValue" type="xs:decimal"/>\r
-    <xs:element name="ownershipPlace" type="xs:string"/>\r
-    <!-- FIXME End of owner repeatable group -->\r
-    <xs:element name="usageGroupList" type="usageGroupList"/>\r
-\r
-    <!-- Object Owner's Contribution Information -->\r
-\r
-    <xs:element name="ownersPersonalExperience" type="xs:string"/>\r
-    <xs:element name="ownersPersonalResponse" type="xs:string"/>\r
-    <xs:element name="ownersReferences">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="ownersReference" type="xs:string" minOccurs="0"\r
-                    maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <xs:element name="ownersContributionNote" type="xs:string"/>\r
-\r
-    <!-- Object Viewers Contribution Information -->\r
-\r
-    <xs:element name="viewersRole" type="xs:string"/>\r
-    <xs:element name="viewersPersonalExperience" type="xs:string"/>\r
-    \r
-    <xs:element name="viewersReferences">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="viewersReference" type="xs:string" minOccurs="0"\r
-                    maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <xs:element name="viewersContributionNote" type="xs:string"/>\r
-\r
-    <!-- Reference Information -->\r
-\r
-    <xs:element name="referenceGroupList" type="referenceGroupList"/>\r
-\r
-    <!--  Object Collection Information Group -->\r
-\r
-    <xs:element name="fieldCollectionDateGroup" type="structuredDateGroup"/>\r
-    \r
-    <xs:element name="fieldCollectionNote" type="xs:string"/>\r
-    <xs:element name="fieldCollectionNumber" type="xs:string"/>\r
-    <xs:element name="fieldCollectionPlace" type="xs:string"/>\r
-    <xs:element name="fieldCollectionSources">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="fieldCollectionSource" type="xs:string" minOccurs="0"\r
-                    maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <xs:element name="fieldCollectors">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="fieldCollector" type="xs:string" minOccurs="0"\r
-                    maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <xs:element name="fieldColEventNames">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="fieldColEventName" type="xs:string" minOccurs="0"\r
-                    maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-\r
-    <xs:complexType name="otherNumberList">\r
-        <xs:sequence>\r
-            <xs:element name="otherNumber" type="ns:otherNumber" minOccurs="0" maxOccurs="unbounded"\r
-            />\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-    <xs:complexType name="otherNumber">\r
-        <xs:sequence>\r
-            <xs:element name="numberValue" type="xs:string"/>\r
-            <xs:element name="numberType" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="objectNameList">\r
-        <xs:sequence>\r
-            <xs:element name="objectNameGroup" type="objectNameGroup" minOccurs="0"\r
-                maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-    <xs:complexType name="objectNameGroup">\r
-        <xs:sequence>\r
-            <xs:element name="objectName" type="xs:string"/>\r
-            <xs:element name="objectNameCurrency" type="xs:string"/>\r
-            <xs:element name="objectNameLevel" type="xs:string"/>\r
-            <xs:element name="objectNameNote" type="xs:string"/>\r
-            <xs:element name="objectNameSystem" type="xs:string"/>\r
-            <xs:element name="objectNameType" type="xs:string"/>\r
-            <xs:element name="objectNameLanguage" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="titleGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="titleGroup" type="titleGroup" minOccurs="0" maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="titleGroup">\r
-        <xs:sequence>\r
-            <xs:element name="title" type="xs:string"/>\r
-            <xs:element name="titleLanguage" type="xs:string"/>\r
-            <xs:element name="titleType" type="xs:string"/>\r
-            <xs:element name="titleTranslationSubGroupList" type="titleTranslationSubGroupList"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="titleTranslationSubGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="titleTranslationSubGroup" type="titleTranslationSubGroup"\r
-                minOccurs="0" maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="titleTranslationSubGroup">\r
-        <xs:sequence>\r
-            <xs:element name="titleTranslation" type="xs:string"/>\r
-            <xs:element name="titleTranslationLanguage" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="contentEventNameGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="contentEventNameGroup" type="contentEventNameGroup" minOccurs="0"\r
-                maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-    <xs:complexType name="contentEventNameGroup">\r
-        <xs:sequence>\r
-            <xs:element name="contentEventName" type="xs:string"/>\r
-            <xs:element name="contentEventNameType" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="contentObjectGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="contentObjectGroup" type="contentObjectGroup" minOccurs="0"\r
-                maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-    <xs:complexType name="contentObjectGroup">\r
-        <xs:sequence>\r
-            <xs:element name="contentObject" type="xs:string"/>\r
-            <xs:element name="contentObjectType" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="contentOtherGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="contentOtherGroup" type="contentOtherGroup" minOccurs="0"\r
-                maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-    <xs:complexType name="contentOtherGroup">\r
-        <xs:sequence>\r
-            <xs:element name="contentOther" type="xs:string"/>\r
-            <xs:element name="contentOtherType" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <!-- Changed names, as of v1.13: dimensionList became measuredPartGroupList, dimensionGroup became measuredPartGroup. -->\r
-    <xs:complexType name="measuredPartGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="measuredPartGroup" type="measuredPartGroup" minOccurs="0"\r
-                maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-    <xs:complexType name="measuredPartGroup">\r
-        <xs:sequence>\r
-            <xs:element name="measuredPart" type="xs:string"/>\r
-            <xs:element name="dimensionSummary" type="xs:string"/>\r
-            <xs:element name="dimensionSubGroupList" type="dimensionSubGroupList"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="dimensionSubGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="dimensionSubGroup" type="dimensionSubGroup" minOccurs="0"\r
-                maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="dimensionSubGroup">\r
-        <xs:sequence>\r
-            <xs:element name="dimension" type="xs:string"/>\r
-            <xs:element name="measuredBy" type="xs:string"/>\r
-            <xs:element name="measurementUnit" type="xs:string"/>\r
-            <xs:element name="measurementMethod" type="xs:string"/>\r
-            <xs:element name="value" type="xs:decimal"/>\r
-            <xs:element name="valueDate" type="xs:dateTime"/>\r
-            <xs:element name="valueQualifier" type="xs:string"/>\r
-            <xs:element name="dimensionNote" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="materialGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="materialGroup" type="materialGroup" minOccurs="0"\r
-                maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-    <xs:complexType name="materialGroup">\r
-        <xs:sequence>\r
-            <xs:element name="material" type="xs:string"/>\r
-            <xs:element name="materialComponent" type="xs:string"/>\r
-            <xs:element name="materialComponentNote" type="xs:string"/>\r
-            <xs:element name="materialName" type="xs:string"/>\r
-            <xs:element name="materialSource" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="objectStatusList">\r
-        <xs:sequence>\r
-            <xs:element name="objectStatus" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="technicalAttributeGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="technicalAttributeGroup" type="technicalAttributeGroup" minOccurs="0"\r
-                maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-    <xs:complexType name="technicalAttributeGroup">\r
-        <xs:sequence>\r
-            <xs:element name="technicalAttribute" type="xs:string"/>\r
-            <xs:element name="technicalAttributeMeasurement" type="xs:string"/>\r
-            <xs:element name="technicalAttributeMeasurementUnit" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="objectComponentGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="objectComponentGroup" type="objectComponentGroup" minOccurs="0"\r
-                maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-    <xs:complexType name="objectComponentGroup">\r
-        <xs:sequence>\r
-            <xs:element name="objectComponentName" type="xs:string"/>\r
-            <xs:element name="objectComponentInformation" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="objectProductionDateGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="objectProductionDateGroup" type="structuredDateGroup" minOccurs="0"\r
-                maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="objectProductionOrganizationGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="objectProductionOrganizationGroup"\r
-                type="objectProductionOrganizationGroup" minOccurs="0" maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-    <xs:complexType name="objectProductionOrganizationGroup">\r
-        <xs:sequence>\r
-            <xs:element name="objectProductionOrganization" type="xs:string"/>\r
-            <xs:element name="objectProductionOrganizationRole" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="objectProductionPeopleGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="objectProductionPeopleGroup" type="objectProductionPeopleGroup"\r
-                minOccurs="0" maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-    <xs:complexType name="objectProductionPeopleGroup">\r
-        <xs:sequence>\r
-            <xs:element name="objectProductionPeople" type="xs:string"/>\r
-            <xs:element name="objectProductionPeopleRole" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="objectProductionPersonGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="objectProductionPersonGroup" type="objectProductionPersonGroup"\r
-                minOccurs="0" maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-    <xs:complexType name="objectProductionPersonGroup">\r
-        <xs:sequence>\r
-            <xs:element name="objectProductionPerson" type="xs:string"/>\r
-            <xs:element name="objectProductionPersonRole" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="objectProductionPlaceGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="objectProductionPlaceGroup" type="objectProductionPlaceGroup"\r
-                minOccurs="0" maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-    <xs:complexType name="objectProductionPlaceGroup">\r
-        <xs:sequence>\r
-            <xs:element name="objectProductionPlace" type="xs:string"/>\r
-            <xs:element name="objectProductionPlaceRole" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="techniqueGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="techniqueGroup" type="techniqueGroup" minOccurs="0"\r
-                maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-    <xs:complexType name="techniqueGroup">\r
-        <xs:sequence>\r
-            <xs:element name="technique" type="xs:string"/>\r
-            <xs:element name="techniqueType" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="assocActivityGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="assocActivityGroup" type="assocActivityGroup" minOccurs="0"\r
-                maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-    <xs:complexType name="assocActivityGroup">\r
-        <xs:sequence>\r
-            <xs:element name="assocActivity" type="xs:string"/>\r
-            <xs:element name="assocActivityType" type="xs:string"/>\r
-            <xs:element name="assocActivityNote" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="assocConceptGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="assocConceptGroup" type="assocConceptGroup" minOccurs="0"\r
-                maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-    <xs:complexType name="assocConceptGroup">\r
-        <xs:sequence>\r
-            <xs:element name="assocConcept" type="xs:string"/>\r
-            <xs:element name="assocConceptType" type="xs:string"/>\r
-            <xs:element name="assocConceptNote" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <!-- FIXME rename fields, if not over CSPACE-2501 length limit, -->\r
-    <!-- to assocCulturalAffinity -->\r
-    <xs:complexType name="assocCulturalContextGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="assocCulturalContextGroup" type="assocCulturalContextGroup"\r
-                minOccurs="0" maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-    <!-- FIXME rename fields, if not over CSPACE-2501 length limit, -->\r
-    <!-- to assocCulturalAffinity -->\r
-    <xs:complexType name="assocCulturalContextGroup">\r
-        <xs:sequence>\r
-            <xs:element name="assocCulturalContext" type="xs:string"/>\r
-            <xs:element name="assocCulturalContextType" type="xs:string"/>\r
-            <xs:element name="assocCulturalContextNote" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="assocDateGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="assocDateGroup" type="assocDateGroup" minOccurs="0"\r
-                maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-    <xs:complexType name="assocDateGroup">\r
-        <xs:sequence>\r
-            <!-- CSPACE-4775: Renamed assocDate to assocStructuredDateGroup. This doesn't follow the convention where the -->\r
-            <!-- structured date field would normally be named assocDateGroup, because a complexType by that name already exists. -->\r
-            <!-- The app layer doesn't handle the duplicated name well, and it's more invasive to change the name of the complexType -->\r
-            <!-- than to use an unconventional name for the field, which we'd be renaming anyway. -->\r
-            <xs:element name="assocStructuredDateGroup" type="structuredDateGroup"/>\r
-            <xs:element name="assocDateType" type="xs:string"/>\r
-            <xs:element name="assocDateNote" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="assocObjectGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="assocObjectGroup" type="assocObjectGroup" minOccurs="0"\r
-                maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-    <xs:complexType name="assocObjectGroup">\r
-        <xs:sequence>\r
-            <xs:element name="assocObject" type="xs:string"/>\r
-            <xs:element name="assocObjectType" type="xs:string"/>\r
-            <xs:element name="assocObjectNote" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="assocOrganizationGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="assocOrganizationGroup" type="assocOrganizationGroup" minOccurs="0"\r
-                maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-    <xs:complexType name="assocOrganizationGroup">\r
-        <xs:sequence>\r
-            <xs:element name="assocOrganization" type="xs:string"/>\r
-            <xs:element name="assocOrganizationType" type="xs:string"/>\r
-            <xs:element name="assocOrganizationNote" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="assocPeopleGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="assocPeopleGroup" type="assocPeopleGroup" minOccurs="0"\r
-                maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-    <xs:complexType name="assocPeopleGroup">\r
-        <xs:sequence>\r
-            <xs:element name="assocPeople" type="xs:string"/>\r
-            <xs:element name="assocPeopleType" type="xs:string"/>\r
-            <xs:element name="assocPeopleNote" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="assocPersonGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="assocPersonGroup" type="assocPersonGroup" minOccurs="0"\r
-                maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-    <xs:complexType name="assocPersonGroup">\r
-        <xs:sequence>\r
-            <xs:element name="assocPerson" type="xs:string"/>\r
-            <xs:element name="assocPersonType" type="xs:string"/>\r
-            <xs:element name="assocPersonNote" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="assocPlaceGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="assocPlaceGroup" type="assocPlaceGroup" minOccurs="0"\r
-                maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-    <xs:complexType name="assocPlaceGroup">\r
-        <xs:sequence>\r
-            <xs:element name="assocPlace" type="xs:string"/>\r
-            <xs:element name="assocPlaceType" type="xs:string"/>\r
-            <xs:element name="assocPlaceNote" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="ownershipDateGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="ownershipDateGroup" type="structuredDateGroup" minOccurs="0"\r
-                maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="usageGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="usageGroup" type="usageGroup" minOccurs="0" maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-    <xs:complexType name="usageGroup">\r
-        <xs:sequence>\r
-            <xs:element name="usage" type="xs:string"/>\r
-            <xs:element name="usageNote" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="referenceGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="referenceGroup" type="referenceGroup" minOccurs="0"\r
-                maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="referenceGroup">\r
-        <xs:sequence>\r
-            <xs:element name="reference" type="xs:string"/>\r
-            <xs:element name="referenceNote" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <!-- Before (re)using this generic complex type in any record type -->\r
-    <!-- other than CollectionObject, be sure to verify that Nuxeo handles -->\r
-    <!-- that correctly in its table creation/row linking. -->\r
-    <xs:complexType name="structuredDateGroup">\r
-        <xs:sequence>\r
-            <xs:element name="dateEarliestSingleQualifier" type="xs:string"/>\r
-            <xs:element name="scalarValuesComputed" type="xs:boolean"/>\r
-            <xs:element name="dateLatestDay" type="xs:integer"/>\r
-            <xs:element name="dateLatestYear" type="xs:integer"/>\r
-            <xs:element name="dateAssociation" type="xs:string"/>\r
-            <xs:element name="dateEarliestSingleEra" type="xs:string"/>\r
-            <xs:element name="dateDisplayDate" type="xs:string"/>\r
-            <xs:element name="dateEarliestSingleCertainty" type="xs:string"/>\r
-            <xs:element name="dateLatestEra" type="xs:string"/>\r
-            <xs:element name="dateEarliestSingleQualifierValue" type="xs:integer"/>\r
-            <xs:element name="dateLatestCertainty" type="xs:string"/>\r
-            <xs:element name="dateEarliestSingleYear" type="xs:integer"/>\r
-            <xs:element name="dateLatestQualifier" type="xs:string"/>\r
-            <xs:element name="dateLatestQualifierValue" type="xs:integer"/>\r
-            <xs:element name="dateEarliestSingleQualifierUnit" type="xs:string"/>\r
-            <xs:element name="datePeriod" type="xs:string"/>\r
-            <xs:element name="dateEarliestScalarValue" type="xs:date"/>\r
-            <xs:element name="dateLatestMonth" type="xs:integer"/>\r
-            <xs:element name="dateNote" type="xs:string"/>\r
-            <xs:element name="dateLatestScalarValue" type="xs:date"/>\r
-            <xs:element name="dateLatestQualifierUnit" type="xs:string"/>\r
-            <xs:element name="dateEarliestSingleDay" type="xs:integer"/>\r
-            <xs:element name="dateEarliestSingleMonth" type="xs:integer"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-</xs:schema>\r
diff --git a/services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/META-INF/MANIFEST.MF b/services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/META-INF/MANIFEST.MF
deleted file mode 100644 (file)
index a35cbe2..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-Manifest-Version: 1.0 
-Bundle-ManifestVersion: 1 
-Bundle-Name: NuxeoCS
-Bundle-SymbolicName: org.collectionspace.concept;singleton:=true 
-Bundle-Version: 1.0.0
-Bundle-Localization: plugin
-Bundle-Vendor: Nuxeo 
-Require-Bundle: org.nuxeo.runtime, 
- org.nuxeo.ecm.core.api, 
- org.nuxeo.ecm.core,
- org.nuxeo.ecm.core.api,
- org.nuxeo.ecm.platform.types.api,
- org.nuxeo.ecm.platform.versioning.api,
- org.nuxeo.ecm.platform.ui,
- org.nuxeo.ecm.platform.forms.layout.client,
- org.nuxeo.ecm.platform.ws,
- org.collectionspace.collectionspace_core
-Provide-Package: org.collectionspace.concept
-Nuxeo-Component: OSGI-INF/core-types-contrib.xml,
- OSGI-INF/life-cycle-contrib.xml,
- OSGI-INF/ecm-types-contrib.xml,
- OSGI-INF/layouts-contrib.xml
-
diff --git a/services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/META-INF/README.txt b/services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/META-INF/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/OSGI-INF/README.txt b/services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/OSGI-INF/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/OSGI-INF/core-types-contrib.xml b/services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/OSGI-INF/core-types-contrib.xml
deleted file mode 100644 (file)
index c438179..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.concept.coreTypes">
-    <extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
-        <schema name="conceptauthorities_common" prefix="conceptauthorities_common" src="schemas/conceptauthorities_common.xsd"/>
-    </extension>
-    <extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
-        <schema name="concepts_common" prefix="concepts_common" src="schemas/concepts_common.xsd"/>
-    </extension>
-    <extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">
-        <doctype name="Conceptauthority" extends="Document">
-            <schema name="common"/>
-            <schema name="collectionspace_core"/>
-            <schema name="dublincore"/>
-            <schema name="conceptauthorities_common"/>
-        </doctype>
-    </extension>
-    <extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">
-        <doctype name="Conceptitem" extends="Document">
-            <schema name="common"/>
-            <schema name="collectionspace_core"/>
-            <schema name="dublincore"/>
-            <schema name="concepts_common"/>
-            <prefetch>
-                concepts_common:conceptTermGroupList/0/termDisplayName
-                concepts_common:refName
-                concepts_common:shortIdentifier
-            </prefetch>    
-        </doctype>
-    </extension>
-</component>
diff --git a/services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/OSGI-INF/deployment-fragment.xml b/services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/OSGI-INF/deployment-fragment.xml
deleted file mode 100644 (file)
index 270abbd..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0"?>
-<fragment>
-
-  <extension target="application#MODULE">
-    <module>
-      <java>${bundle.fileName}</java>
-    </module>
-  </extension>
-  
-</fragment>
diff --git a/services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/OSGI-INF/ecm-types-contrib.xml b/services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/OSGI-INF/ecm-types-contrib.xml
deleted file mode 100644 (file)
index 2bbb814..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.concept.ecm.types">
-  <extension target="org.nuxeo.ecm.platform.types.TypeService" point="types">
-    <type id="Conceptauthority" coretype="Conceptauthority">
-      <label>org.collectionspace.conceptauthority</label>
-      <!--icon>/icons/file.gif</icon-->
-      <default-view>view_documents</default-view>
-
-      <layouts mode="any">
-        <layout>heading</layout>
-        <layout>csconceptauthority</layout>
-      </layouts>        
-    </type>
-
-    <type id="Folder" coretype="Folder">
-      <subtypes>
-        <type>Conceptauthority</type>
-      </subtypes>
-    </type>
-    
-    <type id="Workspace" coretype="Workspace">
-      <subtypes>
-        <type>Conceptauthority</type>
-      </subtypes>
-    </type>
-
-  </extension>
-  <extension target="org.nuxeo.ecm.platform.types.TypeService" point="types">
-    <type id="Conceptitem" coretype="Conceptitem">
-      <label>org.collectionspace.concept</label>
-      <!--icon>/icons/file.gif</icon-->
-      <default-view>view_documents</default-view>
-
-      <layouts mode="any">
-        <layout>heading</layout>
-        <layout>concept</layout>
-      </layouts>        
-    </type>
-
-    <type id="Folder" coretype="Folder">
-      <subtypes>
-        <type>Concept</type>
-      </subtypes>
-    </type>
-    
-    <type id="Workspace" coretype="Workspace">
-      <subtypes>
-        <type>Concept</type>
-      </subtypes>
-    </type>
-
-  </extension>
-</component>
diff --git a/services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/OSGI-INF/layouts-contrib.xml b/services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/OSGI-INF/layouts-contrib.xml
deleted file mode 100644 (file)
index 2f87410..0000000
+++ /dev/null
@@ -1,184 +0,0 @@
-<?xml version="1.0"?>
-
-<component name="org.collectionspace.concept.layouts.webapp">
-
-       <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
-    point="layouts">
-
-    <layout name="csconceptauthority">
-      <templates>
-        <template mode="any">/layouts/layout_default_template.xhtml</template>
-      </templates>
-      <rows>
-        <row><widget>displayName</widget></row>
-                               <row><widget>shortIdentifier</widget></row>
-        <row><widget>refName</widget></row>
-        <row><widget>vocabType</widget></row>
-      </rows>
-
-      <widget name="displayName" type="text">
-        <labels>
-          <label mode="any">Display Name</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="conceptauthorities_common">displayName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="shortIdentifier" type="text">
-        <labels>
-          <label mode="any">Short Identifier</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="conceptauthorities_common">shortIdentifier</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="refName" type="text">
-        <labels>
-          <label mode="any">RefName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="conceptauthorities_common">refName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="vocabType" type="text">
-        <labels>
-          <label mode="any">Type</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="conceptauthorities_common">vocabType</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-    </layout>
-  </extension>
-
-  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
-    point="layouts">
-
-               <layout name="concept">
-      <templates>
-        <template mode="any">/layouts/layout_default_template.xhtml</template>
-      </templates>
-      <rows>
-        <row><widget>inAuthority</widget></row>
-                               <row><widget>shortIdentifier</widget></row>
-        <row><widget>refName</widget></row>
-        <row><widget>displayName</widget></row>
-        <row><widget>displayNameComputed</widget></row>
-        <row><widget>recordType</widget></row>
-        <row><widget>status</widget></row>
-      </rows>
-
-      <widget name="inAuthority" type="text">
-        <labels>
-          <label mode="any">inAuthority (ConceptAuthority)</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="concepts_common">inAuthority</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-
-      <widget name="shortIdentifier" type="text">
-        <labels>
-          <label mode="any">Short Identifier</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="concepts_common">shortIdentifier</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="refName" type="text">
-        <labels>
-          <label mode="any">refName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="concepts_common">refName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="displayName" type="text">
-        <labels>
-          <label mode="any">displayName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="conceptauthorities_common">displayName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-                       <!-- This should be some kind of checkbox or something -->
-      <widget name="displayNameComputed" type="text">
-        <labels>
-          <label mode="any">displayNameComputed</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="conceptauthorities_common">displayNameComputed</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="recordType" type="text">
-        <labels>
-          <label mode="any">recordType</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="concepts_common">recordType</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="status" type="text">
-        <labels>
-          <label mode="any">status</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="concepts_common">status</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-    </layout>
-  </extension>
-</component>
diff --git a/services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/OSGI-INF/life-cycle-contrib.xml b/services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/OSGI-INF/life-cycle-contrib.xml
deleted file mode 100644 (file)
index caa57b2..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.ecm.platform.concept.LifeCycleManagerExtensions">
-
-  <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
-             point="types">
-    <types>
-      <type name="Conceptauthority">${Lifecycle}</type>
-      <type name="Conceptitem">${Lifecycle}</type>
-    </types>
-  </extension>
-
-</component>
diff --git a/services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/schemas/README.txt b/services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/schemas/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/schemas/conceptauthorities_common.xsd b/services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/schemas/conceptauthorities_common.xsd
deleted file mode 100644 (file)
index 8628182..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-
-<!--
-    ConceptAuthority schema (XSD)
-    
-    Entity  : ConceptAuthority
-    Part    : Common
-    Used for: Nuxeo EP core document type
-    
-    $LastChangedRevision: 928 $
-    $LastChangedDate: 2009-11-10 12:25:58 -0800 (Tue, 10 Nov 2009) $
--->
-
-<xs:schema 
-  xmlns:xs="http://www.w3.org/2001/XMLSchema"
-  xmlns:ns="http://collectionspace.org/services/concept"
-  xmlns="http://collectionspace.org/services/concept"
-  targetNamespace="http://collectionspace.org/services/concept"
-  version="0.1"
->
-
-<!-- Flattened version of jaxb schema for nuxeo -->
-<!-- See http://wiki.collectionspace.org/display/collectionspace/Concept+Service+Home -->    
-
-               <!--  ConceptAuthority Information Group -->
-               <xs:element name="displayName" type="xs:string"/>
-               <xs:element name="shortIdentifier" type="xs:string"/>
-               <xs:element name="refName" type="xs:string"/>
-               <xs:element name="vocabType" type="xs:string"/>
-               <xs:element name="source" type="xs:string"/>
-               <xs:element name="description" type="xs:string"/>
-
-</xs:schema>
-
diff --git a/services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/schemas/concepts_common.xsd b/services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/schemas/concepts_common.xsd
deleted file mode 100644 (file)
index d980b78..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-
-<!--
-    Concept schema (XSD)
-    
-    Entity  : Concept
-    Part    : Common
-    Used for: Nuxeo EP core document type
--->
-
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
-           xmlns:ns="http://collectionspace.org/services/concept"
-           xmlns="http://collectionspace.org/services/concept"
-           targetNamespace="http://collectionspace.org/services/concept" version="0.1">
-    <!-- See http://wiki.collectionspace.org/display/collectionspace/Concept+Service+Home -->
-
-    <!--  Common Authority Information Group -->
-    <!--  inAuthority is the csid of the owning ConceptAuthority -->
-    <xs:element name="inAuthority" type="xs:string"/>
-    <xs:element name="shortIdentifier" type="xs:string"/>
-    <xs:element name="refName" type="xs:string"/>
-    
-    <!-- Term Information repeatable group -->
-    <xs:element name="conceptTermGroupList" type="conceptTermGroupList"/>
-
-    <!--  Common Concept Information Group -->
-    <!--  Based on UCB Version 2.3: http://wiki.collectionspace.org/display/deploy/Concept+Authority+Schema+and+Mockup+-+UCB+Version -->
-    <!--  This will be refactored for 2.x. -->
-    <xs:element name="recordType" type="xs:string"/>
-    <xs:element name="scopeNote" type="xs:string"/>
-    <xs:element name="scopeNoteSource" type="xs:string"/>
-    <xs:element name="scopeNoteSourceDetail" type="xs:string"/>
-    
-    <!--  List of Citations -->
-    <xs:element name="citationGroupList" type="citationGroupList"/>
-    
-    <!--  List of additional Concept Term sources  -->
-    <xs:element name="additionalSourceGroupList" type="additionalSourceGroupList"/>
-    
-    <!-- FIXME: Is this field still needed? - ADR 2012-05-08 -->
-    <xs:element name="description" type="xs:string"/>
-
-    <!-- =================================================================
-     Citation Group repeating structure
-     ================================================================= -->
-
-    <xs:complexType name="citationGroupList">
-        <xs:sequence>
-            <xs:element name="citationGroup" type="citationGroup" minOccurs="0"
-                        maxOccurs="unbounded"/>
-        </xs:sequence>
-    </xs:complexType>
-
-    <xs:complexType name="citationGroup">
-        <xs:sequence>
-            <xs:element name="citationSource" type="xs:string"/>
-            <xs:element name="citationSourceDetail" type="xs:string"/>
-        </xs:sequence>
-    </xs:complexType>
-
-    <!-- =================================================================
-     Additional Source Group repeating structure
-     ================================================================= -->
-
-    <xs:complexType name="additionalSourceGroupList">
-        <xs:sequence>
-            <xs:element name="additionalSourceGroup" 
-                        type="additionalSourceGroup" minOccurs="0" maxOccurs="unbounded"/>
-        </xs:sequence>
-    </xs:complexType>
-
-    <xs:complexType name="additionalSourceGroup">
-        <xs:sequence>
-            <xs:element name="additionalSource" type="xs:string"/>
-            <xs:element name="additionalSourceDetail" type="xs:string"/>
-            <xs:element name="additionalSourceID" type="xs:string"/>
-            <xs:element name="additionalSourceNote" type="xs:string"/>
-        </xs:sequence>
-    </xs:complexType>
-
-    <!-- =================================================================
-        Structured Date info. Copied from 
-        .../services/common/jaxb/src/main/resources/commonStructuredDateGroup.xsd
-        =================================================================
-    <xs:complexType name="structuredDateGroup">
-        <xs:sequence>
-            <xs:element name="dateDisplayDate" type="xs:string"/>
-            <xs:element name="dateAssociation" type="xs:string"/>
-            <xs:element name="dateEarliestSingleYear" type="xs:integer"/>
-            <xs:element name="dateEarliestSingleMonth" type="xs:integer"/>
-            <xs:element name="dateEarliestSingleDay" type="xs:integer"/>
-            <xs:element name="dateEarliestSingleEra" type="xs:string"/>
-            <xs:element name="dateEarliestSingleCertainty" type="xs:string"/>
-            <xs:element name="dateEarliestSingleQualifier" type="xs:string"/>
-            <xs:element name="dateEarliestSingleQualifierValue" type="xs:integer"/>
-            <xs:element name="dateEarliestSingleQualifierUnit" type="xs:string"/>
-            <xs:element name="dateLatestYear" type="xs:integer"/>
-            <xs:element name="dateLatestMonth" type="xs:integer"/>
-            <xs:element name="dateLatestDay" type="xs:integer"/>
-            <xs:element name="dateLatestEra" type="xs:string"/>
-            <xs:element name="dateLatestCertainty" type="xs:string"/>
-            <xs:element name="dateLatestQualifier" type="xs:string"/>
-            <xs:element name="dateLatestQualifierValue" type="xs:integer"/>
-            <xs:element name="dateLatestQualifierUnit" type="xs:string"/>
-            <xs:element name="datePeriod" type="xs:string"/>
-            <xs:element name="dateNote" type="xs:string"/>
-            <xs:element name="dateEarliestScalarValue" type="xs:date"/>
-            <xs:element name="dateLatestScalarValue" type="xs:date"/>
-            <xs:element name="scalarValuesComputed" type="xs:boolean"/>
-        </xs:sequence>
-    </xs:complexType>
-    -->
-    
-    <xs:complexType name="conceptTermGroupList">
-        <xs:sequence>
-            <xs:element name="conceptTermGroup" type="conceptTermGroup" minOccurs="0" maxOccurs="unbounded"/>
-        </xs:sequence>
-    </xs:complexType>
-
-    <xs:complexType name="conceptTermGroup">
-        <xs:sequence>
-            <!-- Common across all authority item terms -->
-            <xs:element name="termDisplayName" type="xs:string"/>
-            <xs:element name="termFormattedDisplayName" type="xs:string"/>
-            <xs:element name="termName" type="xs:string"/>
-            <xs:element name="termType" type="xs:string"/>
-            <xs:element name="termStatus" type="xs:string"/>
-            <xs:element name="termQualifier" type="xs:string"/>
-            <xs:element name="termLanguage" type="xs:string"/>
-            <xs:element name="termPrefForLang" type="xs:boolean"/>
-            <xs:element name="termSource" type="xs:string"/>
-            <xs:element name="termSourceDetail" type="xs:string"/>
-            <xs:element name="termSourceID" type="xs:string"/>
-            <xs:element name="termSourceNote" type="xs:string"/>
-            <!-- Specific to Concept terms -->
-            <xs:element name="historicalStatus" type="xs:string"/>
-        </xs:sequence>
-    </xs:complexType>
-    
-</xs:schema>
diff --git a/services/contact/3rdparty/nuxeo-platform-cs-contact/src/main/resources/META-INF/MANIFEST.MF b/services/contact/3rdparty/nuxeo-platform-cs-contact/src/main/resources/META-INF/MANIFEST.MF
deleted file mode 100644 (file)
index e3cd5a9..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-Manifest-Version: 1.0 
-Bundle-ManifestVersion: 1 
-Bundle-Name: NuxeoCS
-Bundle-SymbolicName: org.collectionspace.contact;singleton:=true 
-Bundle-Version: 1.0.0
-Bundle-Localization: plugin
-Bundle-Vendor: Nuxeo 
-Require-Bundle: org.nuxeo.runtime, 
- org.nuxeo.ecm.core.api, 
- org.nuxeo.ecm.core,
- org.nuxeo.ecm.core.api,
- org.nuxeo.ecm.platform.types.api,
- org.nuxeo.ecm.platform.versioning.api,
- org.nuxeo.ecm.platform.ui,
- org.nuxeo.ecm.platform.forms.layout.client,
- org.nuxeo.ecm.platform.ws,
- org.collectionspace.collectionspace_core 
-Provide-Package: org.collectionspace.contact
-Nuxeo-Component: OSGI-INF/core-types-contrib.xml,
- OSGI-INF/life-cycle-contrib.xml,
- OSGI-INF/ecm-types-contrib.xml,
- OSGI-INF/layouts-contrib.xml
-
diff --git a/services/contact/3rdparty/nuxeo-platform-cs-contact/src/main/resources/META-INF/README.txt b/services/contact/3rdparty/nuxeo-platform-cs-contact/src/main/resources/META-INF/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/contact/3rdparty/nuxeo-platform-cs-contact/src/main/resources/OSGI-INF/README.txt b/services/contact/3rdparty/nuxeo-platform-cs-contact/src/main/resources/OSGI-INF/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/contact/3rdparty/nuxeo-platform-cs-contact/src/main/resources/OSGI-INF/core-types-contrib.xml b/services/contact/3rdparty/nuxeo-platform-cs-contact/src/main/resources/OSGI-INF/core-types-contrib.xml
deleted file mode 100644 (file)
index d9abcdb..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.contact.coreTypes">
-  <extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
-    <schema name="contacts_common" prefix="contacts_common" src="schemas/contacts_common.xsd"/>
-  </extension>
-  <extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">
-    <doctype name="Contact" extends="Document">
-      <schema name="common"/>
-      <schema name="dublincore"/>
-      <schema name="collectionspace_core"/>
-      <schema name="contacts_common"/>
-    </doctype>
-  </extension>
-</component>
diff --git a/services/contact/3rdparty/nuxeo-platform-cs-contact/src/main/resources/OSGI-INF/deployment-fragment.xml b/services/contact/3rdparty/nuxeo-platform-cs-contact/src/main/resources/OSGI-INF/deployment-fragment.xml
deleted file mode 100644 (file)
index 270abbd..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0"?>
-<fragment>
-
-  <extension target="application#MODULE">
-    <module>
-      <java>${bundle.fileName}</java>
-    </module>
-  </extension>
-  
-</fragment>
diff --git a/services/contact/3rdparty/nuxeo-platform-cs-contact/src/main/resources/OSGI-INF/ecm-types-contrib.xml b/services/contact/3rdparty/nuxeo-platform-cs-contact/src/main/resources/OSGI-INF/ecm-types-contrib.xml
deleted file mode 100644 (file)
index f738899..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.contact.ecm.types">
-  <extension target="org.nuxeo.ecm.platform.types.TypeService" point="types">
-    <type id="Contact" coretype="Contact">
-      <label>org.collectionspace.contact</label>
-      <!--icon>/icons/file.gif</icon-->
-      <default-view>view_documents</default-view>
-
-      <layouts mode="any">
-        <layout>heading</layout>
-        <layout>collectionspace_core</layout>
-        <layout>contact</layout>
-      </layouts>        
-    </type>
-
-    <type id="Folder" coretype="Folder">
-      <subtypes>
-        <type>Contact</type>
-      </subtypes>
-    </type>
-    
-    <type id="Workspace" coretype="Workspace">
-      <subtypes>
-        <type>Contact</type>
-      </subtypes>
-    </type>
-
-  </extension>
-</component>
diff --git a/services/contact/3rdparty/nuxeo-platform-cs-contact/src/main/resources/OSGI-INF/layouts-contrib.xml b/services/contact/3rdparty/nuxeo-platform-cs-contact/src/main/resources/OSGI-INF/layouts-contrib.xml
deleted file mode 100644 (file)
index 8c96764..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-<?xml version="1.0"?>
-
-<component name="org.collectionspace.contact.layouts.webapp">
-
-  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
-    point="layouts">
-
-    <layout name="contact">
-
-      <templates>
-        <template mode="any">/layouts/layout_default_template.xhtml</template>
-      </templates>
-      <rows>
-        <row><widget>addressType</widget></row>
-        <row><widget>addressPlace</widget></row>
-        <row><widget>web</widget></row>
-        <row><widget>email</widget></row>
-        <row><widget>telephoneNumber</widget></row>
-        <row><widget>faxNumber</widget></row>
-      </rows>
-
-      <widget name="addressType" type="text">
-        <labels>
-          <label mode="any">addressType</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="contacts_common">addressType</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-
-      <widget name="addressPlace" type="text">
-        <labels>
-          <label mode="any">addressPlace</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="contacts_common">addressPlace</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="web" type="text">
-        <labels>
-          <label mode="any">web</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="contacts_common">web</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-
-      <widget name="email" type="text">
-        <labels>
-          <label mode="any">email</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="contacts_common">email</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-
-      <widget name="telephoneNumber" type="text">
-        <labels>
-          <label mode="any">telephoneNumber</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="contacts_common">telephoneNumber</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-
-      <widget name="faxNumber" type="text">
-        <labels>
-          <label mode="any">faxNumber</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="contacts_common">faxNumber</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-     
-    </layout>
-  </extension>
-</component>
diff --git a/services/contact/3rdparty/nuxeo-platform-cs-contact/src/main/resources/OSGI-INF/life-cycle-contrib.xml b/services/contact/3rdparty/nuxeo-platform-cs-contact/src/main/resources/OSGI-INF/life-cycle-contrib.xml
deleted file mode 100644 (file)
index e38d14b..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.ecm.platform.contact.LifeCycleManagerExtensions">
-
-  <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
-             point="types">
-    <types>
-      <type name="Contact">${Lifecycle}</type>
-    </types>
-  </extension>
-
-</component>
diff --git a/services/contact/3rdparty/nuxeo-platform-cs-contact/src/main/resources/schemas/README.txt b/services/contact/3rdparty/nuxeo-platform-cs-contact/src/main/resources/schemas/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/contact/3rdparty/nuxeo-platform-cs-contact/src/main/resources/schemas/contacts_common.xsd b/services/contact/3rdparty/nuxeo-platform-cs-contact/src/main/resources/schemas/contacts_common.xsd
deleted file mode 100644 (file)
index 008f37e..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-
-<!--
-    Contact schema (XSD)
-    
-    Entity  : Contact
-    Part    : Common
-    Used for: Nuxeo EP core document type
-
-    $LastChangedRevision$
-    $LastChangedDate$
--->
-
-<xs:schema 
-    xmlns:xs="http://www.w3.org/2001/XMLSchema"
-    xmlns:ns="http://collectionspace.org/contact/"
-    xmlns="http://collectionspace.org/contact/"
-    targetNamespace="http://collectionspace.org/contact/"
-    version="0.1">
-
-    <xs:element name="csid" type="xs:string" />
-    <xs:element name="inAuthority" type="xs:string" />
-    <xs:element name="inItem" type="xs:string" />
-    <xs:element name="displayName" type="xs:string" />
-    
-    <xs:element name="emailGroupList" type="emailGroupList"/>
-    <xs:element name="telephoneNumberGroupList" type="telephoneNumberGroupList"/>
-    <xs:element name="faxNumberGroupList" type="faxNumberGroupList"/>
-    <xs:element name="webAddressGroupList" type="webAddressGroupList"/>
-    <xs:element name="addressGroupList" type="addressGroupList"/>
-    
-    <xs:complexType name="emailGroupList">
-        <xs:sequence>
-            <xs:element name="emailGroup" type="emailGroup" minOccurs="0" maxOccurs="unbounded"/>
-        </xs:sequence>
-    </xs:complexType>
-
-    <xs:complexType name="emailGroup">
-        <xs:sequence>
-            <xs:element name="email" type="xs:string"/>
-            <xs:element name="emailType" type="xs:string"/>
-        </xs:sequence>
-    </xs:complexType>
-    
-    <xs:complexType name="telephoneNumberGroupList">
-        <xs:sequence>
-            <xs:element name="telephoneNumberGroup" type="telephoneNumberGroup" minOccurs="0" maxOccurs="unbounded"/>
-        </xs:sequence>
-    </xs:complexType>
-
-    <xs:complexType name="telephoneNumberGroup">
-        <xs:sequence>
-            <xs:element name="telephoneNumber" type="xs:string"/>
-            <xs:element name="telephoneNumberType" type="xs:string"/>
-        </xs:sequence>
-    </xs:complexType>
-    
-    <xs:complexType name="faxNumberGroupList">
-        <xs:sequence>
-            <xs:element name="faxNumberGroup" type="faxNumberGroup" minOccurs="0" maxOccurs="unbounded"/>
-        </xs:sequence>
-    </xs:complexType>
-
-    <xs:complexType name="faxNumberGroup">
-        <xs:sequence>
-            <xs:element name="faxNumber" type="xs:string"/>
-            <xs:element name="faxNumberType" type="xs:string"/>
-        </xs:sequence>
-    </xs:complexType>
-    
-    <xs:complexType name="webAddressGroupList">
-        <xs:sequence>
-            <xs:element name="webAddressGroup" type="webAddressGroup" minOccurs="0" maxOccurs="unbounded"/>
-        </xs:sequence>
-    </xs:complexType>
-
-    <xs:complexType name="webAddressGroup">
-        <xs:sequence>
-            <xs:element name="webAddress" type="xs:string"/>
-            <xs:element name="webAddressType" type="xs:string"/>
-        </xs:sequence>
-    </xs:complexType>
-    
-    <xs:complexType name="addressGroupList">
-        <xs:sequence>
-            <xs:element name="addressGroup" type="addressGroup" minOccurs="0" maxOccurs="unbounded"/>
-        </xs:sequence>
-    </xs:complexType>
-
-    <xs:complexType name="addressGroup">
-        <xs:sequence>
-            <xs:element name="addressPlace1" type="xs:string"/>
-            <xs:element name="addressPlace2" type="xs:string"/>
-            <xs:element name="addressMunicipality" type="xs:string"/>
-            <xs:element name="addressStateOrProvince" type="xs:string"/>
-            <xs:element name="addressPostCode" type="xs:string"/>
-            <xs:element name="addressCountry" type="xs:string"/>
-            <xs:element name="addressType" type="xs:string"/>
-        </xs:sequence>
-    </xs:complexType>
-    
-</xs:schema>
diff --git a/services/group/3rdparty/nuxeo-platform-cs-group/src/main/resources/OSGI-INF/README.txt b/services/group/3rdparty/nuxeo-platform-cs-group/src/main/resources/OSGI-INF/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/group/3rdparty/nuxeo-platform-cs-group/src/main/resources/OSGI-INF/layouts-contrib.xml b/services/group/3rdparty/nuxeo-platform-cs-group/src/main/resources/OSGI-INF/layouts-contrib.xml
deleted file mode 100644 (file)
index 0e73267..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-layouts-contrib.xml
-
-Layout file for configuring screen layouts in the
-user interface of Nuxeo EP's web application, for
-viewing or editing CollectionSpace records stored
-in the Nuxeo repository,
-
-See the "Nuxeo Book" for an introductory description
-of how to edit this file.  For instance, for Nuxeo EP 5.3:
-http://doc.nuxeo.org/5.3/books/nuxeo-book/html/
-
-$LastChangedRevision: $
-$LastChangedDate: $
--->
-
-<component name="org.collectionspace.group.layouts.webapp">
-
-    <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
-               point="layouts">
-
-        <layout name="group">
-            <templates>
-                <template mode="any">/layouts/layout_default_template.xhtml</template>
-            </templates>       
-            
-            <rows>
-                <row><widget>title</widget></row>
-                <row><widget>scopeNote</widget></row>
-                <row><widget>responsibleDept</widget></row>
-                
-            </rows>
-
-            <widget name="title" type="text">
-                <labels>
-                    <label mode="any">Title</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="groups_common">title</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="scopeNote" type="text">
-                <labels>
-                    <label mode="any">Scope Note</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="groups_common">scopeNote</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-            
-            <widget name="responsibleDept" type="text">
-                <labels>
-                    <label mode="any">Responsible Dept.</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="groups_common">responsibleDepartment</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-            
-
-        </layout>
-    </extension>
-</component>
diff --git a/services/group/3rdparty/nuxeo-platform-cs-group/src/main/resources/schemas/README.txt b/services/group/3rdparty/nuxeo-platform-cs-group/src/main/resources/schemas/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/group/3rdparty/nuxeo-platform-cs-group/src/main/resources/schemas/groups_common.xsd b/services/group/3rdparty/nuxeo-platform-cs-group/src/main/resources/schemas/groups_common.xsd
deleted file mode 100644 (file)
index d96cc1d..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
-\r
-<!--\r
-    Loan Out schema (XSD)\r
-    \r
-    Entity  : Group\r
-    Part    : Common\r
-    Used for: Nuxeo EP core document type\r
-\r
-    $LastChangedRevision: 2316 $\r
-    $LastChangedDate: 2010-06-02 16:03:51 -0700 (Wed, 02 Jun 2010) $\r
--->\r
-\r
-<xs:schema \r
-    xmlns:xs="http://www.w3.org/2001/XMLSchema"\r
-    xmlns:ns="http://collectionspace.org/group/"\r
-    xmlns="http://collectionspace.org/group/"\r
-    targetNamespace="http://collectionspace.org/group/"\r
-    version="0.1">\r
-    \r
-    <!-- See http://wiki.collectionspace.org/display/collectionspace/Groups+Schema -->\r
-\r
-    <!--  Group Information Group -->\r
-    <xs:element name="title" type="xs:string"/>\r
-    <xs:element name="scopeNote" type="xs:string"/>\r
-    <xs:element name="responsibleDepartment" type="xs:string"/>\r
-    <xs:element name="owner" type="xs:string"/>\r
-</xs:schema>\r
diff --git a/services/intake/3rdparty/nuxeo-platform-cs-intake/src/main/resources/OSGI-INF/README.txt b/services/intake/3rdparty/nuxeo-platform-cs-intake/src/main/resources/OSGI-INF/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/intake/3rdparty/nuxeo-platform-cs-intake/src/main/resources/OSGI-INF/layouts-contrib.xml b/services/intake/3rdparty/nuxeo-platform-cs-intake/src/main/resources/OSGI-INF/layouts-contrib.xml
deleted file mode 100644 (file)
index 30cfa82..0000000
+++ /dev/null
@@ -1,162 +0,0 @@
-<?xml version="1.0"?>
-
-<component name="org.collectionspace.intake.layouts.webapp">
-
-  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
-    point="layouts">
-
-    <layout name="intake">
-      <templates>
-        <template mode="any">/layouts/layout_default_template.xhtml</template>
-      </templates>
-      <rows>
-        <row><widget>currentOwner</widget></row>
-        <row><widget>depositor</widget></row>
-        <row><widget>depositorsRequirements</widget></row>
-        <row><widget>entryDate</widget></row>
-        <!-- Repeatable fields are commented out for now until we -->
-        <!-- identify how to represent these complex types in layouts. -->
-        <!-- <row><widget>entryMethod</widget></row> -->
-        <row><widget>entryNote</widget></row>
-        <row><widget>entryNumber</widget></row>
-        <row><widget>entryReason</widget></row>
-        <row><widget>packingNote</widget></row>
-        <row><widget>returnDate</widget></row>
-      </rows>
-
-      <widget name="currentOwner" type="text">
-        <labels>
-          <label mode="any">currentOwner</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="intakes_common">currentOwner</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="depositor" type="text">
-        <labels>
-          <label mode="any">depositor</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="intakes_common">depositor</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="depositorsRequirements" type="text">
-        <labels>
-          <label mode="any">depositorsRequirements</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="intakes_common">depositorsRequirements</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="entryDate" type="text">
-        <labels>
-          <label mode="any">entryDate</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="intakes_common">entryDate</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-
-<!--
-      <widget name="entryMethod" type="text">
-        <labels>
-          <label mode="any">entryMethod</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="intakes_common">entryMethod</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-
--->
-
-      <widget name="entryNote" type="text">
-        <labels>
-          <label mode="any">entryNote</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="intakes_common">entryNote</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-
-      <widget name="entryNumber" type="text">
-        <labels>
-          <label mode="any">entryNumber</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="intakes_common">entryNumber</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-
-      <widget name="entryReason" type="text">
-        <labels>
-          <label mode="any">entryReason</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="intakes_common">entryReason</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-
-      <widget name="packingNote" type="text">
-        <labels>
-          <label mode="any">packingNote</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="intakes_common">packingNote</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="returnDate" type="text">
-        <labels>
-          <label mode="any">returnDate</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="intakes_common">returnDate</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-    </layout>
-  </extension>
-</component>
diff --git a/services/intake/3rdparty/nuxeo-platform-cs-intake/src/main/resources/schemas/README.txt b/services/intake/3rdparty/nuxeo-platform-cs-intake/src/main/resources/schemas/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/intake/3rdparty/nuxeo-platform-cs-intake/src/main/resources/schemas/intakes_common.xsd b/services/intake/3rdparty/nuxeo-platform-cs-intake/src/main/resources/schemas/intakes_common.xsd
deleted file mode 100644 (file)
index 9bb0776..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
-\r
-<!--\r
-    Intake schema (XSD)\r
-\r
-    Entity  : Intake\r
-    Part    : Common\r
-    Used for: Nuxeo EP core document type\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/intake/"\r
-    xmlns="http://collectionspace.org/intake/"\r
-    targetNamespace="http://collectionspace.org/intake/"\r
-    version="0.1">\r
-    \r
-    <!-- See http://wiki.collectionspace.org/display/collectionspace/Intake+Schema -->\r
-\r
-    <!--  Object Entry Information Group -->\r
-    <xs:element name="currentOwner" type="xs:string"/>\r
-    <xs:element name="depositor" type="xs:string"/>\r
-    <xs:element name="depositorsRequirements" type="xs:string"/>\r
-    <xs:element name="entryDate" type="xs:date"/>\r
-    <xs:element name="entryMethods">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="entryMethod" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <xs:element name="entryNote" type="xs:string"/>\r
-    <xs:element name="entryNumber" type="xs:string"/>\r
-    <xs:element name="entryReason" type="xs:string"/>\r
-    <xs:element name="packingNote" type="xs:string"/>\r
-    <xs:element name="returnDate" type="xs:date"/>\r
-    \r
-    <!--  Object Collection Information Group -->\r
-    <xs:element name="fieldCollectionDate" type="xs:date"/>\r
-    <xs:element name="fieldCollectionMethods">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="fieldCollectionMethod" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <xs:element name="fieldCollectionNote" type="xs:string"/>\r
-    <xs:element name="fieldCollectionNumber" type="xs:string"/>\r
-    <xs:element name="fieldCollectionPlace" type="xs:string"/>\r
-    <xs:element name="fieldCollectionSources">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="fieldCollectionSource" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <xs:element name="fieldCollectors">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="fieldCollector" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <!-- FIXME [1.0 alpha] Make fieldCollectionEventName a repeatable scalar field. DONE -->\r
-    <xs:element name="fieldCollectionEventNames">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="fieldCollectionEventName" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-\r
-    <!-- Valuation Information Group -->\r
-    <xs:element name="valuationReferenceNumber" type="xs:string"/>\r
-    <xs:element name="valuer" type="xs:string"/>\r
-\r
-    <!-- Insurance Information Group -->\r
-    <xs:element name="insuranceNote" type="xs:string"/>\r
-    <xs:element name="insurancePolicyNumber" type="xs:string"/>\r
-    <xs:element name="insuranceReferenceNumber" type="xs:string"/>\r
-    <xs:element name="insuranceRenewalDate" type="xs:date"/>\r
-    <xs:element name="insurers">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="insurer" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    \r
-    <!-- Object Location Information Group -->\r
-\r
-    <xs:element name="currentLocationGroupList" type="currentLocationGroupList"/>\r
-\r
-    <xs:element name="locationDate" type="xs:date"/>\r
-    <xs:element name="normalLocation" type="xs:string"/>\r
-    \r
-    <!-- Condition Check/Technical Assessment Information Group -->\r
-    <xs:element name="conditionCheckDate" type="xs:date"/>\r
-    <xs:element name="conditionCheckMethods">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="conditionCheckMethod" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <xs:element name="conditionCheckNote" type="xs:string"/>\r
-    <xs:element name="conditionCheckReasons">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="conditionCheckReason" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <xs:element name="conditionCheckReferenceNumber" type="xs:string"/>\r
-    <xs:element name="conditionCheckersOrAssessors">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="conditionCheckerOrAssessor" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-\r
-    <xs:complexType name="currentLocationGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="currentLocationGroup" type="currentLocationGroup" minOccurs="0" maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="currentLocationGroup">\r
-        <xs:sequence>\r
-            <xs:element name="currentLocation" type="xs:string"/>\r
-            <xs:element name="currentLocationFitness" type="xs:string"/>\r
-            <xs:element name="currentLocationNote" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-</xs:schema>\r
diff --git a/services/loanin/3rdparty/nuxeo-platform-cs-loanin/src/main/resources/OSGI-INF/README.txt b/services/loanin/3rdparty/nuxeo-platform-cs-loanin/src/main/resources/OSGI-INF/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/loanin/3rdparty/nuxeo-platform-cs-loanin/src/main/resources/OSGI-INF/layouts-contrib.xml b/services/loanin/3rdparty/nuxeo-platform-cs-loanin/src/main/resources/OSGI-INF/layouts-contrib.xml
deleted file mode 100644 (file)
index a237e92..0000000
+++ /dev/null
@@ -1,188 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-layouts-contrib.xml
-
-Layout file for configuring screen layouts in the
-user interface of Nuxeo EP's web application, for
-viewing or editing CollectionSpace records stored
-in the Nuxeo repository,
-
-See the "Nuxeo Book" for an introductory description
-of how to edit this file.  For instance, for Nuxeo EP 5.3:
-http://doc.nuxeo.org/5.3/books/nuxeo-book/html/
-
-$LastChangedRevision: $
-$LastChangedDate: $
--->
-
-<component name="org.collectionspace.loanin.layouts.webapp">
-
-    <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
-               point="layouts">
-
-        <layout name="loanin">
-            <templates>
-                <template mode="any">/layouts/layout_default_template.xhtml</template>
-            </templates>
-            <rows>
-                <row><widget>loanInNumber</widget></row>
-                <row><widget>lenders</widget></row>
-                <row><widget>lendersAuthorizer</widget></row>
-                <row><widget>lendersAuthorizationDate</widget></row>
-                <row><widget>lendersContact</widget></row>
-                <row><widget>loanInConditions</widget></row>
-                <row><widget>loanInDate</widget></row>
-                <row><widget>loanReturnDate</widget></row>
-                <row><widget>loanRenewalApplicationDate</widget></row>
-                <row><widget>loanInNote</widget></row>
-                <row><widget>loanPurpose</widget></row>
-            </rows>
-
-            <widget name="loanInNumber" type="text">
-                <labels>
-                    <label mode="any">loanInNumber</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="loansin_common">loanInNumber</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <!-- FIXME: determine the correct layout for this repeatable / multivalue field -->
-            <widget name="lenders" type="text">
-                <labels>
-                    <label mode="any">lenders</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="loansin_common">lenders</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="lendersAuthorizer" type="text">
-                <labels>
-                    <label mode="any">lendersAuthorizer</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="loansin_common">lendersAuthorizer</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="lendersAuthorizationDate" type="text">
-                <labels>
-                    <label mode="any">lendersAuthorizationDate</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="loansin_common">lendersAuthorizationDate</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="lendersContact" type="text">
-                <labels>
-                    <label mode="any">lendersContact</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="loansin_common">lendersContact</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="loanInConditions" type="text">
-                <labels>
-                    <label mode="any">loanInConditions</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="loansin_common">loanInConditions</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="loanInDate" type="text">
-                <labels>
-                    <label mode="any">loanInDate</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="loansin_common">loanInDate</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="loanReturnDate" type="text">
-                <labels>
-                    <label mode="any">loanReturnDate</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="loansin_common">loanReturnDate</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="loanRenewalApplicationDate" type="text">
-                <labels>
-                    <label mode="any">loanRenewalApplicationDate</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="loansin_common">loanRenewalApplicationDate</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="loanInNote" type="text">
-                <labels>
-                    <label mode="any">loanInNote</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="loansin_common">loanInNote</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="loanPurpose" type="text">
-                <labels>
-                    <label mode="any">loanPurpose</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="loansin_common">loanPurpose</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-        </layout>
-    </extension>
-</component>
diff --git a/services/loanin/3rdparty/nuxeo-platform-cs-loanin/src/main/resources/schemas/README.txt b/services/loanin/3rdparty/nuxeo-platform-cs-loanin/src/main/resources/schemas/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/loanin/3rdparty/nuxeo-platform-cs-loanin/src/main/resources/schemas/loansin_common.xsd b/services/loanin/3rdparty/nuxeo-platform-cs-loanin/src/main/resources/schemas/loansin_common.xsd
deleted file mode 100644 (file)
index cbbecf1..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
-\r
-<!--\r
-    Loan In schema (XSD)\r
-    \r
-    Entity  : Loanin\r
-    Part    : Common\r
-    Used for: Nuxeo EP core document type\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/loanin/"\r
-    xmlns="http://collectionspace.org/loanin/"\r
-    targetNamespace="http://collectionspace.org/loanin/"\r
-    version="0.1">\r
-    \r
-    <!-- See http://wiki.collectionspace.org/display/collectionspace/Loans+In+Schema -->\r
-\r
-    <!--  Loan In Information Group -->\r
-    <xs:element name="loanInNumber" type="xs:string"/>\r
-    <xs:element name="lenderGroupList" type="lenderGroupList"/>\r
-    <xs:element name="borrowersContact" type="xs:string"/>\r
-    <xs:element name="borrowersAuthorizer" type="xs:string"/>\r
-    <xs:element name="borrowersAuthorizationDate" type="xs:date"/>\r
-    <xs:element name="loanInConditions" type="xs:string"/>\r
-    <xs:element name="loanInDate" type="xs:date"/>\r
-    <xs:element name="loanReturnDate" type="xs:date"/>\r
-    <xs:element name="loanRenewalApplicationDate" type="xs:date"/>\r
-    <xs:element name="loanInNote" type="xs:string"/>\r
-    <xs:element name="loanPurpose" type="xs:string"/>\r
-    <xs:element name="loanStatusGroupList" type="loanStatusGroupList"/>\r
-\r
-    <xs:complexType name="lenderGroupList">\r
-       <xs:sequence>\r
-           <xs:element name="lenderGroup" type="lenderGroup" minOccurs="0"\r
-                   maxOccurs="unbounded"/>\r
-       </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="lenderGroup">\r
-       <xs:sequence>\r
-           <xs:element name="lender" type="xs:string"/>\r
-           <xs:element name="lendersAuthorizer" type="xs:string"/>\r
-           <xs:element name="lendersAuthorizationDate" type="xs:date"/>\r
-           <xs:element name="lendersContact" type="xs:string"/>\r
-       </xs:sequence>\r
-    </xs:complexType>\r
-    \r
-    <xs:complexType name="loanStatusGroupList">\r
-       <xs:sequence>\r
-           <xs:element name="loanStatusGroup" type="loanStatusGroup" minOccurs="0"\r
-                   maxOccurs="unbounded"/>\r
-       </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="loanStatusGroup">\r
-       <xs:sequence>\r
-           <xs:element name="loanStatus" type="xs:string"/>\r
-           <xs:element name="loanStatusDate" type="xs:date"/>\r
-           <xs:element name="loanStatusNote" type="xs:string"/>\r
-       </xs:sequence>\r
-    </xs:complexType>\r
-\r
-</xs:schema>\r
diff --git a/services/loanout/3rdparty/nuxeo-platform-cs-loanout/src/main/resources/OSGI-INF/README.txt b/services/loanout/3rdparty/nuxeo-platform-cs-loanout/src/main/resources/OSGI-INF/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/loanout/3rdparty/nuxeo-platform-cs-loanout/src/main/resources/OSGI-INF/layouts-contrib.xml b/services/loanout/3rdparty/nuxeo-platform-cs-loanout/src/main/resources/OSGI-INF/layouts-contrib.xml
deleted file mode 100644 (file)
index b8405c1..0000000
+++ /dev/null
@@ -1,212 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-layouts-contrib.xml
-
-Layout file for configuring screen layouts in the
-user interface of Nuxeo EP's web application, for
-viewing or editing CollectionSpace records stored
-in the Nuxeo repository,
-
-See the "Nuxeo Book" for an introductory description
-of how to edit this file.  For instance, for Nuxeo EP 5.3:
-http://doc.nuxeo.org/5.3/books/nuxeo-book/html/
-
-$LastChangedRevision: $
-$LastChangedDate: $
--->
-
-<component name="org.collectionspace.loanout.layouts.webapp">
-
-    <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
-               point="layouts">
-
-        <layout name="loanout">
-            <templates>
-                <template mode="any">/layouts/layout_default_template.xhtml</template>
-            </templates>       
-            
-            <rows>
-                <row><widget>loanOutNumber</widget></row>
-                <row><widget>borrower</widget></row>
-                <row><widget>borrowersContact</widget></row>
-                <row><widget>lendersAuthorizer</widget></row>
-                <row><widget>lendersAuthorizationDate</widget></row>
-                <row><widget>lendersContact</widget></row>
-                
-                <!--
-                     Omitting loaned object status fields in release 0.5.2,
-                     as these are likely to be repeatable or else handled
-                     in some alternate way in release 0.7.
-                -->
-                <!-- <row><widget>loanedObjectStatus</widget></row> -->
-                <!-- <row><widget>loanedObjectStatusDate</widget></row> -->
-                <!-- <row><widget>loanedObjectStatusNote</widget></row> -->
-                
-                <row><widget>loanOutDate</widget></row>
-                <row><widget>loanReturnDate</widget></row>
-                <row><widget>loanRenewalApplicationDate</widget></row>
-                <row><widget>specialConditionsOfLoan</widget></row>
-                <row><widget>loanOutNote</widget></row>
-                <row><widget>loanPurpose</widget></row>
-            </rows>
-
-            <widget name="loanOutNumber" type="text">
-                <labels>
-                    <label mode="any">loanOutNumber</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="loansout_common">loanOutNumber</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="borrower" type="text">
-                <labels>
-                    <label mode="any">borrower</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="loansout_common">borrower</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-            
-            <widget name="borrowersContact" type="text">
-                <labels>
-                    <label mode="any">borrowersContact</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="loansout_common">borrowersContact</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="lendersAuthorizer" type="text">
-                <labels>
-                    <label mode="any">lendersAuthorizer</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="loansout_common">lendersAuthorizer</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="lendersAuthorizationDate" type="text">
-                <labels>
-                    <label mode="any">lendersAuthorizationDate</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="loansout_common">lendersAuthorizationDate</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="lendersContact" type="text">
-                <labels>
-                    <label mode="any">lendersContact</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="loansout_common">lendersContact</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="loanOutDate" type="text">
-                <labels>
-                    <label mode="any">loanOutDate</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="loansout_common">loanOutDate</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="loanReturnDate" type="text">
-                <labels>
-                    <label mode="any">loanReturnDate</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="loansout_common">loanReturnDate</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="loanRenewalApplicationDate" type="text">
-                <labels>
-                    <label mode="any">loanRenewalApplicationDate</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="loansout_common">loanRenewalApplicationDate</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="specialConditionsOfLoan" type="text">
-                <labels>
-                    <label mode="any">specialConditionsOfLoan</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="loansout_common">specialConditionsOfLoan</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-          </widget>
-
-          <widget name="loanOutNote" type="text">
-                <labels>
-                    <label mode="any">loanOutNote</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="loansout_common">loanOutNote</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="loanPurpose" type="text">
-                <labels>
-                    <label mode="any">loanPurpose</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="loansout_common">loanPurpose</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-        </layout>
-    </extension>
-</component>
diff --git a/services/loanout/3rdparty/nuxeo-platform-cs-loanout/src/main/resources/schemas/README.txt b/services/loanout/3rdparty/nuxeo-platform-cs-loanout/src/main/resources/schemas/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/loanout/3rdparty/nuxeo-platform-cs-loanout/src/main/resources/schemas/loansout_common.xsd b/services/loanout/3rdparty/nuxeo-platform-cs-loanout/src/main/resources/schemas/loansout_common.xsd
deleted file mode 100644 (file)
index beee4fe..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
-\r
-<!--\r
-    Loan Out schema (XSD)\r
-    \r
-    Entity  : Loanout\r
-    Part    : Common\r
-    Used for: Nuxeo EP core document type\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/loanout/"\r
-    xmlns="http://collectionspace.org/loanout/"\r
-    targetNamespace="http://collectionspace.org/loanout/"\r
-    version="0.1">\r
-    \r
-    <!-- See http://wiki.collectionspace.org/display/collectionspace/Loans+Out+Schema -->\r
-\r
-    <!--  Loan Out Information Group -->\r
-    <xs:element name="loanOutNumber" type="xs:string"/>\r
-    <xs:element name="borrower" type="xs:string"/>\r
-    <xs:element name="borrowersAuthorizer" type="xs:string"/>\r
-    <xs:element name="borrowersAuthorizationDate" type="xs:date"/>\r
-    <xs:element name="borrowersContact" type="xs:string"/>\r
-    <xs:element name="lendersAuthorizer" type="xs:string"/>\r
-    <xs:element name="lendersAuthorizationDate" type="xs:date"/>\r
-    <xs:element name="lendersContact" type="xs:string"/>\r
-\r
-    <xs:element name="loanStatusGroupList" type="loanStatusGroupList"/>\r
-    \r
-    <xs:element name="loanOutDate" type="xs:date"/>\r
-    <xs:element name="loanReturnDate" type="xs:date"/>\r
-    <xs:element name="loanRenewalApplicationDate" type="xs:date"/>\r
-    <xs:element name="specialConditionsOfLoan" type="xs:string"/>\r
-    <xs:element name="loanOutNote" type="xs:string"/>\r
-    <xs:element name="loanPurpose" type="xs:string"/>\r
-\r
-    <xs:complexType name="loanStatusGroupList">\r
-        <xs:sequence>\r
-            <xs:element name="loanStatusGroup" type="loanStatusGroup" minOccurs="0" maxOccurs="unbounded"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-\r
-    <xs:complexType name="loanStatusGroup">\r
-        <xs:sequence>\r
-            <xs:element name="loanStatus" type="xs:string"/>\r
-            <xs:element name="loanStatusDate" type="xs:date"/>\r
-            <xs:element name="loanStatusNote" type="xs:string"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-    \r
-</xs:schema>\r
diff --git a/services/location/3rdparty/nuxeo-platform-cs-location/src/main/resources/META-INF/MANIFEST.MF b/services/location/3rdparty/nuxeo-platform-cs-location/src/main/resources/META-INF/MANIFEST.MF
deleted file mode 100644 (file)
index 7cebc7f..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-Manifest-Version: 1.0 \r
-Bundle-ManifestVersion: 1 \r
-Bundle-Name: NuxeoCS\r
-Bundle-SymbolicName: org.collectionspace.location;singleton:=true \r
-Bundle-Version: 1.0.0\r
-Bundle-Localization: plugin\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.core.api,\r
- org.nuxeo.ecm.platform.types.api,\r
- org.nuxeo.ecm.platform.versioning.api,\r
- org.nuxeo.ecm.platform.ui,\r
- org.nuxeo.ecm.platform.forms.layout.client,\r
- org.nuxeo.ecm.platform.ws,\r
- org.collectionspace.collectionspace_core\r
-Provide-Package: org.collectionspace.location\r
-Nuxeo-Component: OSGI-INF/core-types-contrib.xml,\r
- OSGI-INF/life-cycle-contrib.xml,\r
- OSGI-INF/ecm-types-contrib.xml,\r
- OSGI-INF/layouts-contrib.xml\r
-\r
diff --git a/services/location/3rdparty/nuxeo-platform-cs-location/src/main/resources/META-INF/README.txt b/services/location/3rdparty/nuxeo-platform-cs-location/src/main/resources/META-INF/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/location/3rdparty/nuxeo-platform-cs-location/src/main/resources/OSGI-INF/README.txt b/services/location/3rdparty/nuxeo-platform-cs-location/src/main/resources/OSGI-INF/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/location/3rdparty/nuxeo-platform-cs-location/src/main/resources/OSGI-INF/core-types-contrib.xml b/services/location/3rdparty/nuxeo-platform-cs-location/src/main/resources/OSGI-INF/core-types-contrib.xml
deleted file mode 100644 (file)
index 0ce87c9..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.location.coreTypes">
-    <extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
-        <schema name="locationauthorities_common" prefix="locationauthorities_common" src="schemas/locationauthorities_common.xsd"/>
-    </extension>
-    <extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
-        <schema name="locations_common" prefix="locations_common" src="schemas/locations_common.xsd"/>
-    </extension>
-    <extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">
-        <doctype name="Locationauthority" extends="Document">
-            <schema name="common"/>
-            <schema name="collectionspace_core"/>
-            <schema name="dublincore"/>
-            <schema name="locationauthorities_common"/>
-        </doctype>
-    </extension>
-    <extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">
-        <doctype name="Locationitem" extends="Document">
-            <schema name="common"/>
-            <schema name="collectionspace_core"/>
-            <schema name="dublincore"/>
-            <schema name="locations_common"/>
-            <prefetch>
-                locations_common:locTermGroupList/0/termDisplayName
-                locations_common:refName
-                locations_common:shortIdentifier
-            </prefetch>
-        </doctype>
-    </extension>
-</component>
diff --git a/services/location/3rdparty/nuxeo-platform-cs-location/src/main/resources/OSGI-INF/deployment-fragment.xml b/services/location/3rdparty/nuxeo-platform-cs-location/src/main/resources/OSGI-INF/deployment-fragment.xml
deleted file mode 100644 (file)
index 270abbd..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0"?>
-<fragment>
-
-  <extension target="application#MODULE">
-    <module>
-      <java>${bundle.fileName}</java>
-    </module>
-  </extension>
-  
-</fragment>
diff --git a/services/location/3rdparty/nuxeo-platform-cs-location/src/main/resources/OSGI-INF/ecm-types-contrib.xml b/services/location/3rdparty/nuxeo-platform-cs-location/src/main/resources/OSGI-INF/ecm-types-contrib.xml
deleted file mode 100644 (file)
index 184cd0a..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.location.ecm.types">
-  <extension target="org.nuxeo.ecm.platform.types.TypeService" point="types">
-    <type id="Locationauthority" coretype="Locationauthority">
-      <label>org.collectionspace.locationauthority</label>
-      <!--icon>/icons/file.gif</icon-->
-      <default-view>view_documents</default-view>
-
-      <layouts mode="any">
-        <layout>heading</layout>
-        <layout>cslocationauthority</layout>
-      </layouts>        
-    </type>
-
-    <type id="Folder" coretype="Folder">
-      <subtypes>
-        <type>Locationauthority</type>
-      </subtypes>
-    </type>
-    
-    <type id="Workspace" coretype="Workspace">
-      <subtypes>
-        <type>Locationauthority</type>
-      </subtypes>
-    </type>
-
-  </extension>
-  <extension target="org.nuxeo.ecm.platform.types.TypeService" point="types">
-    <type id="Locationitem" coretype="Locationitem">
-      <label>org.collectionspace.location</label>
-      <!--icon>/icons/file.gif</icon-->
-      <default-view>view_documents</default-view>
-
-      <layouts mode="any">
-        <layout>heading</layout>
-        <layout>location</layout>
-      </layouts>        
-    </type>
-
-    <type id="Folder" coretype="Folder">
-      <subtypes>
-        <type>Location</type>
-      </subtypes>
-    </type>
-    
-    <type id="Workspace" coretype="Workspace">
-      <subtypes>
-        <type>Location</type>
-      </subtypes>
-    </type>
-
-  </extension>
-</component>
diff --git a/services/location/3rdparty/nuxeo-platform-cs-location/src/main/resources/OSGI-INF/layouts-contrib.xml b/services/location/3rdparty/nuxeo-platform-cs-location/src/main/resources/OSGI-INF/layouts-contrib.xml
deleted file mode 100644 (file)
index a8c915f..0000000
+++ /dev/null
@@ -1,240 +0,0 @@
-<?xml version="1.0"?>
-
-<component name="org.collectionspace.location.layouts.webapp">
-
-       <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
-    point="layouts">
-
-    <layout name="cslocationauthority">
-      <templates>
-        <template mode="any">/layouts/layout_default_template.xhtml</template>
-      </templates>
-      <rows>
-        <row><widget>displayName</widget></row>
-                               <row><widget>shortIdentifier</widget></row>
-        <row><widget>refName</widget></row>
-        <row><widget>vocabType</widget></row>
-      </rows>
-
-      <widget name="displayName" type="text">
-        <labels>
-          <label mode="any">Display Name</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="locationauthorities_common">displayName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="shortIdentifier" type="text">
-        <labels>
-          <label mode="any">Short Identifier</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="locationauthorities_common">shortIdentifier</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="refName" type="text">
-        <labels>
-          <label mode="any">RefName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="locationauthorities_common">refName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="vocabType" type="text">
-        <labels>
-          <label mode="any">Type</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="locationauthorities_common">vocabType</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-    </layout>
-  </extension>
-
-  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
-    point="layouts">
-
-               <layout name="location">
-      <templates>
-        <template mode="any">/layouts/layout_default_template.xhtml</template>
-      </templates>
-      <rows>
-        <row><widget>inAuthority</widget></row>
-                               <row><widget>shortIdentifier</widget></row>
-        <row><widget>refName</widget></row>
-        <row><widget>displayName</widget></row>
-        <row><widget>displayNameComputed</widget></row>
-        <row><widget>name</widget></row>
-        <row><widget>conditionNote</widget></row>
-        <row><widget>conditionNoteDate</widget></row>
-        <row><widget>securityNote</widget></row>
-        <row><widget>locationType</widget></row>
-        <row><widget>status</widget></row>
-      </rows>
-
-      <widget name="inAuthority" type="text">
-        <labels>
-          <label mode="any">inAuthority (LocationAuthority)</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="locations_common">inAuthority</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-
-      <widget name="shortIdentifier" type="text">
-        <labels>
-          <label mode="any">Short Identifier</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="locations_common">shortIdentifier</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="refName" type="text">
-        <labels>
-          <label mode="any">refName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="locations_common">refName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="displayName" type="text">
-        <labels>
-          <label mode="any">displayName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="locationauthorities_common">displayName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-                       <!-- This should be some kind of checkbox or something -->
-      <widget name="displayNameComputed" type="text">
-        <labels>
-          <label mode="any">displayNameComputed</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="locationauthorities_common">displayNameComputed</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="name" type="text">
-        <labels>
-          <label mode="any">name</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="locations_common">name</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="conditionNote" type="text">
-        <labels>
-          <label mode="any">conditionNote</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="locations_common">conditionNote</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="conditionNoteDate" type="text">
-        <labels>
-          <label mode="any">conditionNoteDate</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="locations_common">conditionNoteDate</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="securityNote" type="text">
-        <labels>
-          <label mode="any">securityNote</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="locations_common">securityNote</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="locationType" type="text">
-        <labels>
-          <label mode="any">locationType</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="locations_common">locationType</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="status" type="text">
-        <labels>
-          <label mode="any">status</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="locations_common">status</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-    </layout>
-  </extension>
-</component>
diff --git a/services/location/3rdparty/nuxeo-platform-cs-location/src/main/resources/OSGI-INF/life-cycle-contrib.xml b/services/location/3rdparty/nuxeo-platform-cs-location/src/main/resources/OSGI-INF/life-cycle-contrib.xml
deleted file mode 100644 (file)
index fb5788f..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.ecm.platform.location.LifeCycleManagerExtensions">
-
-  <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
-             point="types">
-    <types>
-      <type name="Locationauthority">${Lifecycle}</type>
-      <type name="Locationitem">${Lifecycle}</type>
-    </types>
-  </extension>
-
-</component>
diff --git a/services/location/3rdparty/nuxeo-platform-cs-location/src/main/resources/schemas/README.txt b/services/location/3rdparty/nuxeo-platform-cs-location/src/main/resources/schemas/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/location/3rdparty/nuxeo-platform-cs-location/src/main/resources/schemas/locationauthorities_common.xsd b/services/location/3rdparty/nuxeo-platform-cs-location/src/main/resources/schemas/locationauthorities_common.xsd
deleted file mode 100644 (file)
index ab5c288..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-
-<!--
-    LocationAuthority schema (XSD)
-    
-    Entity  : LocationAuthority
-    Part    : Common
-    Used for: Nuxeo EP core document type
-    
-    $LastChangedRevision: 928 $
-    $LastChangedDate: 2009-11-10 12:25:58 -0800 (Tue, 10 Nov 2009) $
--->
-
-<xs:schema 
-  xmlns:xs="http://www.w3.org/2001/XMLSchema"
-  xmlns:ns="http://collectionspace.org/services/location"
-  xmlns="http://collectionspace.org/services/location"
-  targetNamespace="http://collectionspace.org/services/location"
-  version="0.1"
->
-
-<!-- Flattened version of jaxb schema for nuxeo -->
-<!-- See http://wiki.collectionspace.org/display/collectionspace/Location+Service+Home -->    
-
-               <!--  LocationAuthority Information Group -->
-               <xs:element name="displayName" type="xs:string"/>
-               <xs:element name="shortIdentifier" type="xs:string"/>
-               <xs:element name="refName" type="xs:string"/>
-               <xs:element name="vocabType" type="xs:string"/>
-               <xs:element name="source" type="xs:string"/>
-               <xs:element name="description" type="xs:string"/>
-
-</xs:schema>
-
diff --git a/services/location/3rdparty/nuxeo-platform-cs-location/src/main/resources/schemas/locations_common.xsd b/services/location/3rdparty/nuxeo-platform-cs-location/src/main/resources/schemas/locations_common.xsd
deleted file mode 100644 (file)
index 09d3c65..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-
-<!--
-    Location schema (XSD)
-    
-    Entity  : Location
-    Part    : Common
-    Used for: Nuxeo EP core document type
--->
-
-<xs:schema 
-    xmlns:xs="http://www.w3.org/2001/XMLSchema"
-    xmlns:ns="http://collectionspace.org/services/location"
-    xmlns="http://collectionspace.org/services/location"
-    targetNamespace="http://collectionspace.org/services/location"
-    version="0.1"
->
-<!-- See http://wiki.collectionspace.org/display/collectionspace/Location+Service+Home -->    
-
-    <!--  Location Information Group -->
-    <!--  inAuthority is the csid of the owning LocationAuthority -->
-    <xs:element name="inAuthority" type="xs:string" />
-    <xs:element name="shortIdentifier" type="xs:string"/>
-    <xs:element name="refName" type="xs:string"/>
-    
-    <!-- Term Information repeatable group -->
-    <xs:element name="locTermGroupList" type="locTermGroupList"/>
-                
-    <xs:element name="accessNote" type="xs:string"/>
-    <xs:element name="address" type="xs:string"/>
-    <xs:element name="conditionGroupList" type="conditionGroupList"/>
-    <xs:element name="securityNote" type="xs:string"/>
-    <xs:element name="locationType" type="xs:string"/>
-
-    <xs:complexType name="conditionGroupList">
-        <xs:sequence>
-            <xs:element name="conditionGroup" type="conditionGroup" minOccurs="0" maxOccurs="unbounded"/>
-        </xs:sequence>
-    </xs:complexType>
-
-    <xs:complexType name="conditionGroup">
-        <xs:sequence>
-            <xs:element name="conditionNote" type="xs:string"/>
-            <xs:element name="conditionNoteDate" type="xs:date"/>
-        </xs:sequence>
-    </xs:complexType>
-    
-        <xs:complexType name="locTermGroupList">
-        <xs:sequence>
-            <xs:element name="locTermGroup" type="locTermGroup" minOccurs="0" maxOccurs="unbounded"/>
-        </xs:sequence>
-    </xs:complexType>
-
-    <xs:complexType name="locTermGroup">
-        <xs:sequence>
-            <!-- Common across all authority item terms -->
-            <xs:element name="termDisplayName" type="xs:string"/>
-            <xs:element name="termFormattedDisplayName" type="xs:string"/>
-            <xs:element name="termName" type="xs:string"/>
-            <xs:element name="termType" type="xs:string"/>
-            <xs:element name="termStatus" type="xs:string"/>
-            <xs:element name="termQualifier" type="xs:string"/>
-            <xs:element name="termLanguage" type="xs:string"/>
-            <xs:element name="termPrefForLang" type="xs:boolean"/>
-            <xs:element name="termSource" type="xs:string"/>
-            <xs:element name="termSourceDetail" type="xs:string"/>
-            <xs:element name="termSourceID" type="xs:string"/>
-            <xs:element name="termSourceNote" type="xs:string"/>
-            <!-- Specific to Storage Location terms -->
-            <!-- (None at present) -->
-        </xs:sequence>
-    </xs:complexType>
-    
-</xs:schema>
-
diff --git a/services/media/3rdparty/nuxeo-platform-cs-media/src/main/resources/OSGI-INF/README.txt b/services/media/3rdparty/nuxeo-platform-cs-media/src/main/resources/OSGI-INF/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/media/3rdparty/nuxeo-platform-cs-media/src/main/resources/OSGI-INF/layouts-contrib.xml b/services/media/3rdparty/nuxeo-platform-cs-media/src/main/resources/OSGI-INF/layouts-contrib.xml
deleted file mode 100644 (file)
index a9aecba..0000000
+++ /dev/null
@@ -1,212 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-layouts-contrib.xml
-
-Layout file for configuring screen layouts in the
-user interface of Nuxeo EP's web application, for
-viewing or editing CollectionSpace records stored
-in the Nuxeo repository,
-
-See the "Nuxeo Book" for an introductory description
-of how to edit this file.  For instance, for Nuxeo EP 5.3:
-http://doc.nuxeo.org/5.3/books/nuxeo-book/html/
-
-$LastChangedRevision: $
-$LastChangedDate: $
--->
-
-<component name="org.collectionspace.media.layouts.webapp">
-
-    <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
-               point="layouts">
-
-        <layout name="media">
-            <templates>
-                <template mode="any">/layouts/layout_default_template.xhtml</template>
-            </templates>       
-            
-            <rows>
-                <row><widget>mediaNumber</widget></row>
-                <row><widget>borrower</widget></row>
-                <row><widget>borrowersContact</widget></row>
-                <row><widget>lendersAuthorizer</widget></row>
-                <row><widget>lendersAuthorizationDate</widget></row>
-                <row><widget>lendersContact</widget></row>
-                
-                <!--
-                     Omitting loaned object status fields in release 0.5.2,
-                     as these are likely to be repeatable or else handled
-                     in some alternate way in release 0.7.
-                -->
-                <!-- <row><widget>loanedObjectStatus</widget></row> -->
-                <!-- <row><widget>loanedObjectStatusDate</widget></row> -->
-                <!-- <row><widget>loanedObjectStatusNote</widget></row> -->
-                
-                <row><widget>mediaDate</widget></row>
-                <row><widget>loanReturnDate</widget></row>
-                <row><widget>loanRenewalApplicationDate</widget></row>
-                <row><widget>specialConditionsOfLoan</widget></row>
-                <row><widget>mediaNote</widget></row>
-                <row><widget>loanPurpose</widget></row>
-            </rows>
-
-            <widget name="mediaNumber" type="text">
-                <labels>
-                    <label mode="any">mediaNumber</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="media_common">mediaNumber</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="borrower" type="text">
-                <labels>
-                    <label mode="any">borrower</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="media_common">borrower</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-            
-            <widget name="borrowersContact" type="text">
-                <labels>
-                    <label mode="any">borrowersContact</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="media_common">borrowersContact</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="lendersAuthorizer" type="text">
-                <labels>
-                    <label mode="any">lendersAuthorizer</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="media_common">lendersAuthorizer</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="lendersAuthorizationDate" type="text">
-                <labels>
-                    <label mode="any">lendersAuthorizationDate</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="media_common">lendersAuthorizationDate</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="lendersContact" type="text">
-                <labels>
-                    <label mode="any">lendersContact</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="media_common">lendersContact</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="mediaDate" type="text">
-                <labels>
-                    <label mode="any">mediaDate</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="media_common">mediaDate</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="loanReturnDate" type="text">
-                <labels>
-                    <label mode="any">loanReturnDate</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="media_common">loanReturnDate</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="loanRenewalApplicationDate" type="text">
-                <labels>
-                    <label mode="any">loanRenewalApplicationDate</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="media_common">loanRenewalApplicationDate</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="specialConditionsOfLoan" type="text">
-                <labels>
-                    <label mode="any">specialConditionsOfLoan</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="media_common">specialConditionsOfLoan</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-          </widget>
-
-          <widget name="mediaNote" type="text">
-                <labels>
-                    <label mode="any">mediaNote</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="media_common">mediaNote</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="loanPurpose" type="text">
-                <labels>
-                    <label mode="any">loanPurpose</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="media_common">loanPurpose</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-        </layout>
-    </extension>
-</component>
diff --git a/services/media/3rdparty/nuxeo-platform-cs-media/src/main/resources/schemas/README.txt b/services/media/3rdparty/nuxeo-platform-cs-media/src/main/resources/schemas/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/media/3rdparty/nuxeo-platform-cs-media/src/main/resources/schemas/media_common.xsd b/services/media/3rdparty/nuxeo-platform-cs-media/src/main/resources/schemas/media_common.xsd
deleted file mode 100644 (file)
index 1c82e6d..0000000
+++ /dev/null
@@ -1,145 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-
-<!--
-    Media schema (XSD)
-    
-    Entity  : Media
-    Part    : Common
-    Used for: Nuxeo EP core document type
-
-    $LastChangedRevision: 2316 $
-    $LastChangedDate: 2010-06-02 16:03:51 -0700 (Wed, 02 Jun 2010) $
--->
-
-<xs:schema 
-    xmlns:xs="http://www.w3.org/2001/XMLSchema"
-    xmlns:ns="http://collectionspace.org/media/"
-    xmlns="http://collectionspace.org/media/"
-    targetNamespace="http://collectionspace.org/media/"
-    version="0.1">
-    
-    <!-- See http://wiki.collectionspace.org/display/collectionspace/Media+Handling+Schema -->
-
-    <!--  Media Information Group -->
-
-    <xs:element name="contributor" type="xs:string"/>
-    <xs:element name="copyrightStatement" type="xs:string"/>
-    <xs:element name="coverage" type="xs:string"/>
-    <xs:element name="creator" type="xs:string"/>
-    <!-- CSPACE-3937 The following field changed from dateList to make it a repeatable structured date -->
-    <xs:element name="dateGroupList" type="dateGroupList"/>
-    <xs:complexType name="dateGroupList">
-        <xs:sequence>
-            <xs:element name="dateGroup" type="dateGroup" minOccurs="0" maxOccurs="unbounded"/>
-        </xs:sequence>
-    </xs:complexType>
-    <xs:complexType name="dateGroup">
-        <xs:sequence>
-            <xs:element name="dateDisplayDate" type="xs:string"/>
-            <xs:element name="dateAssociation" type="xs:string"/>
-            <xs:element name="dateEarliestSingleYear" type="xs:integer"/>
-            <xs:element name="dateEarliestSingleMonth" type="xs:integer"/>
-            <xs:element name="dateEarliestSingleDay" type="xs:integer"/>
-            <xs:element name="dateEarliestSingleEra" type="xs:string"/>
-            <xs:element name="dateEarliestSingleCertainty" type="xs:string"/>
-            <xs:element name="dateEarliestSingleQualifier" type="xs:string"/>
-            <xs:element name="dateEarliestSingleQualifierValue" type="xs:integer"/>
-            <xs:element name="dateEarliestSingleQualifierUnit" type="xs:string"/>
-            <xs:element name="dateLatestYear" type="xs:integer"/>
-            <xs:element name="dateLatestMonth" type="xs:integer"/>
-            <xs:element name="dateLatestDay" type="xs:integer"/>
-            <xs:element name="dateLatestEra" type="xs:string"/>
-            <xs:element name="dateLatestCertainty" type="xs:string"/>
-            <xs:element name="dateLatestQualifier" type="xs:string"/>
-            <xs:element name="dateLatestQualifierValue" type="xs:integer"/>
-            <xs:element name="dateLatestQualifierUnit" type="xs:string"/>
-            <xs:element name="datePeriod" type="xs:string"/>
-            <xs:element name="dateNote" type="xs:string"/>
-            <xs:element name="dateEarliestScalarValue" type="xs:date"/>
-            <xs:element name="dateLatestScalarValue" type="xs:date"/>
-            <xs:element name="scalarValuesComputed" type="xs:boolean"/>
-        </xs:sequence>
-    </xs:complexType>
-
-    <xs:element name="dateCreated" type="xs:string"/>
-    <xs:element name="dateModified" type="xs:string"/>
-    <xs:element name="description" type="xs:string"/>
-
-     <!-- Changed name of next field from dimensionGroupList (type="dimensionGroupList") in v1.13 when adding repeatable sub group -->
-    <xs:element name="measuredPartGroupList" type="measuredPartGroupList"/>
-    <xs:element name="filename" type="xs:string"/>
-    <xs:element name="format" type="xs:string"/>
-    <xs:element name="identificationNumber" type="xs:string"/>
-    <xs:element name="languageList">
-        <xs:complexType>
-            <xs:sequence>
-                <xs:element name="language" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
-            </xs:sequence>
-        </xs:complexType>
-    </xs:element>
-    <xs:element name="location" type="xs:string"/>
-    <xs:element name="publisher" type="xs:string"/>
-    <xs:element name="relationList">
-        <xs:complexType>
-            <xs:sequence>
-                <xs:element name="relation" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
-            </xs:sequence>
-        </xs:complexType>
-    </xs:element>
-    <xs:element name="rightsHolder" type="xs:string"/>
-    <xs:element name="source" type="xs:string"/>
-    <xs:element name="sourceUrl" type="xs:string"/>
-    <xs:element name="subjectList">
-        <xs:complexType>
-            <xs:sequence>
-                <xs:element name="subject" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
-            </xs:sequence>
-        </xs:complexType>
-    </xs:element>
-    <xs:element name="title" type="xs:string"/>
-    <xs:element name="typeList">
-        <xs:complexType>
-            <xs:sequence>
-                <xs:element name="type" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
-            </xs:sequence>
-        </xs:complexType>
-    </xs:element>
-    <xs:element name="uri" type="xs:string" />
-    <xs:element name="blobCsid" type="xs:string" />
-    <xs:element name="externalUrl" type="xs:string" />
-
-    <!-- Changed names, as of v1.13: dimensionGroupList became measuredPartGroupList, dimensionGroup became measuredPartGroup. -->
-    <xs:complexType name="measuredPartGroupList">
-        <xs:sequence>
-            <xs:element name="measuredPartGroup" type="measuredPartGroup" minOccurs="0"
-                maxOccurs="unbounded"/>
-        </xs:sequence>
-    </xs:complexType>
-    <xs:complexType name="measuredPartGroup">
-        <xs:sequence>
-            <xs:element name="measuredPart" type="xs:string"/>
-            <xs:element name="dimensionSummary" type="xs:string"/>
-            <xs:element name="dimensionSubGroupList" type="dimensionSubGroupList"/>
-        </xs:sequence>
-    </xs:complexType>
-
-    <xs:complexType name="dimensionSubGroupList">
-        <xs:sequence>
-            <xs:element name="dimensionSubGroup" type="dimensionSubGroup" minOccurs="0" maxOccurs="unbounded" />
-        </xs:sequence>
-    </xs:complexType>
-
-    <xs:complexType name="dimensionSubGroup">
-        <xs:sequence>
-            <xs:element name="dimension" type="xs:string"/>
-            <xs:element name="measuredBy" type="xs:string"/>
-            <xs:element name="measurementUnit" type="xs:string"/>
-            <xs:element name="measurementMethod" type="xs:string"/>
-            <xs:element name="value" type="xs:decimal"/>
-            <xs:element name="valueDate" type="xs:date"/>
-            <xs:element name="valueQualifier" type="xs:string"/>
-            <xs:element name="dimensionNote" type="xs:string"/>
-        </xs:sequence>
-    </xs:complexType>
-
-</xs:schema>
diff --git a/services/movement/3rdparty/nuxeo-platform-cs-movement/src/main/resources/OSGI-INF/README.txt b/services/movement/3rdparty/nuxeo-platform-cs-movement/src/main/resources/OSGI-INF/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/movement/3rdparty/nuxeo-platform-cs-movement/src/main/resources/OSGI-INF/layouts-contrib.xml b/services/movement/3rdparty/nuxeo-platform-cs-movement/src/main/resources/OSGI-INF/layouts-contrib.xml
deleted file mode 100644 (file)
index a560328..0000000
+++ /dev/null
@@ -1,196 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-layouts-contrib.xml
-
-Layout file for configuring screen layouts in the
-user interface of Nuxeo EP's web application, for
-viewing or editing CollectionSpace records stored
-in the Nuxeo repository,
-
-See the "Nuxeo Book" for an introductory description
-of how to edit this file.  For instance, for Nuxeo EP 5.3:
-http://doc.nuxeo.org/5.3/books/nuxeo-book/html/
-
-$LastChangedRevision: $
-$LastChangedDate: $
--->
-
-<component name="org.collectionspace.movement.layouts.webapp">
-
-    <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
-               point="layouts">
-
-        <layout name="movement">
-            <templates>
-                <template mode="any">/layouts/layout_default_template.xhtml</template>
-            </templates>
-            
-            <rows>
-                <row><widget>currentLocation</widget></row>
-                <row><widget>currentLocationFitness</widget></row>
-                <row><widget>currentLocationNote</widget></row>
-                <row><widget>locationDate</widget></row>
-                <row><widget>normalLocation</widget></row>
-                <row><widget>movementContact</widget></row>
-                <!-- FIXME: Add movementMethods when we determine how to add -->
-                <!-- repeatable fields to Nuxeo layouts -->
-                <row><widget>movementNote</widget></row>
-                <row><widget>movementReferenceNumber</widget></row>
-                <row><widget>plannedRemovalDate</widget></row>
-                <row><widget>removalDate</widget></row>
-                <row><widget>reasonForMove</widget></row>
-            </rows>
-
-            <widget name="currentLocation" type="text">
-                <labels>
-                    <label mode="any">currentLocation</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="movements_common">currentLocation</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-            
-            <widget name="currentLocationFitness" type="text">
-                <labels>
-                    <label mode="any">currentLocationFitness</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="movements_common">currentLocationFitness</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-            
-            <widget name="currentLocationNote" type="text">
-                <labels>
-                    <label mode="any">currentLocationNote</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="movements_common">currentLocationNote</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-            
-            <widget name="locationDate" type="datetime">
-                <labels>
-                    <label mode="any">locationDate</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="movements_common">locationDate</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <!-- Note spelling of "Formater" in method name. -->
-                    <property name="pattern">#{nxu:basicDateAndTimeFormater()}</property>
-                </properties>
-            </widget>
-            
-            <widget name="normalLocation" type="text">
-                <labels>
-                    <label mode="any">normalLocation</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="movements_common">normalLocation</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-            
-            <widget name="movementContact" type="text">
-                <labels>
-                    <label mode="any">movementContact</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="movements_common">movementContact</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-            
-            <!-- FIXME: Add movementMethods when we determine how to add -->
-            <!-- repeatable fields to Nuxeo layouts -->
-            
-            <widget name="movementNote" type="text">
-                <labels>
-                    <label mode="any">movementNote</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="movements_common">movementNote</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-            
-            <widget name="movementReferenceNumber" type="text">
-                <labels>
-                    <label mode="any">movementReferenceNumber</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="movements_common">movementReferenceNumber</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-            
-            <widget name="plannedRemovalDate" type="datetime">
-                <labels>
-                    <label mode="any">plannedRemovalDate</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="movements_common">plannedRemovalDate</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <!-- Note spelling of "Formater" in method name. -->
-                    <property name="pattern">#{nxu:basicDateAndTimeFormater()}</property>
-                </properties>
-            </widget>
-            
-            <widget name="removalDate" type="datetime">
-                <labels>
-                    <label mode="any">removalDate</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="movements_common">removalDate</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <!-- Note spelling of "Formater" in method name. -->
-                    <property name="pattern">#{nxu:basicDateAndTimeFormater()}</property>
-                </properties>
-            </widget>
-            
-            <widget name="reasonForMove" type="text">
-                <labels>
-                    <label mode="any">reasonForMove</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="movements_common">reasonForMove</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-        </layout>
-    </extension>
-</component>
diff --git a/services/movement/3rdparty/nuxeo-platform-cs-movement/src/main/resources/schemas/README.txt b/services/movement/3rdparty/nuxeo-platform-cs-movement/src/main/resources/schemas/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/movement/3rdparty/nuxeo-platform-cs-movement/src/main/resources/schemas/movements_common.xsd b/services/movement/3rdparty/nuxeo-platform-cs-movement/src/main/resources/schemas/movements_common.xsd
deleted file mode 100644 (file)
index 80a03a6..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
-\r
-<!--\r
-    Movement schema (XSD)\r
-    \r
-    Entity  : Movement\r
-    Part    : Common\r
-    Used for: Nuxeo EP core document type\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/movement/"\r
-    xmlns="http://collectionspace.org/movement/"\r
-    targetNamespace="http://collectionspace.org/movement/"\r
-    version="0.1">\r
-    \r
-    <!-- See http://wiki.collectionspace.org/display/collectionspace/Location+and+Movement+Control+Schema -->\r
-    \r
-    <!--  Object Location Information Group -->\r
-    <xs:element name="currentLocation" type="xs:string"/>\r
-    <xs:element name="currentLocationFitness" type="xs:string"/>\r
-    <xs:element name="currentLocationNote" type="xs:string"/>\r
-    <xs:element name="locationDate" type="xs:date"/>\r
-    <xs:element name="normalLocation" type="xs:string"/>\r
-    \r
-    <!--  Movement Information Group -->\r
-    <xs:element name="movementContact" type="xs:string"/>\r
-    <xs:element name="movementMethods">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="movementMethod" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <xs:element name="movementNote" type="xs:string"/>\r
-    <xs:element name="movementReferenceNumber" type="xs:string"/>\r
-    <xs:element name="plannedRemovalDate" type="xs:date"/>\r
-    <xs:element name="removalDate" type="xs:date"/>\r
-    <xs:element name="reasonForMove" type="xs:string"/>\r
-    \r
-    <!-- Inventory Information Group -->\r
-    <xs:element name="inventoryDate" type="xs:date"/>\r
-    <xs:element name="inventoryContactList">\r
-        <xs:complexType>\r
-           <xs:sequence>\r
-               <xs:element name="inventoryContact" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>\r
-           </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <xs:element name="inventoryActionRequired" type="xs:string"/>\r
-    <xs:element name="inventoryNote" type="xs:string"/>\r
-    <xs:element name="frequencyForInventory" type="xs:string"/>\r
-    <xs:element name="nextInventoryDate" type="xs:date"/>\r
-    \r
-</xs:schema>\r
diff --git a/services/objectexit/3rdparty/nuxeo-platform-cs-objectexit/src/main/resources/OSGI-INF/README.txt b/services/objectexit/3rdparty/nuxeo-platform-cs-objectexit/src/main/resources/OSGI-INF/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/objectexit/3rdparty/nuxeo-platform-cs-objectexit/src/main/resources/OSGI-INF/layouts-contrib.xml b/services/objectexit/3rdparty/nuxeo-platform-cs-objectexit/src/main/resources/OSGI-INF/layouts-contrib.xml
deleted file mode 100644 (file)
index 204f680..0000000
+++ /dev/null
@@ -1,212 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-layouts-contrib.xml
-
-Layout file for configuring screen layouts in the
-user interface of Nuxeo EP's web application, for
-viewing or editing CollectionSpace records stored
-in the Nuxeo repository,
-
-See the "Nuxeo Book" for an introductory description
-of how to edit this file.  For instance, for Nuxeo EP 5.3:
-http://doc.nuxeo.org/5.3/books/nuxeo-book/html/
-
-$LastChangedRevision: $
-$LastChangedDate: $
--->
-
-<component name="org.collectionspace.objectexit.layouts.webapp">
-
-    <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
-               point="layouts">
-
-        <layout name="objectexit">
-            <templates>
-                <template mode="any">/layouts/layout_default_template.xhtml</template>
-            </templates>       
-            
-            <rows>
-                <row><widget>objectExitNumber</widget></row>
-                <row><widget>borrower</widget></row>
-                <row><widget>borrowersContact</widget></row>
-                <row><widget>lendersAuthorizer</widget></row>
-                <row><widget>lendersAuthorizationDate</widget></row>
-                <row><widget>lendersContact</widget></row>
-                
-                <!--
-                     Omitting loaned object status fields in release 0.5.2,
-                     as these are likely to be repeatable or else handled
-                     in some alternate way in release 0.7.
-                -->
-                <!-- <row><widget>loanedObjectStatus</widget></row> -->
-                <!-- <row><widget>loanedObjectStatusDate</widget></row> -->
-                <!-- <row><widget>loanedObjectStatusNote</widget></row> -->
-                
-                <row><widget>objectExitDate</widget></row>
-                <row><widget>loanReturnDate</widget></row>
-                <row><widget>loanRenewalApplicationDate</widget></row>
-                <row><widget>specialConditionsOfLoan</widget></row>
-                <row><widget>objectExitNote</widget></row>
-                <row><widget>loanPurpose</widget></row>
-            </rows>
-
-            <widget name="objectExitNumber" type="text">
-                <labels>
-                    <label mode="any">objectExitNumber</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="objectexit_common">objectExitNumber</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="borrower" type="text">
-                <labels>
-                    <label mode="any">borrower</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="objectexit_common">borrower</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-            
-            <widget name="borrowersContact" type="text">
-                <labels>
-                    <label mode="any">borrowersContact</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="objectexit_common">borrowersContact</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="lendersAuthorizer" type="text">
-                <labels>
-                    <label mode="any">lendersAuthorizer</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="objectexit_common">lendersAuthorizer</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="lendersAuthorizationDate" type="text">
-                <labels>
-                    <label mode="any">lendersAuthorizationDate</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="objectexit_common">lendersAuthorizationDate</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="lendersContact" type="text">
-                <labels>
-                    <label mode="any">lendersContact</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="objectexit_common">lendersContact</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="objectExitDate" type="text">
-                <labels>
-                    <label mode="any">objectExitDate</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="objectexit_common">objectExitDate</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="loanReturnDate" type="text">
-                <labels>
-                    <label mode="any">loanReturnDate</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="objectexit_common">loanReturnDate</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="loanRenewalApplicationDate" type="text">
-                <labels>
-                    <label mode="any">loanRenewalApplicationDate</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="objectexit_common">loanRenewalApplicationDate</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="specialConditionsOfLoan" type="text">
-                <labels>
-                    <label mode="any">specialConditionsOfLoan</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="objectexit_common">specialConditionsOfLoan</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-          </widget>
-
-          <widget name="objectExitNote" type="text">
-                <labels>
-                    <label mode="any">objectExitNote</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="objectexit_common">objectExitNote</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-            <widget name="loanPurpose" type="text">
-                <labels>
-                    <label mode="any">loanPurpose</label>
-                </labels>
-                <translated>true</translated>
-                <fields>
-                    <field schema="objectexit_common">loanPurpose</field>
-                </fields>
-                <properties widgetMode="edit">
-                    <property name="styleClass">dataInputText</property>
-                </properties>
-            </widget>
-
-        </layout>
-    </extension>
-</component>
diff --git a/services/objectexit/3rdparty/nuxeo-platform-cs-objectexit/src/main/resources/schemas/README.txt b/services/objectexit/3rdparty/nuxeo-platform-cs-objectexit/src/main/resources/schemas/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/objectexit/3rdparty/nuxeo-platform-cs-objectexit/src/main/resources/schemas/objectexit_common.xsd b/services/objectexit/3rdparty/nuxeo-platform-cs-objectexit/src/main/resources/schemas/objectexit_common.xsd
deleted file mode 100644 (file)
index ba6c9fb..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
-\r
-<!--\r
-    Object Exit schema (XSD)\r
-    \r
-    Entity  : ObjectExit\r
-    Part    : Common\r
-    Used for: Nuxeo EP core document type\r
-\r
-    $LastChangedRevision: 2316 $\r
-    $LastChangedDate: 2010-06-02 16:03:51 -0700 (Wed, 02 Jun 2010) $\r
--->\r
-\r
-<xs:schema \r
-    xmlns:xs="http://www.w3.org/2001/XMLSchema"\r
-    xmlns:ns="http://collectionspace.org/objectexit/"\r
-    xmlns="http://collectionspace.org/objectexit/"\r
-    targetNamespace="http://collectionspace.org/objectexit/"\r
-    version="0.1">\r
-    \r
-    <!-- See http://wiki.collectionspace.org/display/collectionspace/Loans+Out+Schema -->\r
-\r
-    <!--  ObjectExit Information Group -->\r
-    <xs:element name="currentOwner" type="xs:string"/>\r
-    <xs:element name="depositor" type="xs:string"/>\r
-    <xs:element name="exitDateGroup" type="structuredDateGroup"/>\r
-    <xs:element name="exitMethods">\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element name="exitMethod" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-   </xs:element>\r
-    <xs:element name="exitNote" type="xs:string"/>\r
-    <xs:element name="exitNumber" type="xs:string"/>\r
-    <xs:element name="exitReason" type="xs:string"/>\r
-    <xs:element name="packingNote" type="xs:string"/>\r
-    \r
-    <!-- Before (re)using this generic complex type in any record type -->\r
-    <!-- other than CollectionObject, be sure to verify that Nuxeo handles -->\r
-    <!-- that correctly in its table creation/row linking. -->\r
-    <xs:complexType name="structuredDateGroup">\r
-        <xs:sequence>\r
-            <xs:element name="dateDisplayDate" type="xs:string"/>\r
-            <xs:element name="dateAssociation" type="xs:string"/>\r
-            <xs:element name="dateEarliestSingleYear" type="xs:integer"/>\r
-            <xs:element name="dateEarliestSingleMonth" type="xs:integer"/>\r
-            <xs:element name="dateEarliestSingleDay" type="xs:integer"/>\r
-            <xs:element name="dateEarliestSingleEra" type="xs:string"/>\r
-            <xs:element name="dateEarliestSingleCertainty" type="xs:string"/>\r
-            <xs:element name="dateEarliestSingleQualifier" type="xs:string"/>\r
-            <xs:element name="dateEarliestSingleQualifierValue" type="xs:integer"/>\r
-            <xs:element name="dateEarliestSingleQualifierUnit" type="xs:string"/>\r
-            <xs:element name="dateLatestYear" type="xs:integer"/>\r
-            <xs:element name="dateLatestMonth" type="xs:integer"/>\r
-            <xs:element name="dateLatestDay" type="xs:integer"/>\r
-            <xs:element name="dateLatestEra" type="xs:string"/>\r
-            <xs:element name="dateLatestCertainty" type="xs:string"/>\r
-            <xs:element name="dateLatestQualifier" type="xs:string"/>\r
-            <xs:element name="dateLatestQualifierValue" type="xs:integer"/>\r
-            <xs:element name="dateLatestQualifierUnit" type="xs:string"/>\r
-            <xs:element name="datePeriod" type="xs:string"/>\r
-            <xs:element name="dateNote" type="xs:string"/>\r
-            <xs:element name="dateEarliestScalarValue" type="xs:date"/>\r
-            <xs:element name="dateLatestScalarValue" type="xs:date"/>\r
-            <xs:element name="scalarValuesComputed" type="xs:boolean"/>\r
-        </xs:sequence>\r
-    </xs:complexType>\r
-</xs:schema>\r
diff --git a/services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/META-INF/MANIFEST.MF b/services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/META-INF/MANIFEST.MF
deleted file mode 100644 (file)
index af5e888..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-Manifest-Version: 1.0 \r
-Bundle-ManifestVersion: 1 \r
-Bundle-Name: NuxeoCS\r
-Bundle-SymbolicName: org.collectionspace.organization;singleton:=true \r
-Bundle-Version: 1.0.0\r
-Bundle-Localization: plugin\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.core.api,\r
- org.nuxeo.ecm.platform.types.api,\r
- org.nuxeo.ecm.platform.versioning.api,\r
- org.nuxeo.ecm.platform.ui,\r
- org.nuxeo.ecm.platform.forms.layout.client,\r
- org.nuxeo.ecm.platform.ws,\r
- org.collectionspace.collectionspace_core\r
-Provide-Package: org.collectionspace.organization\r
-Nuxeo-Component: OSGI-INF/core-types-contrib.xml,\r
- OSGI-INF/life-cycle-contrib.xml,\r
- OSGI-INF/ecm-types-contrib.xml,\r
- OSGI-INF/layouts-contrib.xml\r
-\r
diff --git a/services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/META-INF/README.txt b/services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/META-INF/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/OSGI-INF/README.txt b/services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/OSGI-INF/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/OSGI-INF/core-types-contrib.xml b/services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/OSGI-INF/core-types-contrib.xml
deleted file mode 100644 (file)
index 150f97d..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.organization.coreTypes">
-    <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"/>
-            <prefetch>
-                organizations_common:orgTermGroupList/0/termDisplayName
-                organizations_common:refName
-                organizations_common:shortIdentifier
-            </prefetch>      
-        </doctype>
-    </extension>
-</component>
diff --git a/services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/OSGI-INF/deployment-fragment.xml b/services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/OSGI-INF/deployment-fragment.xml
deleted file mode 100644 (file)
index 270abbd..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0"?>
-<fragment>
-
-  <extension target="application#MODULE">
-    <module>
-      <java>${bundle.fileName}</java>
-    </module>
-  </extension>
-  
-</fragment>
diff --git a/services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/OSGI-INF/ecm-types-contrib.xml b/services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/OSGI-INF/ecm-types-contrib.xml
deleted file mode 100644 (file)
index 079d11c..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.organization.ecm.types">
-  <extension target="org.nuxeo.ecm.platform.types.TypeService" point="types">
-    <type id="Orgauthority" coretype="Orgauthority">
-      <label>org.collectionspace.orgauthority</label>
-      <!--icon>/icons/file.gif</icon-->
-      <default-view>view_documents</default-view>
-
-      <layouts mode="any">
-        <layout>heading</layout>
-        <layout>collectionspace_core</layout>
-        <layout>csorgauthority</layout>
-      </layouts>        
-    </type>
-
-    <type id="Folder" coretype="Folder">
-      <subtypes>
-        <type>Orgauthority</type>
-      </subtypes>
-    </type>
-    
-    <type id="Workspace" coretype="Workspace">
-      <subtypes>
-        <type>Orgauthority</type>
-      </subtypes>
-    </type>
-
-  </extension>
-  <extension target="org.nuxeo.ecm.platform.types.TypeService" point="types">
-    <type id="Organization" coretype="Organization">
-      <label>org.collectionspace.organization</label>
-      <!--icon>/icons/file.gif</icon-->
-      <default-view>view_documents</default-view>
-
-      <layouts mode="any">
-        <layout>heading</layout>
-        <layout>collectionspace_core</layout>
-        <layout>organization</layout>
-      </layouts>        
-    </type>
-
-    <type id="Folder" coretype="Folder">
-      <subtypes>
-        <type>Organization</type>
-      </subtypes>
-    </type>
-    
-    <type id="Workspace" coretype="Workspace">
-      <subtypes>
-        <type>Organization</type>
-      </subtypes>
-    </type>
-
-  </extension>
-</component>
diff --git a/services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/OSGI-INF/layouts-contrib.xml b/services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/OSGI-INF/layouts-contrib.xml
deleted file mode 100644 (file)
index fdce4dd..0000000
+++ /dev/null
@@ -1,302 +0,0 @@
-<?xml version="1.0"?>
-
-<component name="org.collectionspace.organization.layouts.webapp">
-
-       <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
-    point="layouts">
-
-    <layout name="csorgauthority">
-      <templates>
-        <template mode="any">/layouts/layout_default_template.xhtml</template>
-      </templates>
-      <rows>
-        <row><widget>displayName</widget></row>
-        <row><widget>refName</widget></row>
-        <row><widget>shortIdentifier</widget></row>
-        <row><widget>vocabType</widget></row>
-      </rows>
-
-      <widget name="displayName" type="text">
-        <labels>
-          <label mode="any">displayName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="orgauthorities_common">displayName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="shortIdentifier" type="text">
-        <labels>
-          <label mode="any">Short Identifier</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="orgauthorities_common">shortIdentifier</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="refName" type="text">
-        <labels>
-          <label mode="any">refName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="orgauthorities_common">refName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="vocabType" type="text">
-        <labels>
-          <label mode="any">vocabType</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="orgauthorities_common">vocabType</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-    </layout>
-  </extension>
-
-  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
-    point="layouts">
-
-    <layout name="organization">
-      <templates>
-        <template mode="any">/layouts/layout_default_template.xhtml</template>
-      </templates>
-      <rows>
-        <row><widget>inAuthority</widget></row>
-        <row><widget>shortIdentifier</widget></row>
-        <row><widget>refName</widget></row>
-        <row><widget>displayName</widget></row>
-<!--        <row><widget>displayNameComputed</widget></row> -->
-        <row><widget>shortName</widget></row>
-        <row><widget>longName</widget></row>
-        <row><widget>nameAdditions</widget></row>
-        <!-- Repeatable fields are commented out for now until we -->
-        <!-- identify how to represent these complex types in layouts. -->
-<!--        <row><widget>contactName</widget></row>-->
-        <row><widget>foundingPlace</widget></row>
-<!--        <row><widget>group</widget></row> -->
-<!--        <row><widget>function</widget></row> -->
-<!--        <row><widget>subBody</widget></row> -->
-<!--        <row><widget>historyNote</widget></row>-->
-        <row><widget>termStatus</widget></row>
-      </rows>
-
-      <widget name="inAuthority" type="text">
-        <labels>
-          <label mode="any">inAuthority (OrgAuthority)</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="organizations_common">inAuthority</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-
-      <widget name="shortIdentifier" type="text">
-        <labels>
-          <label mode="any">Short Identifier</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="organizations_common">shortIdentifier</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-     <widget name="refName" type="text">
-        <labels>
-          <label mode="any">refName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="organizations_common">refName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-
-      <widget name="displayName" type="text">
-        <labels>
-          <label mode="any">displayName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="organizations_common">displayName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-<!--
-      <widget name="displayNameComputed" type="text">
-        <labels>
-          <label mode="any">displayNameComputed</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="organizations_common">displayNameComputed</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget> -->
-      
-      <widget name="shortName" type="text">
-        <labels>
-          <label mode="any">shortName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="organizations_common">shortName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="longName" type="text">
-        <labels>
-          <label mode="any">longName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="organizations_common">longName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="nameAdditions" type="text">
-        <labels>
-          <label mode="any">nameAdditions</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="organizations_common">nameAdditions</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-<!--
-      <widget name="contactName" type="text">
-        <labels>
-          <label mode="any">contactName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="organizations_common">contactName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
--->
-            
-      <widget name="foundingPlace" type="text">
-        <labels>
-          <label mode="any">foundingPlace</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="organizations_common">foundingPlace</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-
-<!--
-      <widget name="group" type="text">
-        <labels>
-          <label mode="any">group</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="organizations_common">group</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="function" type="text">
-        <labels>
-          <label mode="any">function</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="organizations_common">function</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-
-      <widget name="subBody" type="text">
-        <labels>
-          <label mode="any">subBody</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="organizations_common">subBody</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="history" type="text">
-        <labels>
-          <label mode="any">history</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="organizations_common">history</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
--->
-
-      <widget name="termStatus" type="text">
-        <labels>
-          <label mode="any">termStatus</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="organizations_common">termStatus</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-
-    </layout>
-  </extension>
-</component>
diff --git a/services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/OSGI-INF/life-cycle-contrib.xml b/services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/OSGI-INF/life-cycle-contrib.xml
deleted file mode 100644 (file)
index 436fecc..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.ecm.platform.organization.LifeCycleManagerExtensions">
-
-  <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
-             point="types">
-    <types>
-      <type name="Orgauthority">${Lifecycle}</type>
-      <type name="Organization">${Lifecycle}</type>
-    </types>
-  </extension>
-
-</component>
diff --git a/services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/schemas/README.txt b/services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/schemas/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/schemas/organizations_common.xsd b/services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/schemas/organizations_common.xsd
deleted file mode 100644 (file)
index c420889..0000000
+++ /dev/null
@@ -1,128 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-
-<!--
-    Organization schema (XSD)
-
-    Entity  : Organization
-    Part    : Common
-    Used for: Nuxeo EP core document type
-
-    $LastChangedRevision$
-    $LastChangedDate$
--->
-
-<xs:schema 
-    xmlns:xs="http://www.w3.org/2001/XMLSchema"
-    xmlns:ns="http://collectionspace.org/services/organization"
-    xmlns="http://collectionspace.org/services/organization"
-    targetNamespace="http://collectionspace.org/services/organization"
-    version="0.1"
->
-    <!-- See http://wiki.collectionspace.org/display/collectionspace/Name+Authority+Schema -->
-<!-- See http://wiki.collectionspace.org/display/collectionspace/Organization+Service+Home -->    
-
-    <!--  Organization Information Group -->
-    <!--  inAuthority is the csid of the owning OrgAuthority -->
-    <xs:element name="inAuthority" type="xs:string" />
-    <xs:element name="shortIdentifier" type="xs:string"/>
-    <xs:element name="refName" type="xs:string"/>
-    
-    <!-- Term Information repeatable group -->
-    <xs:element name="orgTermGroupList" type="orgTermGroupList"/>
-    
-    <xs:element name="foundingDateGroup" type="structuredDateGroup"/>
-    <xs:element name="dissolutionDateGroup" type="structuredDateGroup"/>
-    <xs:element name="foundingPlace" type="xs:string"/>
-    
-    <xs:element name="groups">
-        <xs:complexType>
-            <xs:sequence>
-                <xs:element name="group" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
-            </xs:sequence>
-        </xs:complexType>
-    </xs:element>
-    
-    <xs:element name="functions">
-        <xs:complexType>
-            <xs:sequence>
-                <xs:element name="function" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
-            </xs:sequence>
-        </xs:complexType>
-    </xs:element>
-            
-    <xs:element name="contactNames">
-        <xs:complexType>
-            <xs:sequence>
-                <xs:element name="contactName" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
-            </xs:sequence>
-        </xs:complexType>
-    </xs:element>
-
-    <xs:element name="historyNotes" type="historyNotes">
-        <xs:complexType>
-            <xs:sequence>
-                <xs:element name="historyNote" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
-            </xs:sequence>
-        </xs:complexType>
-    </xs:element>
-    
-    <xs:complexType name="orgTermGroupList">
-        <xs:sequence>
-            <xs:element name="orgTermGroup" type="orgTermGroup" minOccurs="0" maxOccurs="unbounded"/>
-        </xs:sequence>
-    </xs:complexType>
-
-    <xs:complexType name="orgTermGroup">
-        <xs:sequence>
-                <!-- Common across all authority item terms -->
-            <xs:element name="termDisplayName" type="xs:string"/>
-            <xs:element name="termFormattedDisplayName" type="xs:string"/>
-            <xs:element name="termName" type="xs:string"/>
-            <xs:element name="termType" type="xs:string"/>
-            <xs:element name="termStatus" type="xs:string"/>
-            <xs:element name="termQualifier" type="xs:string"/>
-            <xs:element name="termLanguage" type="xs:string"/>
-            <xs:element name="termPrefForLang" type="xs:boolean"/>
-            <xs:element name="termSource" type="xs:string"/>
-            <xs:element name="termSourceDetail" type="xs:string"/>
-            <xs:element name="termSourceID" type="xs:string"/>
-            <xs:element name="termSourceNote" type="xs:string"/>
-                <!-- Specific to Organization terms -->
-            <xs:element name="mainBodyName" type="xs:string"/>
-            <xs:element name="additionsToName" type="xs:string"/>
-        </xs:sequence>
-    </xs:complexType>
-    
-    <!-- Before (re)using this generic complex type in any record type -->
-    <!-- other than CollectionObject, be sure to verify that Nuxeo handles -->
-    <!-- that correctly in its table creation/row linking. -->
-    <xs:complexType name="structuredDateGroup">
-        <xs:sequence>
-            <xs:element name="dateDisplayDate" type="xs:string"/>
-            <xs:element name="dateAssociation" type="xs:string"/>
-            <xs:element name="dateEarliestSingleYear" type="xs:integer"/>
-            <xs:element name="dateEarliestSingleMonth" type="xs:integer"/>
-            <xs:element name="dateEarliestSingleDay" type="xs:integer"/>
-            <xs:element name="dateEarliestSingleEra" type="xs:string"/>
-            <xs:element name="dateEarliestSingleCertainty" type="xs:string"/>
-            <xs:element name="dateEarliestSingleQualifier" type="xs:string"/>
-            <xs:element name="dateEarliestSingleQualifierValue" type="xs:integer"/>
-            <xs:element name="dateEarliestSingleQualifierUnit" type="xs:string"/>
-            <xs:element name="dateLatestYear" type="xs:integer"/>
-            <xs:element name="dateLatestMonth" type="xs:integer"/>
-            <xs:element name="dateLatestDay" type="xs:integer"/>
-            <xs:element name="dateLatestEra" type="xs:string"/>
-            <xs:element name="dateLatestCertainty" type="xs:string"/>
-            <xs:element name="dateLatestQualifier" type="xs:string"/>
-            <xs:element name="dateLatestQualifierValue" type="xs:integer"/>
-            <xs:element name="dateLatestQualifierUnit" type="xs:string"/>
-            <xs:element name="datePeriod" type="xs:string"/>
-            <xs:element name="dateNote" type="xs:string"/>
-            <xs:element name="dateEarliestScalarValue" type="xs:date"/>
-            <xs:element name="dateLatestScalarValue" type="xs:date"/>
-            <xs:element name="scalarValuesComputed" type="xs:boolean"/>
-        </xs:sequence>
-    </xs:complexType>
-    
-</xs:schema>
-
diff --git a/services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/schemas/orgauthorities_common.xsd b/services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/schemas/orgauthorities_common.xsd
deleted file mode 100644 (file)
index d81ef26..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-
-<!--
-    OrgAuthority schema (XSD)
-    
-    Entity  : OrgAuthority
-    Part    : Common
-    Used for: Nuxeo EP core document type
-    
-    $LastChangedRevision$
-    $LastChangedDate$
--->
-
-<xs:schema 
-  xmlns:xs="http://www.w3.org/2001/XMLSchema"
-  xmlns:ns="http://collectionspace.org/services/organization"
-  xmlns="http://collectionspace.org/services/organization"
-  targetNamespace="http://collectionspace.org/services/organization"
-  version="0.1"
->
-
-<!-- Flattened version of jaxb schema for nuxeo -->
-<!-- See http://wiki.collectionspace.org/display/collectionspace/Organization+Service+Home -->    
-
-               <!--  OrgAuthority Information Group -->
-               <xs:element name="displayName" type="xs:string"/>
-               <xs:element name="shortIdentifier" type="xs:string"/>
-               <xs:element name="refName" type="xs:string"/>
-               <xs:element name="vocabType" type="xs:string"/>
-               <xs:element name="source" type="xs:string"/>
-               <xs:element name="description" type="xs:string"/>
-
-</xs:schema>
-
diff --git a/services/person/3rdparty/nuxeo-platform-cs-person/src/main/resources/META-INF/MANIFEST.MF b/services/person/3rdparty/nuxeo-platform-cs-person/src/main/resources/META-INF/MANIFEST.MF
deleted file mode 100644 (file)
index ada0cae..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-Manifest-Version: 1.0 \r
-Bundle-ManifestVersion: 1 \r
-Bundle-Name: NuxeoCS\r
-Bundle-SymbolicName: org.collectionspace.person;singleton:=true \r
-Bundle-Version: 1.0.0\r
-Bundle-Localization: plugin\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.core.api,\r
- org.nuxeo.ecm.platform.types.api,\r
- org.nuxeo.ecm.platform.versioning.api,\r
- org.nuxeo.ecm.platform.ui,\r
- org.nuxeo.ecm.platform.forms.layout.client,\r
- org.nuxeo.ecm.platform.ws,\r
- org.collectionspace.collectionspace_core\r
-Provide-Package: org.collectionspace.person\r
-Nuxeo-Component: OSGI-INF/core-types-contrib.xml,\r
- OSGI-INF/life-cycle-contrib.xml,\r
- OSGI-INF/ecm-types-contrib.xml,\r
- OSGI-INF/layouts-contrib.xml\r
-\r
diff --git a/services/person/3rdparty/nuxeo-platform-cs-person/src/main/resources/META-INF/README.txt b/services/person/3rdparty/nuxeo-platform-cs-person/src/main/resources/META-INF/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/person/3rdparty/nuxeo-platform-cs-person/src/main/resources/OSGI-INF/README.txt b/services/person/3rdparty/nuxeo-platform-cs-person/src/main/resources/OSGI-INF/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/person/3rdparty/nuxeo-platform-cs-person/src/main/resources/OSGI-INF/core-types-contrib.xml b/services/person/3rdparty/nuxeo-platform-cs-person/src/main/resources/OSGI-INF/core-types-contrib.xml
deleted file mode 100644 (file)
index e477327..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.person.coreTypes">
-    <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"/>
-            <prefetch>
-                persons_common:personTermGroupList/0/termDisplayName
-                persons_common:refName
-                persons_common:shortIdentifier
-            </prefetch>
-        </doctype>
-    </extension>
-    
-</component>
diff --git a/services/person/3rdparty/nuxeo-platform-cs-person/src/main/resources/OSGI-INF/deployment-fragment.xml b/services/person/3rdparty/nuxeo-platform-cs-person/src/main/resources/OSGI-INF/deployment-fragment.xml
deleted file mode 100644 (file)
index 270abbd..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0"?>
-<fragment>
-
-  <extension target="application#MODULE">
-    <module>
-      <java>${bundle.fileName}</java>
-    </module>
-  </extension>
-  
-</fragment>
diff --git a/services/person/3rdparty/nuxeo-platform-cs-person/src/main/resources/OSGI-INF/ecm-types-contrib.xml b/services/person/3rdparty/nuxeo-platform-cs-person/src/main/resources/OSGI-INF/ecm-types-contrib.xml
deleted file mode 100644 (file)
index 39e7897..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.person.ecm.types">
-  <extension target="org.nuxeo.ecm.platform.types.TypeService" point="types">
-    <type id="Personauthority" coretype="Personauthority">
-      <label>org.collectionspace.personauthority</label>
-      <!--icon>/icons/file.gif</icon-->
-      <default-view>view_documents</default-view>
-
-      <layouts mode="any">
-        <layout>heading</layout>
-        <layout>collectionspace_core</layout>
-        <layout>cspersonauthority</layout>
-      </layouts>        
-    </type>
-
-    <type id="Folder" coretype="Folder">
-      <subtypes>
-        <type>Personauthority</type>
-      </subtypes>
-    </type>
-    
-    <type id="Workspace" coretype="Workspace">
-      <subtypes>
-        <type>Personauthority</type>
-      </subtypes>
-    </type>
-
-  </extension>
-  <extension target="org.nuxeo.ecm.platform.types.TypeService" point="types">
-    <type id="Person" coretype="Person">
-      <label>org.collectionspace.person</label>
-      <!--icon>/icons/file.gif</icon-->
-      <default-view>view_documents</default-view>
-
-      <layouts mode="any">
-        <layout>heading</layout>
-        <layout>collectionspace_core</layout>
-        <layout>person</layout>
-      </layouts>        
-    </type>
-
-    <type id="Folder" coretype="Folder">
-      <subtypes>
-        <type>Person</type>
-      </subtypes>
-    </type>
-    
-    <type id="Workspace" coretype="Workspace">
-      <subtypes>
-        <type>Person</type>
-      </subtypes>
-    </type>
-
-  </extension>
-</component>
diff --git a/services/person/3rdparty/nuxeo-platform-cs-person/src/main/resources/OSGI-INF/layouts-contrib.xml b/services/person/3rdparty/nuxeo-platform-cs-person/src/main/resources/OSGI-INF/layouts-contrib.xml
deleted file mode 100644 (file)
index 309e8bb..0000000
+++ /dev/null
@@ -1,386 +0,0 @@
-<?xml version="1.0"?>
-
-<component name="org.collectionspace.person.layouts.webapp">
-
-       <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
-    point="layouts">
-
-    <layout name="cspersonauthority">
-      <templates>
-        <template mode="any">/layouts/layout_default_template.xhtml</template>
-      </templates>
-      <rows>
-        <row><widget>displayName</widget></row>
-        <row><widget>shortIdentifier</widget></row>
-        <row><widget>refName</widget></row>
-        <row><widget>vocabType</widget></row>
-      </rows>
-
-      <widget name="displayName" type="text">
-        <labels>
-          <label mode="any">Display Name</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="personauthorities_common">displayName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="shortIdentifier" type="text">
-        <labels>
-          <label mode="any">Short Identifier</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="personauthorities_common">shortIdentifier</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="refName" type="text">
-        <labels>
-          <label mode="any">RefName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="personauthorities_common">refName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="vocabType" type="text">
-        <labels>
-          <label mode="any">Type</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="personauthorities_common">vocabType</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-    </layout>
-  </extension>
-
-  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
-    point="layouts">
-
-               <layout name="person">
-      <templates>
-        <template mode="any">/layouts/layout_default_template.xhtml</template>
-      </templates>
-      <rows>
-        <row><widget>displayName</widget></row>
-        <row><widget>shortIdentifier</widget></row>
-        <row><widget>refName</widget></row>
-        <row><widget>inAuthority</widget></row>
-        <row><widget>foreName</widget></row>
-        <row><widget>middleName</widget></row>
-        <row><widget>surName</widget></row>
-        <row><widget>initials</widget></row>
-        <row><widget>salutation</widget></row>
-        <row><widget>title</widget></row>
-        <row><widget>nameAdditions</widget></row>
-        <row><widget>birthPlace</widget></row>
-        <row><widget>deathPlace</widget></row>
-        <!-- Repeatable fields are commented out for now until we -->
-        <!-- identify how to represent these complex types in layouts. -->
-        <!-- <row><widget>group</widget></row> -->
-        <!-- <row><widget>nationality</widget></row> -->
-        <row><widget>gender</widget></row>
-        <!-- <row><widget>occupation</widget></row> -->
-        <!-- <row><widget>schoolOrStyle</widget></row> -->
-        <row><widget>bioNote</widget></row>
-        <row><widget>nameNote</widget></row>
-        <row><widget>termStatus</widget></row>
-      </rows>
-
-      <widget name="displayName" type="text">
-        <labels>
-          <label mode="any">displayName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="persons_common">displayName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="shortIdentifier" type="text">
-        <labels>
-          <label mode="any">Short Identifier</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="persons_common">shortIdentifier</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="refName" type="text">
-        <labels>
-          <label mode="any">refName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="persons_common">refName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="inAuthority" type="text">
-        <labels>
-          <label mode="any">inAuthority (PersonAuthority)</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="persons_common">inAuthority</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-
-      <widget name="foreName" type="text">
-        <labels>
-          <label mode="any">foreName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="persons_common">foreName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="middleName" type="text">
-        <labels>
-          <label mode="any">middleName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="persons_common">middleName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="surName" type="text">
-        <labels>
-          <label mode="any">surName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="persons_common">surName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="initials" type="text">
-        <labels>
-          <label mode="any">initials</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="persons_common">initials</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="salutation" type="text">
-        <labels>
-          <label mode="any">salutation</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="persons_common">salutation</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="persons_common">title</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="nameAdditions" type="text">
-        <labels>
-          <label mode="any">nameAdditions</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="persons_common">nameAdditions</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-            
-      <widget name="birthPlace" type="text">
-        <labels>
-          <label mode="any">birthPlace</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="persons_common">birthPlace</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="deathPlace" type="text">
-        <labels>
-          <label mode="any">deathPlace</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="persons_common">deathPlace</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-
-<!--
-      <widget name="group" type="text">
-        <labels>
-          <label mode="any">group</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="persons_common">group</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="nationality" type="text">
-        <labels>
-          <label mode="any">nationality</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="persons_common">nationality</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
--->
-
-      <widget name="gender" type="text">
-        <labels>
-          <label mode="any">gender</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="persons_common">gender</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-
-<!--
-      <widget name="occupation" type="text">
-        <labels>
-          <label mode="any">occupation</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="persons_common">occupation</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="schoolOrStyle" type="text">
-        <labels>
-          <label mode="any">schoolOrStyle</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="persons_common">schoolOrStyle</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
--->
-
-      <widget name="bioNote" type="text">
-        <labels>
-          <label mode="any">bioNote</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="persons_common">bioNote</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="nameNote" type="text">
-        <labels>
-          <label mode="any">nameNote</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="persons_common">nameNote</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-
-      <widget name="termStatus" type="text">
-        <labels>
-          <label mode="any">termStatus</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="persons_common">termStatus</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-    </layout>
-  </extension>
-</component>
diff --git a/services/person/3rdparty/nuxeo-platform-cs-person/src/main/resources/OSGI-INF/life-cycle-contrib.xml b/services/person/3rdparty/nuxeo-platform-cs-person/src/main/resources/OSGI-INF/life-cycle-contrib.xml
deleted file mode 100644 (file)
index 3c561f9..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.ecm.platform.person.LifeCycleManagerExtensions">
-
-  <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
-             point="types">
-    <types>
-      <type name="Personauthority">${Lifecycle}</type>
-      <type name="Person">${Lifecycle}</type>
-    </types>
-  </extension>
-
-</component>
diff --git a/services/person/3rdparty/nuxeo-platform-cs-person/src/main/resources/schemas/README.txt b/services/person/3rdparty/nuxeo-platform-cs-person/src/main/resources/schemas/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/person/3rdparty/nuxeo-platform-cs-person/src/main/resources/schemas/personauthorities_common.xsd b/services/person/3rdparty/nuxeo-platform-cs-person/src/main/resources/schemas/personauthorities_common.xsd
deleted file mode 100644 (file)
index 9428c6e..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-
-<!--
-    PersonAuthority schema (XSD)
-    
-    Entity  : PersonAuthority
-    Part    : Common
-    Used for: Nuxeo EP core document type
-    
-    $LastChangedRevision: 928 $
-    $LastChangedDate: 2009-11-10 12:25:58 -0800 (Tue, 10 Nov 2009) $
--->
-
-<xs:schema 
-  xmlns:xs="http://www.w3.org/2001/XMLSchema"
-  xmlns:ns="http://collectionspace.org/services/person"
-  xmlns="http://collectionspace.org/services/person"
-  targetNamespace="http://collectionspace.org/services/person"
-  version="0.1"
->
-
-<!-- Flattened version of jaxb schema for nuxeo -->
-<!-- See http://wiki.collectionspace.org/display/collectionspace/Person+Service+Home -->    
-
-               <!--  PersonAuthority Information Group -->
-               <xs:element name="displayName" type="xs:string"/>
-               <xs:element name="shortIdentifier" type="xs:string"/>
-               <xs:element name="refName" type="xs:string"/>
-               <xs:element name="vocabType" type="xs:string"/>
-               <xs:element name="source" type="xs:string"/>
-               <xs:element name="description" type="xs:string"/>
-
-</xs:schema>
-
diff --git a/services/person/3rdparty/nuxeo-platform-cs-person/src/main/resources/schemas/persons_common.xsd b/services/person/3rdparty/nuxeo-platform-cs-person/src/main/resources/schemas/persons_common.xsd
deleted file mode 100644 (file)
index a08a123..0000000
+++ /dev/null
@@ -1,134 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-
-<!--
-    Person schema (XSD)
-    
-    Entity  : Person
-    Part    : Common
-    Used for: Nuxeo EP core document type
-    
-    $LastChangedRevision: 860 $
-    $LastChangedDate: 2009-10-14 14:48:05 -0700 (Wed, 14 Oct 2009) $
--->
-
-<xs:schema 
-    xmlns:xs="http://www.w3.org/2001/XMLSchema"
-    xmlns:ns="http://collectionspace.org/services/person"
-    xmlns="http://collectionspace.org/services/person"
-    targetNamespace="http://collectionspace.org/services/person"
-    version="0.1"
->
-<!-- See http://wiki.collectionspace.org/display/collectionspace/Person+Service+Home -->    
-
-    <!--  Person Information Group -->
-    <!--  inAuthority is the csid of the owning PersonAuthority -->
-    <xs:element name="inAuthority" type="xs:string" />
-    <xs:element name="shortIdentifier" type="xs:string"/>
-    <xs:element name="refName" type="xs:string"/>
-
-    <!-- Term Information repeatable group -->
-    <xs:element name="personTermGroupList" type="personTermGroupList"/>
-    
-    <xs:element name="description" type="xs:string"/>
-    <xs:element name="birthDateGroup" type="structuredDateGroup"/>
-    <xs:element name="deathDateGroup" type="structuredDateGroup"/>
-    <xs:element name="birthPlace" type="xs:string"/>
-    <xs:element name="deathPlace" type="xs:string"/>
-    <xs:element name="groups">
-        <xs:complexType>
-            <xs:sequence>
-                <xs:element name="group" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
-            </xs:sequence>
-        </xs:complexType>
-    </xs:element>
-    <xs:element name="nationalities">
-        <xs:complexType>
-            <xs:sequence>
-                <xs:element name="nationality" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
-            </xs:sequence>
-        </xs:complexType>
-    </xs:element>
-    <xs:element name="gender" type="xs:string"/>
-    <xs:element name="occupations">
-        <xs:complexType>
-            <xs:sequence>
-                <xs:element name="occupation" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
-            </xs:sequence>
-        </xs:complexType>
-    </xs:element>
-    <xs:element name="schoolsOrStyles">
-        <xs:complexType>
-            <xs:sequence>
-                <xs:element name="schoolOrStyle" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
-            </xs:sequence>
-        </xs:complexType>
-    </xs:element>
-    <xs:element name="bioNote" type="xs:string"/>
-    <xs:element name="nameNote" type="xs:string"/>
-    
-    <xs:complexType name="personTermGroupList">
-        <xs:sequence>
-            <xs:element name="personTermGroup" type="personTermGroup" minOccurs="0"
-                        maxOccurs="unbounded"/>
-        </xs:sequence>
-    </xs:complexType>
-
-    <xs:complexType name="personTermGroup">
-        <xs:sequence>
-            <!-- Common across all authority item terms -->
-            <xs:element name="termDisplayName" type="xs:string"/>
-            <xs:element name="termFormattedDisplayName" type="xs:string"/>
-            <xs:element name="termName" type="xs:string"/>
-            <xs:element name="termType" type="xs:string"/>
-            <xs:element name="termStatus" type="xs:string"/>
-            <xs:element name="termQualifier" type="xs:string"/>
-            <xs:element name="termLanguage" type="xs:string"/>
-            <xs:element name="termPrefForLang" type="xs:boolean"/>
-            <xs:element name="termSource" type="xs:string"/>
-            <xs:element name="termSourceDetail" type="xs:string"/>
-            <xs:element name="termSourceID" type="xs:string"/>
-            <xs:element name="termSourceNote" type="xs:string"/>
-            <!-- Specific to Person terms -->
-            <xs:element name="foreName" type="xs:string"/>
-            <xs:element name="middleName" type="xs:string"/>
-            <xs:element name="surName" type="xs:string"/>
-            <xs:element name="initials" type="xs:string"/>
-            <xs:element name="salutation" type="xs:string"/>
-            <xs:element name="title" type="xs:string"/>
-            <xs:element name="nameAdditions" type="xs:string"/>
-        </xs:sequence>
-    </xs:complexType>
-    
-    <!-- Before (re)using this generic complex type in any record type -->
-    <!-- other than CollectionObject, be sure to verify that Nuxeo handles -->
-    <!-- that correctly in its table creation/row linking. -->
-    <xs:complexType name="structuredDateGroup">
-        <xs:sequence>
-            <xs:element name="dateDisplayDate" type="xs:string"/>
-            <xs:element name="dateAssociation" type="xs:string"/>
-            <xs:element name="dateEarliestSingleYear" type="xs:integer"/>
-            <xs:element name="dateEarliestSingleMonth" type="xs:integer"/>
-            <xs:element name="dateEarliestSingleDay" type="xs:integer"/>
-            <xs:element name="dateEarliestSingleEra" type="xs:string"/>
-            <xs:element name="dateEarliestSingleCertainty" type="xs:string"/>
-            <xs:element name="dateEarliestSingleQualifier" type="xs:string"/>
-            <xs:element name="dateEarliestSingleQualifierValue" type="xs:integer"/>
-            <xs:element name="dateEarliestSingleQualifierUnit" type="xs:string"/>
-            <xs:element name="dateLatestYear" type="xs:integer"/>
-            <xs:element name="dateLatestMonth" type="xs:integer"/>
-            <xs:element name="dateLatestDay" type="xs:integer"/>
-            <xs:element name="dateLatestEra" type="xs:string"/>
-            <xs:element name="dateLatestCertainty" type="xs:string"/>
-            <xs:element name="dateLatestQualifier" type="xs:string"/>
-            <xs:element name="dateLatestQualifierValue" type="xs:integer"/>
-            <xs:element name="dateLatestQualifierUnit" type="xs:string"/>
-            <xs:element name="datePeriod" type="xs:string"/>
-            <xs:element name="dateNote" type="xs:string"/>
-            <xs:element name="dateEarliestScalarValue" type="xs:date"/>
-            <xs:element name="dateLatestScalarValue" type="xs:date"/>
-            <xs:element name="scalarValuesComputed" type="xs:boolean"/>
-        </xs:sequence>
-    </xs:complexType>
-
-</xs:schema>
-
diff --git a/services/person/3rdparty/nuxeo-platform-person-lifesci/src/main/resources/META-INF/MANIFEST.MF b/services/person/3rdparty/nuxeo-platform-person-lifesci/src/main/resources/META-INF/MANIFEST.MF
deleted file mode 100644 (file)
index 8dfecb2..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-Manifest-Version: 1.0 
-Bundle-ManifestVersion: 1 
-Bundle-Name: org.collectionspace.person.lifesci
-Bundle-SymbolicName: org.collectionspace.person.lifesci;singleton:=true 
-Bundle-Version: 1.0.0
-Bundle-Localization: plugin
-Bundle-Vendor: Nuxeo 
-Require-Bundle: org.nuxeo.runtime, 
- org.nuxeo.ecm.core.api, 
- org.nuxeo.ecm.core,
- org.nuxeo.ecm.core.api,
- org.nuxeo.ecm.platform.types.api,
- org.nuxeo.ecm.platform.versioning.api,
- org.nuxeo.ecm.platform.ui,
- org.nuxeo.ecm.platform.forms.layout.client,
- org.nuxeo.ecm.platform.ws,
- org.collectionspace.collectionspace_core
-Provide-Package: org.collectionspace.person.lifesci
-Nuxeo-Component: OSGI-INF/core-types-contrib.xml,
- OSGI-INF/life-cycle-contrib.xml,
- OSGI-INF/ecm-types-contrib.xml,
- OSGI-INF/layouts-contrib.xml
-
diff --git a/services/person/3rdparty/nuxeo-platform-person-lifesci/src/main/resources/META-INF/README.txt b/services/person/3rdparty/nuxeo-platform-person-lifesci/src/main/resources/META-INF/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/person/3rdparty/nuxeo-platform-person-lifesci/src/main/resources/OSGI-INF/README.txt b/services/person/3rdparty/nuxeo-platform-person-lifesci/src/main/resources/OSGI-INF/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/person/3rdparty/nuxeo-platform-person-lifesci/src/main/resources/OSGI-INF/core-types-contrib.xml b/services/person/3rdparty/nuxeo-platform-person-lifesci/src/main/resources/OSGI-INF/core-types-contrib.xml
deleted file mode 100644 (file)
index b7d0a0c..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.person.lifesci.coreTypes">
-  
-    <extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
-        <schema name="persons_naturalhistory" prefix="persons_naturalhistory" src="schemas/persons_naturalhistory.xsd"/>
-    </extension>
-  
-    <extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">
-        <doctype name="PersonTenant2" extends="Person">
-            <schema name="common"/>
-            <schema name="dublincore"/>
-            <schema name="collectionspace_core"/>
-            <schema name="persons_common"/>
-            <schema name="persons_naturalhistory"/>
-            <prefetch>
-                persons_common:personTermGroupList/0/termDisplayName
-                persons_common:refName
-                persons_common:shortIdentifier
-            </prefetch>
-        </doctype>
-    </extension>
-    
-</component>
diff --git a/services/person/3rdparty/nuxeo-platform-person-lifesci/src/main/resources/OSGI-INF/deployment-fragment.xml b/services/person/3rdparty/nuxeo-platform-person-lifesci/src/main/resources/OSGI-INF/deployment-fragment.xml
deleted file mode 100644 (file)
index 270abbd..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0"?>
-<fragment>
-
-  <extension target="application#MODULE">
-    <module>
-      <java>${bundle.fileName}</java>
-    </module>
-  </extension>
-  
-</fragment>
diff --git a/services/person/3rdparty/nuxeo-platform-person-lifesci/src/main/resources/OSGI-INF/ecm-types-contrib.xml b/services/person/3rdparty/nuxeo-platform-person-lifesci/src/main/resources/OSGI-INF/ecm-types-contrib.xml
deleted file mode 100644 (file)
index aa11b07..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.person.lifesci.ecm.types">
-  <extension target="org.nuxeo.ecm.platform.types.TypeService" point="types">
-    <type id="PersonTenant2" coretype="PersonTenant2">
-      <label>org.collectionspace.person</label>
-      <!--icon>/icons/file.gif</icon-->
-      <default-view>view_documents</default-view>
-
-      <layouts mode="any">
-        <layout>heading</layout>
-        <layout>collectionspace_core</layout>
-        <layout>person</layout>
-        <layout>person_naturalhistory</layout>
-      </layouts>        
-    </type>
-
-    <type id="Folder" coretype="Folder">
-      <subtypes>
-        <type>PersonTenant2</type>
-      </subtypes>
-    </type>
-    
-    <type id="Workspace" coretype="Workspace">
-      <subtypes>
-        <type>PersonTenant2</type>
-      </subtypes>
-    </type>
-
-  </extension>
-</component>
diff --git a/services/person/3rdparty/nuxeo-platform-person-lifesci/src/main/resources/OSGI-INF/layouts-contrib.xml b/services/person/3rdparty/nuxeo-platform-person-lifesci/src/main/resources/OSGI-INF/layouts-contrib.xml
deleted file mode 100644 (file)
index 580506c..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0"?>
-
-<component name="org.collectionspace.persons_naturalhistory.layouts.webapp">
-
-  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
-    point="layouts">
-
-    <layout name="persons_naturalhistory">
-       <!--
-      <templates>
-        <template mode="any">/layouts/layout_default_template.xhtml</template>
-      </templates>
-      <rows>
-        <row><widget>exampleField</widget></row>
-      </rows>
-
-      <widget name="exampleField" type="text">
-        <labels>
-          <label mode="any">exampleField</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="persons_naturalhistory">exampleField</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      -->
-    </layout>
-  </extension>
-</component>
diff --git a/services/person/3rdparty/nuxeo-platform-person-lifesci/src/main/resources/OSGI-INF/life-cycle-contrib.xml b/services/person/3rdparty/nuxeo-platform-person-lifesci/src/main/resources/OSGI-INF/life-cycle-contrib.xml
deleted file mode 100644 (file)
index e0b5d12..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.ecm.platform.person.lifesci.LifeCycleManagerExtensions">
-
-  <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
-             point="types">
-    <types>
-      <type name="PersonTenant2">${Lifecycle}</type>
-    </types>
-  </extension>
-
-</component>
diff --git a/services/person/3rdparty/nuxeo-platform-person-lifesci/src/main/resources/schemas/README.txt b/services/person/3rdparty/nuxeo-platform-person-lifesci/src/main/resources/schemas/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/person/3rdparty/nuxeo-platform-person-lifesci/src/main/resources/schemas/persons_naturalhistory.xsd b/services/person/3rdparty/nuxeo-platform-person-lifesci/src/main/resources/schemas/persons_naturalhistory.xsd
deleted file mode 100644 (file)
index 936a3d5..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-
-<!--
-  Person schema (XSD)
-  
-  Entity  : Person
-  Part    : Domain - Natural History (example)
-  Used for: Nuxeo EP core document type
-  
-  $LastChangedRevision: 4929 $
-  $LastChangedDate: 2011-06-07 13:26:32 -0700 (Tue, 07 Jun 2011) $
--->
-
-<xs:schema 
-  xmlns:xs="http://www.w3.org/2001/XMLSchema"
-  xmlns:ns="http://collectionspace.org/services/person/domain/naturalhistory"
-  xmlns="http://collectionspace.org/services/person/domain/naturalhistory"
-  targetNamespace="http://collectionspace.org/services/person/domain/naturalhistory"
-  version="0.1">
-
-  <!-- used for testing
-  <xs:element name="nh-string" type="xs:string" />
-  <xs:element name="nh-int" type="xs:int"/>
-  <xs:element name="nh-long" type="xs:long"/>
-  <xs:element name="nh-date" type="xs:dateTime"/>
-  <xs:element name="nh-note" type="xs:string"/>
-  -->
-
- <xs:element name="nameTypes">
-    <xs:complexType>
-      <xs:sequence>
-        <xs:element name="nameType" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
-      </xs:sequence>
-    </xs:complexType>
-  </xs:element>
-
-  <xs:element name="affiliatedPersonOrgGroupList" type="affiliatedPersonOrgGroupList"/>
-
-  <xs:complexType name="affiliatedPersonOrgGroupList">
-    <xs:sequence>
-      <xs:element name="affiliatedPersonOrgGroup" type="affiliatedPersonOrgGroup" minOccurs="0"
-        maxOccurs="unbounded"/>
-    </xs:sequence>
-  </xs:complexType>
-
-  <xs:complexType name="affiliatedPersonOrgGroup">
-    <xs:sequence>
-      <xs:element name="affiliatedPersonOrg" type="xs:string"/>
-      <xs:element name="affiliatedPersonOrgType" type="xs:string"/>
-    </xs:sequence>
-  </xs:complexType>
-
-  <xs:element name="nameSource" type="xs:string"/>
-  <xs:element name="entityType" type="xs:string"/>
-  <xs:element name="lifeSpan" type="xs:string"/>
-  <xs:element name="scopeNote" type="xs:string"/>
-  <xs:element name="sourceNote" type="xs:string"/>
-  <xs:element name="orgContactNames">
-    <xs:complexType>
-      <xs:sequence>
-        <xs:element name="orgContactName" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
-      </xs:sequence>
-    </xs:complexType>
-  </xs:element>
-  <xs:element name="nameFunctions">
-    <xs:complexType>
-      <xs:sequence>
-        <xs:element name="nameFunction" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
-      </xs:sequence>
-    </xs:complexType>
-  </xs:element>
-
-</xs:schema>
diff --git a/services/place/3rdparty/nuxeo-platform-cs-place/src/main/resources/META-INF/MANIFEST.MF b/services/place/3rdparty/nuxeo-platform-cs-place/src/main/resources/META-INF/MANIFEST.MF
deleted file mode 100644 (file)
index 348b873..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-Manifest-Version: 1.0 
-Bundle-ManifestVersion: 1 
-Bundle-Name: NuxeoCS
-Bundle-SymbolicName: org.collectionspace.place;singleton:=true 
-Bundle-Version: 1.0.0
-Bundle-Localization: plugin
-Bundle-Vendor: Nuxeo 
-Require-Bundle: org.nuxeo.runtime, 
- org.nuxeo.ecm.core.api, 
- org.nuxeo.ecm.core,
- org.nuxeo.ecm.core.api,
- org.nuxeo.ecm.platform.types.api,
- org.nuxeo.ecm.platform.versioning.api,
- org.nuxeo.ecm.platform.ui,
- org.nuxeo.ecm.platform.forms.layout.client,
- org.nuxeo.ecm.platform.ws,
- org.collectionspace.collectionspace_core
-Provide-Package: org.collectionspace.place
-Nuxeo-Component: OSGI-INF/core-types-contrib.xml,
- OSGI-INF/life-cycle-contrib.xml,
- OSGI-INF/ecm-types-contrib.xml,
- OSGI-INF/layouts-contrib.xml
-
diff --git a/services/place/3rdparty/nuxeo-platform-cs-place/src/main/resources/META-INF/README.txt b/services/place/3rdparty/nuxeo-platform-cs-place/src/main/resources/META-INF/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/place/3rdparty/nuxeo-platform-cs-place/src/main/resources/OSGI-INF/README.txt b/services/place/3rdparty/nuxeo-platform-cs-place/src/main/resources/OSGI-INF/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/place/3rdparty/nuxeo-platform-cs-place/src/main/resources/OSGI-INF/core-types-contrib.xml b/services/place/3rdparty/nuxeo-platform-cs-place/src/main/resources/OSGI-INF/core-types-contrib.xml
deleted file mode 100644 (file)
index 920d6c9..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.place.coreTypes">
-    <extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
-        <schema name="placeauthorities_common" prefix="placeauthorities_common" src="schemas/placeauthorities_common.xsd"/>
-    </extension>
-    <extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
-        <schema name="places_common" prefix="places_common" src="schemas/places_common.xsd"/>
-    </extension>
-    <extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">
-        <doctype name="Placeauthority" extends="Document">
-            <schema name="common"/>
-            <schema name="collectionspace_core"/>
-            <schema name="dublincore"/>
-            <schema name="placeauthorities_common"/>
-        </doctype>
-    </extension>
-    <extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">
-        <doctype name="Placeitem" extends="Document">
-            <schema name="common"/>
-            <schema name="collectionspace_core"/>
-            <schema name="dublincore"/>
-            <schema name="places_common"/>
-            <prefetch>
-                places_common:placeTermGroupList/0/termDisplayName
-                places_common:refName
-                places_common:shortIdentifier
-            </prefetch>    
-        </doctype>
-    </extension>
-</component>
diff --git a/services/place/3rdparty/nuxeo-platform-cs-place/src/main/resources/OSGI-INF/deployment-fragment.xml b/services/place/3rdparty/nuxeo-platform-cs-place/src/main/resources/OSGI-INF/deployment-fragment.xml
deleted file mode 100644 (file)
index 8bbdd72..0000000
+++ /dev/null
@@ -1,408 +0,0 @@
-<?xml version="1.0"?>
-<fragment>
-
-  <extension target="application#MODULE">
-    <module>
-      <ejb>${bundle.fileName}</ejb>
-    </module>
-
-    <module>
-      <web>
-        <web-uri>nuxeo.war</web-uri>
-        <context-root>/nuxeo</context-root>
-      </web>
-    </module>
-  </extension>
-
-  <!-- uncomment that to enable tomcat based auth
-    <extension target="web#LOGIN-CONFIG">
-    <login-config>
-    <auth-method>FORM</auth-method>
-    <realm-name>nuxeo.ecm</realm-name>
-    <form-login-config>
-    <form-login-page>/login.jsp</form-login-page>
-    <form-error-page>/login.jsp?loginFailed=true</form-error-page>
-    </form-login-config>
-    </login-config>
-    </extension>
-  -->
-
-  <extension target="web#FILTER-MAPPING">
-
-    <!-- Seam Context Filter is declared in org.nuxeo.ecm.platform.ui.web
-      deployment fragment -->
-
-    <filter-mapping>
-      <filter-name>Seam Context Filter</filter-name>
-      <url-pattern>/ws/FileManageWS</url-pattern>
-    </filter-mapping>
-
-    <filter-mapping>
-      <filter-name>Seam Context Filter</filter-name>
-      <url-pattern>/DocumentManagerWS</url-pattern>
-    </filter-mapping>
-  </extension>
-
-  <extension target="web#SERVLET">
-  </extension>
-
-  <extension target="web#SERVLET-MAPPING">
-  </extension>
-
-  <extension target="pages#PAGES">
-    <!-- This calls a method which load the Workspace logo -->
-    <page view-id="/showLogo.xhtml" action="#{logoHelper.getLogo}"/>
-
-    <!-- Bind URL to the Document URL resolver-->
-    <page view-id="/getDocument.xhtml"
-        action="#{navigationContext.navigateToURL}">
-    </page>
-
-    <page view-id="/nxliveedit.xhtml" action="#{liveEditHelper.getBootstrap()}"/>
-
-    <!-- Bind URL to the Parallele conversation Document URL resolver-->
-    <page view-id="/parallele.xhtml"
-        action="#{paralleleNavigationHelper.navigateToURL}">
-    </page>
-
-    <!-- Post login and 'home' view handler -->
-    <page view-id="/nxstartup.xhtml"
-        action="#{startupHelper.initDomainAndFindStartupPage('Default domain', 'view')}"/>
-
-    <!-- To redirect to the user dashboard instead, use instead:
-
-      <page view-id="/nxstartup.xhtml"
-      action="#{startupHelper.initDomainAndFindStartupPage('Default domain', 'user_dashboard')}" />
-    -->
-
-    <!--  config for workspace management
-      = give a description for each viewId
-    -->
-
-    <page view-id="/view_domains.xhtml">
-      #{currentServerLocation.name}/#{currentTabAction.label}
-    </page>
-
-    <page view-id="/select_document_type.faces.xhtml">
-      Create new document in #{currentDocument.name}
-    </page>
-
-    <page view-id="/create_document.faces.xhtml">
-      Create new document in #{currentDocument.name}
-    </page>
-
-    <page view-id="/user_dashboard.xhtml">
-      breadcrumb=command.user_dashboard
-    </page>
-
-    <page view-id="/view_users.xhtml">
-      breadcrumb=command.manageMembers
-    </page>
-
-    <page view-id="/view_many_users.xhtml">
-      breadcrumb=command.manageMembers
-    </page>
-
-    <page view-id="/view_orgauthorities.xhtml">
-      breadcrumb=title.orgauthorities
-    </page>
-
-    <page view-id="/search/search_form.xhtml">
-      breadcrumb=command.advancedSearch
-    </page>
-  </extension>
-
-  <extension target="faces-config#APPLICATION">
-    <locale-config>
-      <default-locale>en</default-locale>
-      <supported-locale>en_GB</supported-locale>
-      <supported-locale>en_US</supported-locale>
-      <supported-locale>fr</supported-locale>
-      <supported-locale>de</supported-locale>
-      <supported-locale>es</supported-locale>
-      <supported-locale>it</supported-locale>
-      <supported-locale>ar</supported-locale>
-      <supported-locale>ru</supported-locale>
-      <supported-locale>ja</supported-locale>
-      <supported-locale>vn</supported-locale>
-    </locale-config>
-
-    <message-bundle>messages</message-bundle>
-  </extension>
-
-  <extension target="components#PAGEFLOW">
-    <value>config/addWorkspace.jpdl.xml</value>
-  </extension>
-
-  <extension target="faces-config#NAVIGATION">
-    <!-- generic pages -->
-    <navigation-case>
-      <from-outcome>generic_error_page</from-outcome>
-      <to-view-id>/generic_error_page.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>generic_message_page</from-outcome>
-      <to-view-id>/generic_message_page.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>home</from-outcome>
-      <to-view-id>/nxstartup.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>user_login</from-outcome>
-      <to-view-id>/login.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>user_logout</from-outcome>
-      <to-view-id>/logout.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>view_servers</from-outcome>
-      <to-view-id>/view_servers.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <!-- pages for document actions -->
-
-    <navigation-case>
-      <from-outcome>view_domains</from-outcome>
-      <to-view-id>/view_domains.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>select_document_type</from-outcome>
-      <to-view-id>/select_document_type.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>create_document</from-outcome>
-      <to-view-id>/create_document.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>edit_document</from-outcome>
-      <to-view-id>/edit_document.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>view_documents</from-outcome>
-      <to-view-id>/view_documents.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>create_file</from-outcome>
-      <to-view-id>/create_file.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>create_workspace_wizard</from-outcome>
-      <to-view-id>/createWorkspaceWizard.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>send_email</from-outcome>
-      <to-view-id>/document_email.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <!-- AT: BBB, use view_documents instead -->
-    <navigation-case>
-      <from-outcome>view_workspaces</from-outcome>
-      <to-view-id>/view_workspaces.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <!-- AT: BBB, use create_document instead -->
-    <navigation-case>
-      <from-outcome>create_domain</from-outcome>
-      <to-view-id>/create_domain.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <!-- AT: BBB, use edit_document instead -->
-    <navigation-case>
-      <from-outcome>edit_domain</from-outcome>
-      <to-view-id>/edit_domain.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <!-- AT: BBB, use create_document instead -->
-    <navigation-case>
-      <from-outcome>create_workspace</from-outcome>
-      <to-view-id>/create_workspace.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <!-- AT: BBB, use edit_document instead -->
-    <navigation-case>
-      <from-outcome>edit_workspace</from-outcome>
-      <to-view-id>/edit_workspace.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <!-- users ang groups -->
-
-    <navigation-case>
-      <from-outcome>members_management</from-outcome>
-      <to-view-id>/members_management.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>view_users</from-outcome>
-      <to-view-id>/view_users.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>view_many_users</from-outcome>
-      <to-view-id>/view_many_users.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>edit_user</from-outcome>
-      <to-view-id>/edit_user.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>edit_user_password</from-outcome>
-      <to-view-id>/edit_user_password.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>view_user</from-outcome>
-      <to-view-id>/view_user.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>create_user</from-outcome>
-      <to-view-id>/create_user.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>view_groups</from-outcome>
-      <to-view-id>/view_groups.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>view_group</from-outcome>
-      <to-view-id>/view_group.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>edit_group</from-outcome>
-      <to-view-id>/edit_group.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>create_group</from-outcome>
-      <to-view-id>/create_group.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>view_orgauthorities</from-outcome>
-      <to-view-id>/view_orgauthorities.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>view_orgauthority</from-outcome>
-      <to-view-id>/view_orgauthority.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <!-- search -->
-
-    <navigation-case>
-      <from-outcome>search_form</from-outcome>
-      <to-view-id>/search/search_form.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>search_results_nxql</from-outcome>
-      <to-view-id>/search/search_results_nxql.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>search_results_advanced</from-outcome>
-      <to-view-id>
-        /search/search_results_advanced.xhtml
-      </to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>search_results_simple</from-outcome>
-      <to-view-id>/search/search_results_simple.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <!-- miscellaneaous -->
-
-    <navigation-case>
-      <from-outcome>clipboard</from-outcome>
-      <to-view-id>/incl/clipboard.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>user_dashboard</from-outcome>
-      <to-view-id>/user_dashboard.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>select_workspace_template</from-outcome>
-      <to-view-id>/select_workspace_template.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>pdf_generation_error</from-outcome>
-      <to-view-id>/pdf_generation_error.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>mass_edit</from-outcome>
-      <to-view-id>/massedit_documents.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>mass_edit_confirm</from-outcome>
-      <to-view-id>/massedit_documents_preview.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-  </extension>
-
-</fragment>
-
diff --git a/services/place/3rdparty/nuxeo-platform-cs-place/src/main/resources/OSGI-INF/ecm-types-contrib.xml b/services/place/3rdparty/nuxeo-platform-cs-place/src/main/resources/OSGI-INF/ecm-types-contrib.xml
deleted file mode 100644 (file)
index 304c85b..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.place.ecm.types">
-  <extension target="org.nuxeo.ecm.platform.types.TypeService" point="types">
-    <type id="Placeauthority" coretype="Placeauthority">
-      <label>org.collectionspace.placeauthority</label>
-      <!--icon>/icons/file.gif</icon-->
-      <default-view>view_documents</default-view>
-
-      <layouts mode="any">
-        <layout>heading</layout>
-        <layout>csplaceauthority</layout>
-      </layouts>        
-    </type>
-
-    <type id="Folder" coretype="Folder">
-      <subtypes>
-        <type>Placeauthority</type>
-      </subtypes>
-    </type>
-    
-    <type id="Workspace" coretype="Workspace">
-      <subtypes>
-        <type>Placeauthority</type>
-      </subtypes>
-    </type>
-
-  </extension>
-  <extension target="org.nuxeo.ecm.platform.types.TypeService" point="types">
-    <type id="Placeitem" coretype="Placeitem">
-      <label>org.collectionspace.place</label>
-      <!--icon>/icons/file.gif</icon-->
-      <default-view>view_documents</default-view>
-
-      <layouts mode="any">
-        <layout>heading</layout>
-        <layout>place</layout>
-      </layouts>        
-    </type>
-
-    <type id="Folder" coretype="Folder">
-      <subtypes>
-        <type>Place</type>
-      </subtypes>
-    </type>
-    
-    <type id="Workspace" coretype="Workspace">
-      <subtypes>
-        <type>Place</type>
-      </subtypes>
-    </type>
-
-  </extension>
-</component>
diff --git a/services/place/3rdparty/nuxeo-platform-cs-place/src/main/resources/OSGI-INF/layouts-contrib.xml b/services/place/3rdparty/nuxeo-platform-cs-place/src/main/resources/OSGI-INF/layouts-contrib.xml
deleted file mode 100644 (file)
index e24523d..0000000
+++ /dev/null
@@ -1,240 +0,0 @@
-<?xml version="1.0"?>
-
-<component name="org.collectionspace.place.layouts.webapp">
-
-       <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
-    point="layouts">
-
-    <layout name="csplaceauthority">
-      <templates>
-        <template mode="any">/layouts/layout_default_template.xhtml</template>
-      </templates>
-      <rows>
-        <row><widget>displayName</widget></row>
-                               <row><widget>shortIdentifier</widget></row>
-        <row><widget>refName</widget></row>
-        <row><widget>vocabType</widget></row>
-      </rows>
-
-      <widget name="displayName" type="text">
-        <labels>
-          <label mode="any">Display Name</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="placeauthorities_common">displayName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="shortIdentifier" type="text">
-        <labels>
-          <label mode="any">Short Identifier</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="placeauthorities_common">shortIdentifier</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="refName" type="text">
-        <labels>
-          <label mode="any">RefName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="placeauthorities_common">refName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="vocabType" type="text">
-        <labels>
-          <label mode="any">Type</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="placeauthorities_common">vocabType</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-    </layout>
-  </extension>
-
-  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
-    point="layouts">
-
-               <layout name="place">
-      <templates>
-        <template mode="any">/layouts/layout_default_template.xhtml</template>
-      </templates>
-      <rows>
-        <row><widget>inAuthority</widget></row>
-                               <row><widget>shortIdentifier</widget></row>
-        <row><widget>refName</widget></row>
-        <row><widget>displayName</widget></row>
-        <row><widget>displayNameComputed</widget></row>
-        <row><widget>name</widget></row>
-        <row><widget>conditionNote</widget></row>
-        <row><widget>conditionNoteDate</widget></row>
-        <row><widget>securityNote</widget></row>
-        <row><widget>placeType</widget></row>
-        <row><widget>status</widget></row>
-      </rows>
-
-      <widget name="inAuthority" type="text">
-        <labels>
-          <label mode="any">inAuthority (PlaceAuthority)</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="places_common">inAuthority</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-
-      <widget name="shortIdentifier" type="text">
-        <labels>
-          <label mode="any">Short Identifier</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="places_common">shortIdentifier</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="refName" type="text">
-        <labels>
-          <label mode="any">refName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="places_common">refName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="displayName" type="text">
-        <labels>
-          <label mode="any">displayName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="placeauthorities_common">displayName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-                       <!-- This should be some kind of checkbox or something -->
-      <widget name="displayNameComputed" type="text">
-        <labels>
-          <label mode="any">displayNameComputed</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="placeauthorities_common">displayNameComputed</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="name" type="text">
-        <labels>
-          <label mode="any">name</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="places_common">name</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="conditionNote" type="text">
-        <labels>
-          <label mode="any">conditionNote</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="places_common">conditionNote</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="conditionNoteDate" type="text">
-        <labels>
-          <label mode="any">conditionNoteDate</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="places_common">conditionNoteDate</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="securityNote" type="text">
-        <labels>
-          <label mode="any">securityNote</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="places_common">securityNote</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="placeType" type="text">
-        <labels>
-          <label mode="any">placeType</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="places_common">placeType</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="status" type="text">
-        <labels>
-          <label mode="any">status</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="places_common">status</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-    </layout>
-  </extension>
-</component>
diff --git a/services/place/3rdparty/nuxeo-platform-cs-place/src/main/resources/OSGI-INF/life-cycle-contrib.xml b/services/place/3rdparty/nuxeo-platform-cs-place/src/main/resources/OSGI-INF/life-cycle-contrib.xml
deleted file mode 100644 (file)
index 3a8c0ab..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.ecm.platform.place.LifeCycleManagerExtensions">
-
-  <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
-             point="types">
-    <types>
-      <type name="Placeauthority">${Lifecycle}</type>
-      <type name="Placeitem">${Lifecycle}</type>
-    </types>
-  </extension>
-
-</component>
diff --git a/services/place/3rdparty/nuxeo-platform-cs-place/src/main/resources/schemas/README.txt b/services/place/3rdparty/nuxeo-platform-cs-place/src/main/resources/schemas/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/place/3rdparty/nuxeo-platform-cs-place/src/main/resources/schemas/placeauthorities_common.xsd b/services/place/3rdparty/nuxeo-platform-cs-place/src/main/resources/schemas/placeauthorities_common.xsd
deleted file mode 100644 (file)
index 25603c1..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-
-<!--
-    PlaceAuthority schema (XSD)
-    
-    Entity  : PlaceAuthority
-    Part    : Common
-    Used for: Nuxeo EP core document type
-    
-    $LastChangedRevision: 928 $
-    $LastChangedDate: 2009-11-10 12:25:58 -0800 (Tue, 10 Nov 2009) $
--->
-
-<xs:schema 
-  xmlns:xs="http://www.w3.org/2001/XMLSchema"
-  xmlns:ns="http://collectionspace.org/services/place"
-  xmlns="http://collectionspace.org/services/place"
-  targetNamespace="http://collectionspace.org/services/place"
-  version="0.1"
->
-
-<!-- Flattened version of jaxb schema for nuxeo -->
-<!-- See http://wiki.collectionspace.org/display/collectionspace/Place+Service+Home -->    
-
-               <!--  PlaceAuthority Information Group -->
-               <xs:element name="displayName" type="xs:string"/>
-               <xs:element name="shortIdentifier" type="xs:string"/>
-               <xs:element name="refName" type="xs:string"/>
-               <xs:element name="vocabType" type="xs:string"/>
-               <xs:element name="source" type="xs:string"/>
-               <xs:element name="description" type="xs:string"/>
-
-</xs:schema>
-
diff --git a/services/place/3rdparty/nuxeo-platform-cs-place/src/main/resources/schemas/places_common.xsd b/services/place/3rdparty/nuxeo-platform-cs-place/src/main/resources/schemas/places_common.xsd
deleted file mode 100644 (file)
index 034ba45..0000000
+++ /dev/null
@@ -1,161 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-
-<!--
-    Place schema (XSD)
-    
-    Entity  : Place
-    Part    : Common
-    Used for: Nuxeo EP core document type
-    
-    $LastChangedRevision: 860 $
-    $LastChangedDate: 2009-10-14 14:48:05 -0700 (Wed, 14 Oct 2009) $
--->
-
-<xs:schema 
-    xmlns:xs="http://www.w3.org/2001/XMLSchema"
-    xmlns:ns="http://collectionspace.org/services/place"
-    xmlns="http://collectionspace.org/services/place"
-    targetNamespace="http://collectionspace.org/services/place"
-    version="0.1"
->
-<!-- See http://wiki.collectionspace.org/display/collectionspace/Place+Service+Home -->    
-    <!--  Place Information Group -->
-    <!--  inAuthority is the csid of the owning PlaceAuthority -->
-    <xs:element name="inAuthority" type="xs:string" />
-    <xs:element name="shortIdentifier" type="xs:string"/>
-    <xs:element name="refName" type="xs:string"/>
-    
-    <!-- Term Information repeatable group -->
-    <xs:element name="placeTermGroupList" type="placeTermGroupList"/>
-        
-    <xs:element name="placeID" type="xs:string" />
-    <xs:element name="placeType" type="xs:string" />
-    <xs:element name="placeSource" type="xs:string" />
-    <xs:element name="placeNote" type="xs:string" />
-
-    <xs:element name="placeOwnerGroupList" type="placeOwnerGroupList"/>
-
-    <!-- Locality Information  -->
-    <xs:element name="vCoordinates" type="xs:string"/>
-    <xs:element name="vLatitude" type="xs:string"/>
-    <xs:element name="vLongitude" type="xs:string"/>
-    <xs:element name="vCoordSys" type="xs:string"/>
-    <xs:element name="vSpatialReferenceSystem" type="xs:string"/>
-    <xs:element name="vCoordSource" type="xs:string"/>
-    <xs:element name="vCoordSourceRefId" type="xs:string"/>
-    <xs:element name="vUnitofMeasure" type="xs:string"/>
-    <xs:element name="vElevation" type="xs:string"/>
-    <xs:element name="minElevationInMeters" type="xs:decimal"/>
-    <xs:element name="maxElevationInMeters" type="xs:decimal"/>
-    <xs:element name="vDepth" type="xs:string"/>
-    <xs:element name="minDepthInMeters" type="xs:decimal"/>
-    <xs:element name="maxDepthInMeters" type="xs:decimal"/>
-    <xs:element name="vDistanceAboveSurface" type="xs:string"/>
-    <xs:element name="minDistanceAboveSurfaceInMeters" type="xs:decimal"/>
-    <xs:element name="maxDistanceAboveSurfaceInMeters" type="xs:decimal"/>
-
-    <xs:element name="placeGeoRefGroupList" type="placeGeoRefGroupList"/>
-
-    
-    <xs:complexType name="placeOwnerGroupList">
-        <xs:sequence>
-            <xs:element name="placeOwnerGroup" type="placeOwnerGroup" minOccurs="0" maxOccurs="unbounded"/>
-        </xs:sequence>
-    </xs:complexType>
-
-    <xs:complexType name="placeOwnerGroup">
-        <xs:sequence>
-            <xs:element name="owner" type="xs:string"/>
-            <xs:element name="ownershipDateGroup" type="structuredDateGroup"/>
-            <xs:element name="ownershipNote" type="xs:string"/>
-        </xs:sequence>
-    </xs:complexType>
-    
-    <xs:complexType name="placeGeoRefGroupList">
-        <xs:sequence>
-            <xs:element name="placeGeoRefGroup" type="placeGeoRefGroup" minOccurs="0" maxOccurs="unbounded"/>
-        </xs:sequence>
-    </xs:complexType>
-
-    <xs:complexType name="placeGeoRefGroup">
-        <xs:sequence>
-            <xs:element name="decimalLatitude" type="xs:decimal"/>
-            <xs:element name="decimalLongitude" type="xs:decimal"/>
-            <xs:element name="geodeticDatum" type="xs:string"/>
-            <xs:element name="coordUncertaintyInMeters" type="xs:integer"/>
-            <xs:element name="coordPrecision" type="xs:string"/>
-            <xs:element name="pointRadiusSpatialFit" type="xs:string"/>
-            <xs:element name="footprintWKT" type="xs:string"/>
-            <xs:element name="footprintSRS" type="xs:string"/>
-            <xs:element name="footprintSpatialFit" type="xs:string"/>
-            <xs:element name="geoReferencedBy" type="xs:string"/>
-            <xs:element name="geoRefDateGroup" type="structuredDateGroup"/>
-            <xs:element name="geoRefProtocol" type="xs:string"/>
-            <xs:element name="geoRefSource" type="xs:string"/>
-            <xs:element name="geoRefVerificationStatus" type="xs:string"/>
-            <xs:element name="geoRefRemarks" type="xs:string"/>
-            <xs:element name="geoRefPlaceName" type="xs:string"/>
-        </xs:sequence>
-    </xs:complexType>
-
-    <!-- IMPORTANT: This structuredDateGroup MUST MATCH EXACTLY structuredDateGroups in other services, for example collectionobject.
-         Use your favorite text editor to REPLICATE IN THOSE OTHER INSTANCES ANY CHANGES MADE HERE. -->
-    <xs:complexType name="structuredDateGroup">
-        <xs:sequence>
-            <xs:element name="dateDisplayDate" type="xs:string"/>
-            <xs:element name="dateAssociation" type="xs:string"/>
-            <xs:element name="dateEarliestSingleYear" type="xs:integer"/>
-            <xs:element name="dateEarliestSingleMonth" type="xs:integer"/>
-            <xs:element name="dateEarliestSingleDay" type="xs:integer"/>
-            <xs:element name="dateEarliestSingleEra" type="xs:string"/>
-            <xs:element name="dateEarliestSingleCertainty" type="xs:string"/>
-            <xs:element name="dateEarliestSingleQualifier" type="xs:string"/>
-            <xs:element name="dateEarliestSingleQualifierValue" type="xs:integer"/>
-            <xs:element name="dateEarliestSingleQualifierUnit" type="xs:string"/>
-            <xs:element name="dateLatestYear" type="xs:integer"/>
-            <xs:element name="dateLatestMonth" type="xs:integer"/>
-            <xs:element name="dateLatestDay" type="xs:integer"/>
-            <xs:element name="dateLatestEra" type="xs:string"/>
-            <xs:element name="dateLatestCertainty" type="xs:string"/>
-            <xs:element name="dateLatestQualifier" type="xs:string"/>
-            <xs:element name="dateLatestQualifierValue" type="xs:integer"/>
-            <xs:element name="dateLatestQualifierUnit" type="xs:string"/>
-            <xs:element name="datePeriod" type="xs:string"/>
-            <xs:element name="dateNote" type="xs:string"/>
-            <xs:element name="dateEarliestScalarValue" type="xs:date"/>
-            <xs:element name="dateLatestScalarValue" type="xs:date"/>
-            <xs:element name="scalarValuesComputed" type="xs:boolean"/>
-        </xs:sequence>
-    </xs:complexType>
-    
-    <xs:complexType name="placeTermGroupList">
-        <xs:sequence>
-            <xs:element name="placeTermGroup" type="placeTermGroup" minOccurs="0" maxOccurs="unbounded"/>
-        </xs:sequence>
-    </xs:complexType>
-
-    <xs:complexType name="placeTermGroup">
-        <xs:sequence>
-                <!-- Common across all authority item terms -->
-            <xs:element name="termDisplayName" type="xs:string"/>
-            <xs:element name="termFormattedDisplayName" type="xs:string"/>
-            <xs:element name="termName" type="xs:string"/>
-            <xs:element name="termType" type="xs:string"/>
-            <xs:element name="termStatus" type="xs:string"/>
-            <xs:element name="termQualifier" type="xs:string"/>
-            <xs:element name="termLanguage" type="xs:string"/>
-            <xs:element name="termPrefForLang" type="xs:boolean"/>
-            <xs:element name="termSource" type="xs:string"/>
-            <xs:element name="termSourceDetail" type="xs:string"/>
-            <xs:element name="termSourceID" type="xs:string"/>
-            <xs:element name="termSourceNote" type="xs:string"/>
-            <!-- Specific to Place terms -->
-            <xs:element name="historicalStatus" type="xs:string"/>
-            <xs:element name="nameAbbrev" type="xs:string"/>
-            <xs:element name="nameNote" type="xs:string"/>
-            <xs:element name="nameDateGroup" type="structuredDateGroup"/>
-        </xs:sequence>
-    </xs:complexType>
-    
-</xs:schema>
-
diff --git a/services/taxonomy/3rdparty/nuxeo-platform-cs-taxonomy/src/main/resources/META-INF/MANIFEST.MF b/services/taxonomy/3rdparty/nuxeo-platform-cs-taxonomy/src/main/resources/META-INF/MANIFEST.MF
deleted file mode 100644 (file)
index c2fc4ef..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-Manifest-Version: 1.0 
-Bundle-ManifestVersion: 1 
-Bundle-Name: NuxeoCS
-Bundle-SymbolicName: org.collectionspace.taxonomy;singleton:=true 
-Bundle-Version: 1.0.0
-Bundle-Localization: plugin
-Bundle-Vendor: Nuxeo 
-Require-Bundle: org.nuxeo.runtime, 
- org.nuxeo.ecm.core.api, 
- org.nuxeo.ecm.core,
- org.nuxeo.ecm.core.api,
- org.nuxeo.ecm.platform.types.api,
- org.nuxeo.ecm.platform.versioning.api,
- org.nuxeo.ecm.platform.ui,
- org.nuxeo.ecm.platform.forms.layout.client,
- org.nuxeo.ecm.platform.ws,
- org.collectionspace.collectionspace_core
-Provide-Package: org.collectionspace.taxonomy
-Nuxeo-Component: OSGI-INF/core-types-contrib.xml,
- OSGI-INF/life-cycle-contrib.xml,
- OSGI-INF/ecm-types-contrib.xml,
- OSGI-INF/layouts-contrib.xml
-
diff --git a/services/taxonomy/3rdparty/nuxeo-platform-cs-taxonomy/src/main/resources/META-INF/README.txt b/services/taxonomy/3rdparty/nuxeo-platform-cs-taxonomy/src/main/resources/META-INF/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/taxonomy/3rdparty/nuxeo-platform-cs-taxonomy/src/main/resources/OSGI-INF/README.txt b/services/taxonomy/3rdparty/nuxeo-platform-cs-taxonomy/src/main/resources/OSGI-INF/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/taxonomy/3rdparty/nuxeo-platform-cs-taxonomy/src/main/resources/OSGI-INF/core-types-contrib.xml b/services/taxonomy/3rdparty/nuxeo-platform-cs-taxonomy/src/main/resources/OSGI-INF/core-types-contrib.xml
deleted file mode 100644 (file)
index eb83dd9..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.taxonomy.coreTypes">
-    <extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
-        <schema name="taxonomyauthority_common" prefix="taxonomyauthority_common" src="schemas/taxonomyauthority_common.xsd"/>
-    </extension>
-    <extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
-        <schema name="taxon_common" prefix="taxon_common" src="schemas/taxon_common.xsd"/>
-    </extension>
-    <extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">
-        <doctype name="Taxonomyauthority" extends="Document">
-            <schema name="common"/>
-            <schema name="collectionspace_core"/>
-            <schema name="dublincore"/>
-            <schema name="taxonomyauthority_common"/>
-        </doctype>
-    </extension>
-    <extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">
-        <doctype name="Taxon" extends="Document">
-            <schema name="common"/>
-            <schema name="collectionspace_core"/>
-            <schema name="dublincore"/>
-            <schema name="taxon_common"/>
-            <prefetch>
-                taxon_common:taxonTermGroupList/0/termDisplayName
-                taxon_common:refName
-                taxon_common:shortIdentifier
-            </prefetch>
-        </doctype>
-    </extension>
-</component>
diff --git a/services/taxonomy/3rdparty/nuxeo-platform-cs-taxonomy/src/main/resources/OSGI-INF/deployment-fragment.xml b/services/taxonomy/3rdparty/nuxeo-platform-cs-taxonomy/src/main/resources/OSGI-INF/deployment-fragment.xml
deleted file mode 100644 (file)
index 270abbd..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0"?>
-<fragment>
-
-  <extension target="application#MODULE">
-    <module>
-      <java>${bundle.fileName}</java>
-    </module>
-  </extension>
-  
-</fragment>
diff --git a/services/taxonomy/3rdparty/nuxeo-platform-cs-taxonomy/src/main/resources/OSGI-INF/ecm-types-contrib.xml b/services/taxonomy/3rdparty/nuxeo-platform-cs-taxonomy/src/main/resources/OSGI-INF/ecm-types-contrib.xml
deleted file mode 100644 (file)
index a305cbb..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.taxonomy.ecm.types">
-  <extension target="org.nuxeo.ecm.platform.types.TypeService" point="types">
-    <type id="Taxonomyauthority" coretype="Taxonomyauthority">
-      <label>org.collectionspace.taxonomyauthority</label>
-      <!--icon>/icons/file.gif</icon-->
-      <default-view>view_documents</default-view>
-
-      <layouts mode="any">
-        <layout>heading</layout>
-        <layout>cstaxonomyauthority</layout>
-      </layouts>        
-    </type>
-
-    <type id="Folder" coretype="Folder">
-      <subtypes>
-        <type>Taxonomyauthority</type>
-      </subtypes>
-    </type>
-    
-    <type id="Workspace" coretype="Workspace">
-      <subtypes>
-        <type>Taxonomyauthority</type>
-      </subtypes>
-    </type>
-
-  </extension>
-  <extension target="org.nuxeo.ecm.platform.types.TypeService" point="types">
-    <type id="Taxon" coretype="Taxon">
-      <label>org.collectionspace.taxon</label>
-      <!--icon>/icons/file.gif</icon-->
-      <default-view>view_documents</default-view>
-
-      <layouts mode="any">
-        <layout>heading</layout>
-        <layout>taxon</layout>
-      </layouts>        
-    </type>
-
-    <type id="Folder" coretype="Folder">
-      <subtypes>
-        <type>Taxon</type>
-      </subtypes>
-    </type>
-    
-    <type id="Workspace" coretype="Workspace">
-      <subtypes>
-        <type>Taxon</type>
-      </subtypes>
-    </type>
-
-  </extension>
-</component>
diff --git a/services/taxonomy/3rdparty/nuxeo-platform-cs-taxonomy/src/main/resources/OSGI-INF/layouts-contrib.xml b/services/taxonomy/3rdparty/nuxeo-platform-cs-taxonomy/src/main/resources/OSGI-INF/layouts-contrib.xml
deleted file mode 100644 (file)
index c286fa5..0000000
+++ /dev/null
@@ -1,184 +0,0 @@
-<?xml version="1.0"?>
-
-<component name="org.collectionspace.taxonomy.layouts.webapp">
-
-       <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
-    point="layouts">
-
-    <layout name="cstaxonomyauthority">
-      <templates>
-        <template mode="any">/layouts/layout_default_template.xhtml</template>
-      </templates>
-      <rows>
-        <row><widget>displayName</widget></row>
-        <row><widget>shortIdentifier</widget></row>
-        <row><widget>refName</widget></row>
-        <row><widget>vocabType</widget></row>
-      </rows>
-
-      <widget name="displayName" type="text">
-        <labels>
-          <label mode="any">Display Name</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="taxonomyauthority_common">displayName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="shortIdentifier" type="text">
-        <labels>
-          <label mode="any">Short Identifier</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="taxonomyauthority_common">shortIdentifier</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="refName" type="text">
-        <labels>
-          <label mode="any">RefName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="taxonomyauthority_common">refName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="vocabType" type="text">
-        <labels>
-          <label mode="any">Type</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="taxonomyauthority_common">vocabType</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-    </layout>
-  </extension>
-
-  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
-    point="layouts">
-
-    <layout name="taxon">
-      <templates>
-        <template mode="any">/layouts/layout_default_template.xhtml</template>
-      </templates>
-      <rows>
-        <row><widget>inAuthority</widget></row>
-        <row><widget>shortIdentifier</widget></row>
-        <row><widget>refName</widget></row>
-        <row><widget>displayName</widget></row>
-        <row><widget>displayNameComputed</widget></row>
-        <row><widget>taxonFullName</widget></row>
-        <row><widget>taxonRank</widget></row>
-      </rows>
-
-      <widget name="inAuthority" type="text">
-        <labels>
-          <label mode="any">inAuthority (TaxonomyAuthority)</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="taxon_common">inAuthority</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-
-      <widget name="shortIdentifier" type="text">
-        <labels>
-          <label mode="any">Short Identifier</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="taxon_common">shortIdentifier</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="refName" type="text">
-        <labels>
-          <label mode="any">refName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="taxon_common">refName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="displayName" type="text">
-        <labels>
-          <label mode="any">displayName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="taxonomyauthority_common">displayName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <!-- This should be some kind of checkbox or something -->
-      <widget name="displayNameComputed" type="text">
-        <labels>
-          <label mode="any">displayNameComputed</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="taxonomyauthority_common">displayNameComputed</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="taxonFullName" type="text">
-        <labels>
-          <label mode="any">taxonFullName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="taxon_common">taxonFullName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="taxonRank" type="text">
-        <labels>
-          <label mode="any">taxonRank</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="taxon_common">taxonRank</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-    </layout>
-  </extension>
-</component>
diff --git a/services/taxonomy/3rdparty/nuxeo-platform-cs-taxonomy/src/main/resources/OSGI-INF/life-cycle-contrib.xml b/services/taxonomy/3rdparty/nuxeo-platform-cs-taxonomy/src/main/resources/OSGI-INF/life-cycle-contrib.xml
deleted file mode 100644 (file)
index d6b94aa..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.ecm.platform.taxonomy.LifeCycleManagerExtensions">
-
-  <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
-             point="types">
-    <types>
-      <type name="Taxonomyauthority">${Lifecycle}</type>
-      <type name="Taxon">${Lifecycle}</type>
-    </types>
-  </extension>
-
-</component>
diff --git a/services/taxonomy/3rdparty/nuxeo-platform-cs-taxonomy/src/main/resources/schemas/README.txt b/services/taxonomy/3rdparty/nuxeo-platform-cs-taxonomy/src/main/resources/schemas/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/taxonomy/3rdparty/nuxeo-platform-cs-taxonomy/src/main/resources/schemas/taxon_common.xsd b/services/taxonomy/3rdparty/nuxeo-platform-cs-taxonomy/src/main/resources/schemas/taxon_common.xsd
deleted file mode 100644 (file)
index 749b5d1..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-
-<!--
-    Taxon schema (XSD)
-    
-    Entity  : Taxon (item child of a TaxonomyAuthority) 
-    Part    : Common
-    Used for: Nuxeo EP core document type
-    
-    $LastChangedRevision: 4622 $
-    $LastChangedDate: 2011-05-05 16:51:51 -0700 (Thu, 05 May 2011) $
--->
-
-<xs:schema 
-    xmlns:xs="http://www.w3.org/2001/XMLSchema"
-    xmlns:ns="http://collectionspace.org/services/taxonomy"
-    xmlns="http://collectionspace.org/services/taxonomy"
-    targetNamespace="http://collectionspace.org/services/taxonomy"
-    version="0.1"
->
-<!-- See http://wiki.collectionspace.org/display/collectionspace/Taxonomy+Service+Home -->    
-
-    <!--  Taxonomic Identifier Information Group -->
-    <!--  inAuthority is the csid of the owning TaxonomyAuthority -->
-    <xs:element name="inAuthority" type="xs:string" />
-    <xs:element name="shortIdentifier" type="xs:string"/>
-    <xs:element name="refName" type="xs:string"/>
-    
-    <!-- Term Information repeatable group -->
-    <xs:element name="taxonTermGroupList" type="taxonTermGroupList"/>
-
-    <xs:element name="description" type="xs:string"/>
-    <xs:element name="taxonRank" type="xs:string"/>
-    <xs:element name="taxonCurrency" type="xs:string"/>
-    <xs:element name="taxonAuthorGroupList" type="taxonAuthorGroupList"/>
-    <xs:element name="taxonYear" type="xs:string"/>
-    <xs:element name="taxonCitationList" type="taxonCitationList"/>
-    <xs:element name="taxonNote" type="xs:string"/>
-    <xs:element name="taxonIsNamedHybrid" type="xs:boolean"/>
-    <xs:element name="commonNameGroupList" type="commonNameGroupList"/>
-
-    <xs:complexType name="taxonAuthorGroupList">
-        <xs:sequence>
-            <xs:element name="taxonAuthorGroup" type="taxonAuthorGroup" minOccurs="0" maxOccurs="unbounded"/>
-        </xs:sequence>
-    </xs:complexType>
-
-    <xs:complexType name="taxonAuthorGroup">
-        <xs:sequence>
-            <xs:element name="taxonAuthor" type="xs:string"/>
-            <xs:element name="taxonAuthorType" type="xs:string"/>
-        </xs:sequence>
-    </xs:complexType>
-    
-    <xs:complexType name="taxonCitationList">
-        <xs:sequence>
-            <xs:element name="taxonCitation" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
-        </xs:sequence>
-    </xs:complexType>
-    
-    <xs:complexType name="commonNameGroupList">
-        <xs:sequence>
-            <xs:element name="commonNameGroup" type="commonNameGroup" minOccurs="0" maxOccurs="unbounded"/>
-        </xs:sequence>
-    </xs:complexType>
-
-    <xs:complexType name="commonNameGroup">
-        <xs:sequence>
-            <xs:element name="commonName" type="xs:string"/>
-            <xs:element name="commonNameLanguage" type="xs:string"/>
-            <xs:element name="commonNameSource" type="xs:string"/>
-            <xs:element name="commonNameSourceDetail" type="xs:string"/>
-        </xs:sequence>
-    </xs:complexType>
-    
-    <xs:complexType name="taxonTermGroupList">
-        <xs:sequence>
-            <xs:element name="taxonTermGroup" type="taxonTermGroup" minOccurs="0" maxOccurs="unbounded"/>
-        </xs:sequence>
-    </xs:complexType>
-
-    <xs:complexType name="taxonTermGroup">
-        <xs:sequence>
-            <!-- Common across all authority item terms -->
-            <xs:element name="termDisplayName" type="xs:string"/>
-            <xs:element name="termFormattedDisplayName" type="xs:string"/>
-            <xs:element name="termName" type="xs:string"/>
-            <xs:element name="termType" type="xs:string"/>
-            <xs:element name="termStatus" type="xs:string"/>
-            <xs:element name="termQualifier" type="xs:string"/>
-            <xs:element name="termLanguage" type="xs:string"/>
-            <xs:element name="termPrefForLang" type="xs:boolean"/>
-            <xs:element name="termSource" type="xs:string"/>
-            <xs:element name="termSourceDetail" type="xs:string"/>
-            <xs:element name="termSourceID" type="xs:string"/>
-            <xs:element name="termSourceNote" type="xs:string"/>
-            <!-- Specific to Taxon terms -->
-            <xs:element name="taxonomicStatus" type="xs:string"/>
-        </xs:sequence>
-    </xs:complexType>
-    
-</xs:schema>
-
diff --git a/services/taxonomy/3rdparty/nuxeo-platform-cs-taxonomy/src/main/resources/schemas/taxonomyauthority_common.xsd b/services/taxonomy/3rdparty/nuxeo-platform-cs-taxonomy/src/main/resources/schemas/taxonomyauthority_common.xsd
deleted file mode 100644 (file)
index 01033f7..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-
-<!--
-    TaxonomyAuthority schema (XSD)
-    
-    Entity  : TaxonomyAuthority
-    Part    : Common
-    Used for: Nuxeo EP core document type
-    
-    $LastChangedRevision$
-    $LastChangedDate$
--->
-
-<xs:schema 
-  xmlns:xs="http://www.w3.org/2001/XMLSchema"
-  xmlns:ns="http://collectionspace.org/services/taxonomy"
-  xmlns="http://collectionspace.org/services/taxonomy"
-  targetNamespace="http://collectionspace.org/services/taxonomy"
-  version="0.1"
->
-
-        <!-- Flattened version of jaxb schema for nuxeo -->
-        <!-- See http://wiki.collectionspace.org/display/collectionspace/Taxonomy+Service+Home -->    
-
-               <!--  TaxonomyAuthority Information Group -->
-               <xs:element name="displayName" type="xs:string"/>
-               <xs:element name="shortIdentifier" type="xs:string"/>
-               <xs:element name="refName" type="xs:string"/>
-               <xs:element name="vocabType" type="xs:string"/>
-               <xs:element name="source" type="xs:string"/>
-               <xs:element name="description" type="xs:string"/>
-
-</xs:schema>
-
diff --git a/services/vocabulary/3rdparty/nuxeo-platform-cs-vocabulary/src/main/resources/META-INF/MANIFEST.MF b/services/vocabulary/3rdparty/nuxeo-platform-cs-vocabulary/src/main/resources/META-INF/MANIFEST.MF
deleted file mode 100644 (file)
index affac9a..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-Manifest-Version: 1.0 \r
-Bundle-ManifestVersion: 1 \r
-Bundle-Name: NuxeoCS\r
-Bundle-SymbolicName: org.collectionspace.vocabulary;singleton:=true \r
-Bundle-Version: 1.0.0\r
-Bundle-Localization: plugin\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.core.api,\r
- org.nuxeo.ecm.platform.types.api,\r
- org.nuxeo.ecm.platform.versioning.api,\r
- org.nuxeo.ecm.platform.ui,\r
- org.nuxeo.ecm.platform.forms.layout.client,\r
- org.nuxeo.ecm.platform.ws,\r
- org.collectionspace.collectionspace_core\r
-Provide-Package: org.collectionspace.vocabulary\r
-Nuxeo-Component: OSGI-INF/core-types-contrib.xml,\r
- OSGI-INF/life-cycle-contrib.xml,\r
- OSGI-INF/ecm-types-contrib.xml,\r
- OSGI-INF/layouts-contrib.xml\r
-\r
diff --git a/services/vocabulary/3rdparty/nuxeo-platform-cs-vocabulary/src/main/resources/META-INF/README.txt b/services/vocabulary/3rdparty/nuxeo-platform-cs-vocabulary/src/main/resources/META-INF/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/vocabulary/3rdparty/nuxeo-platform-cs-vocabulary/src/main/resources/OSGI-INF/README.txt b/services/vocabulary/3rdparty/nuxeo-platform-cs-vocabulary/src/main/resources/OSGI-INF/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/vocabulary/3rdparty/nuxeo-platform-cs-vocabulary/src/main/resources/OSGI-INF/core-types-contrib.xml b/services/vocabulary/3rdparty/nuxeo-platform-cs-vocabulary/src/main/resources/OSGI-INF/core-types-contrib.xml
deleted file mode 100644 (file)
index bc3e90c..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.vocabulary.coreTypes">
-  <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>
-</component>
diff --git a/services/vocabulary/3rdparty/nuxeo-platform-cs-vocabulary/src/main/resources/OSGI-INF/deployment-fragment.xml b/services/vocabulary/3rdparty/nuxeo-platform-cs-vocabulary/src/main/resources/OSGI-INF/deployment-fragment.xml
deleted file mode 100644 (file)
index 270abbd..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0"?>
-<fragment>
-
-  <extension target="application#MODULE">
-    <module>
-      <java>${bundle.fileName}</java>
-    </module>
-  </extension>
-  
-</fragment>
diff --git a/services/vocabulary/3rdparty/nuxeo-platform-cs-vocabulary/src/main/resources/OSGI-INF/ecm-types-contrib.xml b/services/vocabulary/3rdparty/nuxeo-platform-cs-vocabulary/src/main/resources/OSGI-INF/ecm-types-contrib.xml
deleted file mode 100644 (file)
index 5b10b8d..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.vocabulary.ecm.types">
-  <extension target="org.nuxeo.ecm.platform.types.TypeService" point="types">
-    <type id="Vocabulary" coretype="Vocabulary">
-      <label>org.collectionspace.vocabulary</label>
-      <!--icon>/icons/file.gif</icon-->
-      <default-view>view_documents</default-view>
-
-      <layouts mode="any">
-        <layout>heading</layout>
-        <layout>collectionspace_core</layout>
-        <layout>csvocabulary</layout>
-      </layouts>        
-    </type>
-
-    <type id="Folder" coretype="Folder">
-      <subtypes>
-        <type>Vocabulary</type>
-      </subtypes>
-    </type>
-    
-    <type id="Workspace" coretype="Workspace">
-      <subtypes>
-        <type>Vocabulary</type>
-      </subtypes>
-    </type>
-
-  </extension>
-  <extension target="org.nuxeo.ecm.platform.types.TypeService" point="types">
-    <type id="Vocabularyitem" coretype="Vocabularyitem">
-      <label>org.collectionspace.vocabularyitem</label>
-      <!--icon>/icons/file.gif</icon-->
-      <default-view>view_documents</default-view>
-
-      <layouts mode="any">
-        <layout>heading</layout>
-        <layout>collectionspace_core</layout>
-        <layout>vocabularyitem</layout>
-      </layouts>        
-    </type>
-
-    <type id="Folder" coretype="Folder">
-      <subtypes>
-        <type>Vocabularyitem</type>
-      </subtypes>
-    </type>
-    
-    <type id="Workspace" coretype="Workspace">
-      <subtypes>
-        <type>Vocabularyitem</type>
-      </subtypes>
-    </type>
-
-  </extension>
-</component>
diff --git a/services/vocabulary/3rdparty/nuxeo-platform-cs-vocabulary/src/main/resources/OSGI-INF/layouts-contrib.xml b/services/vocabulary/3rdparty/nuxeo-platform-cs-vocabulary/src/main/resources/OSGI-INF/layouts-contrib.xml
deleted file mode 100644 (file)
index 4171bb9..0000000
+++ /dev/null
@@ -1,169 +0,0 @@
-<?xml version="1.0"?>
-
-<component name="org.collectionspace.vocabulary.layouts.webapp">
-
-       <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
-    point="layouts">
-
-    <layout name="csvocabulary">
-      <templates>
-        <template mode="any">/layouts/layout_default_template.xhtml</template>
-      </templates>
-      <rows>
-        <row><widget>displayName</widget></row>
-        <row><widget>shortIdentifier</widget></row>
-       <row><widget>CSID</widget></row>
-       <row><widget>refName</widget></row>
-        <row><widget>vocabType</widget></row>
-      </rows>
-
-      <widget name="displayName" type="text">
-        <labels>
-          <label mode="any">Display Name</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="vocabularies_common">displayName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="shortIdentifier" type="text">
-        <labels>
-          <label mode="any">Short Identifier</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="vocabularies_common">shortIdentifier</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="CSID" type="text">
-        <labels>
-          <label mode="any">CSID</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field>ecm:name</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="refName" type="text">
-        <labels>
-          <label mode="any">RefName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="vocabularies_common">refName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="vocabType" type="text">
-        <labels>
-          <label mode="any">Type</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="vocabularies_common">vocabType</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-    </layout>
-  </extension>
-
-  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
-    point="layouts">
-
-               <layout name="vocabularyitem">
-      <templates>
-        <template mode="any">/layouts/layout_default_template.xhtml</template>
-      </templates>
-      <rows>
-        <row><widget>displayName</widget></row>
-        <row><widget>shortIdentifier</widget></row>
-        <row><widget>refName</widget></row>
-        <row><widget>inAuthority</widget></row>
-        <row><widget>status</widget></row>
-      </rows>
-
-      <widget name="displayName" type="text">
-        <labels>
-          <label mode="any">Display Name</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="vocabularyitems_common">displayName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="shortIdentifier" type="text">
-        <labels>
-          <label mode="any">Short Identifier</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="vocabularyitems_common">shortIdentifier</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="refName" type="text">
-        <labels>
-          <label mode="any">RefName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="vocabularyitems_common">refName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="inAuthority" type="text">
-        <labels>
-          <label mode="any">inAuthority</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="vocabularyitems_common">inAuthority</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-
-      <widget name="status" type="text">
-        <labels>
-          <label mode="any">Status</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="vocabularyitems_common">status</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-
-    </layout>
-  </extension>
-</component>
diff --git a/services/vocabulary/3rdparty/nuxeo-platform-cs-vocabulary/src/main/resources/OSGI-INF/life-cycle-contrib.xml b/services/vocabulary/3rdparty/nuxeo-platform-cs-vocabulary/src/main/resources/OSGI-INF/life-cycle-contrib.xml
deleted file mode 100644 (file)
index d17f74d..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.ecm.platform.vocabulary.LifeCycleManagerExtensions">
-
-  <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
-             point="types">
-    <types>
-      <type name="Vocabulary">${Lifecycle}</type>
-      <type name="Vocabularyitem">${Lifecycle}</type>
-    </types>
-  </extension>
-
-</component>
index 63bcc64a491b840adf13a0877ede7be461cc4595..fbefc97b1f0e137ba32145078757809a07af4f76 100644 (file)
@@ -1,4 +1,16 @@
-The schema file here should be generated from the one defined for JAXB in:\r
-{root, e.g., trunk}\services\vocabulary\jaxb\src\main\resources\vocabulary-common.xsd\r
+Files formerly located in this directory are no longer needed\r
+-------------------------------------------------------------\r
 \r
-Soon, we should do this with a tool (XSLT).
\ No newline at end of file
+In CollectionSpace versions 4.0 and higher, changes were introduced\r
+which streamline and simplify the process through which you configure\r
+fields in CollectionSpace's main record types.\r
+\r
+In most cases now, you will typically change the behavior of existing fields,\r
+or create extension schemas to add new fields specific to your museum and/or\r
+community of practice, merely by editing simpler XML-based configuration\r
+files within CollectionSpace's Application layer.\r
+\r
+Services layer files that were formerly located in this directory and\r
+other, similar directories - which you previously needed to manually\r
+create or edit - are now generated automatically from your configuration\r
+in the Application layer.
\ No newline at end of file
diff --git a/services/vocabulary/3rdparty/nuxeo-platform-cs-vocabulary/src/main/resources/schemas/vocabularies_common.xsd b/services/vocabulary/3rdparty/nuxeo-platform-cs-vocabulary/src/main/resources/schemas/vocabularies_common.xsd
deleted file mode 100644 (file)
index f6e24bf..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-
-<!--
-    Vocabulary schema (XSD)
-    
-    Entity  : Vocabulary
-    Part    : Common
-    Used for: Nuxeo EP core document type
-    
-    $LastChangedRevision$
-    $LastChangedDate$
--->
-
-<xs:schema 
-  xmlns:xs="http://www.w3.org/2001/XMLSchema"
-  xmlns:ns="http://collectionspace.org/services/vocabulary"
-  xmlns="http://collectionspace.org/services/vocabulary"
-  targetNamespace="http://collectionspace.org/services/vocabulary"
-  version="0.1"
->
-
-<!-- Flattened version of jaxb schema for nuxeo -->
-<!-- See http://wiki.collectionspace.org/display/collectionspace/Vocabulary+Schema -->    
-
-               <!--  Vocabulary Information Group -->
-               <xs:element name="displayName" type="xs:string"/>
-               <xs:element name="refName" type="xs:string"/>
-               <xs:element name="shortIdentifier" type="xs:string"/>
-               <xs:element name="vocabType" type="xs:string"/>
-               <xs:element name="source" type="xs:string"/>
-               <xs:element name="description" type="xs:string"/>
-
-</xs:schema>
-
diff --git a/services/vocabulary/3rdparty/nuxeo-platform-cs-vocabulary/src/main/resources/schemas/vocabularyitems_common.xsd b/services/vocabulary/3rdparty/nuxeo-platform-cs-vocabulary/src/main/resources/schemas/vocabularyitems_common.xsd
deleted file mode 100644 (file)
index 9fd13e6..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-
-<!--
-    VocabularyItem schema (XSD)
-    
-    Entity  : VocabularyItem
-    Part    : Common
-    Used for: Nuxeo EP core document type
-    
-    $LastChangedRevision$
-    $LastChangedDate$
--->
-
-<xs:schema 
-  xmlns:xs="http://www.w3.org/2001/XMLSchema"
-  xmlns:ns="http://collectionspace.org/services/vocabulary"
-  xmlns="http://collectionspace.org/services/vocabulary"
-  targetNamespace="http://collectionspace.org/services/vocabulary"
-  version="0.1"
->
-<!-- See http://wiki.collectionspace.org/display/collectionspace/Vocabulary+Schema -->    
-
-    <!--  VocabularyItem Information Group -->
-    <!--  inVocabulary is the csid of the owning Vocabulary -->
-    <xs:element name="inAuthority" type="xs:string" />
-    <xs:element name="refName" type="xs:string"/>
-    <xs:element name="shortIdentifier" type="xs:string"/>
-    <xs:element name="termStatus" type="xs:string"/>
-    <xs:element name="displayName" type="xs:string"/>
-    <xs:element name="order" type="xs:string"/>
-    <xs:element name="source" type="xs:string"/>
-    <xs:element name="sourcePage" type="xs:string"/>
-    <xs:element name="description" type="xs:string"/>
-</xs:schema>
-
diff --git a/services/work/3rdparty/nuxeo-platform-cs-work/src/main/resources/META-INF/MANIFEST.MF b/services/work/3rdparty/nuxeo-platform-cs-work/src/main/resources/META-INF/MANIFEST.MF
deleted file mode 100644 (file)
index 988d890..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-Manifest-Version: 1.0 
-Bundle-ManifestVersion: 1 
-Bundle-Name: NuxeoCS
-Bundle-SymbolicName: org.collectionspace.work;singleton:=true 
-Bundle-Version: 1.0.0
-Bundle-Localization: plugin
-Bundle-Vendor: Nuxeo 
-Require-Bundle: org.nuxeo.runtime, 
- org.nuxeo.ecm.core.api, 
- org.nuxeo.ecm.core,
- org.nuxeo.ecm.core.api,
- org.nuxeo.ecm.platform.types.api,
- org.nuxeo.ecm.platform.versioning.api,
- org.nuxeo.ecm.platform.ui,
- org.nuxeo.ecm.platform.forms.layout.client,
- org.nuxeo.ecm.platform.ws,
- org.collectionspace.collectionspace_core
-Provide-Package: org.collectionspace.work
-Nuxeo-Component: OSGI-INF/core-types-contrib.xml,
- OSGI-INF/life-cycle-contrib.xml,
- OSGI-INF/ecm-types-contrib.xml,
- OSGI-INF/layouts-contrib.xml
diff --git a/services/work/3rdparty/nuxeo-platform-cs-work/src/main/resources/META-INF/README.txt b/services/work/3rdparty/nuxeo-platform-cs-work/src/main/resources/META-INF/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/work/3rdparty/nuxeo-platform-cs-work/src/main/resources/OSGI-INF/README.txt b/services/work/3rdparty/nuxeo-platform-cs-work/src/main/resources/OSGI-INF/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/work/3rdparty/nuxeo-platform-cs-work/src/main/resources/OSGI-INF/core-types-contrib.xml b/services/work/3rdparty/nuxeo-platform-cs-work/src/main/resources/OSGI-INF/core-types-contrib.xml
deleted file mode 100644 (file)
index daf074d..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.work.coreTypes">
-    <extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
-        <schema name="workauthorities_common" prefix="workauthorities_common" src="schemas/workauthorities_common.xsd"/>
-    </extension>
-    <extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
-        <schema name="works_common" prefix="works_common" src="schemas/works_common.xsd"/>
-    </extension>
-    <extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">
-        <doctype name="Workauthority" extends="Document">
-            <schema name="common"/>
-            <schema name="collectionspace_core"/>
-            <schema name="dublincore"/>
-            <schema name="workauthorities_common"/>
-        </doctype>
-    </extension>
-    <extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">
-        <doctype name="Workitem" extends="Document">
-            <schema name="common"/>
-            <schema name="collectionspace_core"/>
-            <schema name="dublincore"/>
-            <schema name="works_common"/>
-            <prefetch>
-                works_common:workTermGroupList/0/termDisplayName
-                works_common:refName
-                works_common:shortIdentifier
-            </prefetch>
-        </doctype>
-    </extension>
-</component>
diff --git a/services/work/3rdparty/nuxeo-platform-cs-work/src/main/resources/OSGI-INF/deployment-fragment.xml b/services/work/3rdparty/nuxeo-platform-cs-work/src/main/resources/OSGI-INF/deployment-fragment.xml
deleted file mode 100644 (file)
index 8bbdd72..0000000
+++ /dev/null
@@ -1,408 +0,0 @@
-<?xml version="1.0"?>
-<fragment>
-
-  <extension target="application#MODULE">
-    <module>
-      <ejb>${bundle.fileName}</ejb>
-    </module>
-
-    <module>
-      <web>
-        <web-uri>nuxeo.war</web-uri>
-        <context-root>/nuxeo</context-root>
-      </web>
-    </module>
-  </extension>
-
-  <!-- uncomment that to enable tomcat based auth
-    <extension target="web#LOGIN-CONFIG">
-    <login-config>
-    <auth-method>FORM</auth-method>
-    <realm-name>nuxeo.ecm</realm-name>
-    <form-login-config>
-    <form-login-page>/login.jsp</form-login-page>
-    <form-error-page>/login.jsp?loginFailed=true</form-error-page>
-    </form-login-config>
-    </login-config>
-    </extension>
-  -->
-
-  <extension target="web#FILTER-MAPPING">
-
-    <!-- Seam Context Filter is declared in org.nuxeo.ecm.platform.ui.web
-      deployment fragment -->
-
-    <filter-mapping>
-      <filter-name>Seam Context Filter</filter-name>
-      <url-pattern>/ws/FileManageWS</url-pattern>
-    </filter-mapping>
-
-    <filter-mapping>
-      <filter-name>Seam Context Filter</filter-name>
-      <url-pattern>/DocumentManagerWS</url-pattern>
-    </filter-mapping>
-  </extension>
-
-  <extension target="web#SERVLET">
-  </extension>
-
-  <extension target="web#SERVLET-MAPPING">
-  </extension>
-
-  <extension target="pages#PAGES">
-    <!-- This calls a method which load the Workspace logo -->
-    <page view-id="/showLogo.xhtml" action="#{logoHelper.getLogo}"/>
-
-    <!-- Bind URL to the Document URL resolver-->
-    <page view-id="/getDocument.xhtml"
-        action="#{navigationContext.navigateToURL}">
-    </page>
-
-    <page view-id="/nxliveedit.xhtml" action="#{liveEditHelper.getBootstrap()}"/>
-
-    <!-- Bind URL to the Parallele conversation Document URL resolver-->
-    <page view-id="/parallele.xhtml"
-        action="#{paralleleNavigationHelper.navigateToURL}">
-    </page>
-
-    <!-- Post login and 'home' view handler -->
-    <page view-id="/nxstartup.xhtml"
-        action="#{startupHelper.initDomainAndFindStartupPage('Default domain', 'view')}"/>
-
-    <!-- To redirect to the user dashboard instead, use instead:
-
-      <page view-id="/nxstartup.xhtml"
-      action="#{startupHelper.initDomainAndFindStartupPage('Default domain', 'user_dashboard')}" />
-    -->
-
-    <!--  config for workspace management
-      = give a description for each viewId
-    -->
-
-    <page view-id="/view_domains.xhtml">
-      #{currentServerLocation.name}/#{currentTabAction.label}
-    </page>
-
-    <page view-id="/select_document_type.faces.xhtml">
-      Create new document in #{currentDocument.name}
-    </page>
-
-    <page view-id="/create_document.faces.xhtml">
-      Create new document in #{currentDocument.name}
-    </page>
-
-    <page view-id="/user_dashboard.xhtml">
-      breadcrumb=command.user_dashboard
-    </page>
-
-    <page view-id="/view_users.xhtml">
-      breadcrumb=command.manageMembers
-    </page>
-
-    <page view-id="/view_many_users.xhtml">
-      breadcrumb=command.manageMembers
-    </page>
-
-    <page view-id="/view_orgauthorities.xhtml">
-      breadcrumb=title.orgauthorities
-    </page>
-
-    <page view-id="/search/search_form.xhtml">
-      breadcrumb=command.advancedSearch
-    </page>
-  </extension>
-
-  <extension target="faces-config#APPLICATION">
-    <locale-config>
-      <default-locale>en</default-locale>
-      <supported-locale>en_GB</supported-locale>
-      <supported-locale>en_US</supported-locale>
-      <supported-locale>fr</supported-locale>
-      <supported-locale>de</supported-locale>
-      <supported-locale>es</supported-locale>
-      <supported-locale>it</supported-locale>
-      <supported-locale>ar</supported-locale>
-      <supported-locale>ru</supported-locale>
-      <supported-locale>ja</supported-locale>
-      <supported-locale>vn</supported-locale>
-    </locale-config>
-
-    <message-bundle>messages</message-bundle>
-  </extension>
-
-  <extension target="components#PAGEFLOW">
-    <value>config/addWorkspace.jpdl.xml</value>
-  </extension>
-
-  <extension target="faces-config#NAVIGATION">
-    <!-- generic pages -->
-    <navigation-case>
-      <from-outcome>generic_error_page</from-outcome>
-      <to-view-id>/generic_error_page.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>generic_message_page</from-outcome>
-      <to-view-id>/generic_message_page.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>home</from-outcome>
-      <to-view-id>/nxstartup.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>user_login</from-outcome>
-      <to-view-id>/login.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>user_logout</from-outcome>
-      <to-view-id>/logout.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>view_servers</from-outcome>
-      <to-view-id>/view_servers.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <!-- pages for document actions -->
-
-    <navigation-case>
-      <from-outcome>view_domains</from-outcome>
-      <to-view-id>/view_domains.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>select_document_type</from-outcome>
-      <to-view-id>/select_document_type.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>create_document</from-outcome>
-      <to-view-id>/create_document.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>edit_document</from-outcome>
-      <to-view-id>/edit_document.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>view_documents</from-outcome>
-      <to-view-id>/view_documents.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>create_file</from-outcome>
-      <to-view-id>/create_file.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>create_workspace_wizard</from-outcome>
-      <to-view-id>/createWorkspaceWizard.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>send_email</from-outcome>
-      <to-view-id>/document_email.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <!-- AT: BBB, use view_documents instead -->
-    <navigation-case>
-      <from-outcome>view_workspaces</from-outcome>
-      <to-view-id>/view_workspaces.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <!-- AT: BBB, use create_document instead -->
-    <navigation-case>
-      <from-outcome>create_domain</from-outcome>
-      <to-view-id>/create_domain.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <!-- AT: BBB, use edit_document instead -->
-    <navigation-case>
-      <from-outcome>edit_domain</from-outcome>
-      <to-view-id>/edit_domain.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <!-- AT: BBB, use create_document instead -->
-    <navigation-case>
-      <from-outcome>create_workspace</from-outcome>
-      <to-view-id>/create_workspace.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <!-- AT: BBB, use edit_document instead -->
-    <navigation-case>
-      <from-outcome>edit_workspace</from-outcome>
-      <to-view-id>/edit_workspace.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <!-- users ang groups -->
-
-    <navigation-case>
-      <from-outcome>members_management</from-outcome>
-      <to-view-id>/members_management.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>view_users</from-outcome>
-      <to-view-id>/view_users.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>view_many_users</from-outcome>
-      <to-view-id>/view_many_users.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>edit_user</from-outcome>
-      <to-view-id>/edit_user.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>edit_user_password</from-outcome>
-      <to-view-id>/edit_user_password.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>view_user</from-outcome>
-      <to-view-id>/view_user.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>create_user</from-outcome>
-      <to-view-id>/create_user.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>view_groups</from-outcome>
-      <to-view-id>/view_groups.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>view_group</from-outcome>
-      <to-view-id>/view_group.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>edit_group</from-outcome>
-      <to-view-id>/edit_group.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>create_group</from-outcome>
-      <to-view-id>/create_group.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>view_orgauthorities</from-outcome>
-      <to-view-id>/view_orgauthorities.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>view_orgauthority</from-outcome>
-      <to-view-id>/view_orgauthority.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <!-- search -->
-
-    <navigation-case>
-      <from-outcome>search_form</from-outcome>
-      <to-view-id>/search/search_form.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>search_results_nxql</from-outcome>
-      <to-view-id>/search/search_results_nxql.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>search_results_advanced</from-outcome>
-      <to-view-id>
-        /search/search_results_advanced.xhtml
-      </to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>search_results_simple</from-outcome>
-      <to-view-id>/search/search_results_simple.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <!-- miscellaneaous -->
-
-    <navigation-case>
-      <from-outcome>clipboard</from-outcome>
-      <to-view-id>/incl/clipboard.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>user_dashboard</from-outcome>
-      <to-view-id>/user_dashboard.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>select_workspace_template</from-outcome>
-      <to-view-id>/select_workspace_template.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>pdf_generation_error</from-outcome>
-      <to-view-id>/pdf_generation_error.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>mass_edit</from-outcome>
-      <to-view-id>/massedit_documents.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-
-    <navigation-case>
-      <from-outcome>mass_edit_confirm</from-outcome>
-      <to-view-id>/massedit_documents_preview.xhtml</to-view-id>
-      <redirect/>
-    </navigation-case>
-  </extension>
-
-</fragment>
-
diff --git a/services/work/3rdparty/nuxeo-platform-cs-work/src/main/resources/OSGI-INF/ecm-types-contrib.xml b/services/work/3rdparty/nuxeo-platform-cs-work/src/main/resources/OSGI-INF/ecm-types-contrib.xml
deleted file mode 100644 (file)
index 214104e..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.work.ecm.types">
-  <extension target="org.nuxeo.ecm.platform.types.TypeService" point="types">
-    <type id="Workauthority" coretype="Workauthority">
-      <label>org.collectionspace.workauthority</label>
-      <!--icon>/icons/file.gif</icon-->
-      <default-view>view_documents</default-view>
-
-      <layouts mode="any">
-        <layout>heading</layout>
-        <layout>csworkauthority</layout>
-      </layouts>
-    </type>
-
-    <type id="Folder" coretype="Folder">
-      <subtypes>
-        <type>Workauthority</type>
-      </subtypes>
-    </type>
-    
-    <type id="Workspace" coretype="Workspace">
-      <subtypes>
-        <type>Workauthority</type>
-      </subtypes>
-    </type>
-
-  </extension>
-  <extension target="org.nuxeo.ecm.platform.types.TypeService" point="types">
-    <type id="Workitem" coretype="Workitem">
-      <label>org.collectionspace.work</label>
-      <!--icon>/icons/file.gif</icon-->
-      <default-view>view_documents</default-view>
-
-      <layouts mode="any">
-        <layout>heading</layout>
-        <layout>work</layout>
-      </layouts>
-    </type>
-
-    <type id="Folder" coretype="Folder">
-      <subtypes>
-        <type>Work</type>
-      </subtypes>
-    </type>
-    
-    <type id="Workspace" coretype="Workspace">
-      <subtypes>
-        <type>Work</type>
-      </subtypes>
-    </type>
-
-  </extension>
-</component>
diff --git a/services/work/3rdparty/nuxeo-platform-cs-work/src/main/resources/OSGI-INF/layouts-contrib.xml b/services/work/3rdparty/nuxeo-platform-cs-work/src/main/resources/OSGI-INF/layouts-contrib.xml
deleted file mode 100644 (file)
index 2f59443..0000000
+++ /dev/null
@@ -1,198 +0,0 @@
-<?xml version="1.0"?>
-
-<component name="org.collectionspace.work.layouts.webapp">
-
-  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
-    point="layouts">
-
-    <layout name="csworkauthority">
-      <templates>
-        <template mode="any">/layouts/layout_default_template.xhtml</template>
-      </templates>
-      <rows>
-        <row><widget>displayName</widget></row>
-        <row><widget>shortIdentifier</widget></row>
-        <row><widget>refName</widget></row>
-        <row><widget>vocabType</widget></row>
-      </rows>
-
-      <widget name="displayName" type="text">
-        <labels>
-          <label mode="any">Display Name</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="workauthorities_common">displayName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="shortIdentifier" type="text">
-        <labels>
-          <label mode="any">Short Identifier</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="workauthorities_common">shortIdentifier</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="refName" type="text">
-        <labels>
-          <label mode="any">RefName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="workauthorities_common">refName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="vocabType" type="text">
-        <labels>
-          <label mode="any">Type</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="workauthorities_common">vocabType</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-    </layout>
-  </extension>
-
-  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
-    point="layouts">
-
-    <layout name="work">
-      
-      <templates>
-        <template mode="any">/layouts/layout_default_template.xhtml</template>
-      </templates>
-      <rows>
-        <row><widget>inAuthority</widget></row>
-        <row><widget>shortIdentifier</widget></row>
-        <row><widget>refName</widget></row>
-        <row><widget>displayName</widget></row>
-        <row><widget>displayNameComputed</widget></row>
-        <row><widget>name</widget></row>
-        <row><widget>workType</widget></row>
-        <row><widget>status</widget></row>
-      </rows>
-
-      <widget name="inAuthority" type="text">
-        <labels>
-          <label mode="any">inAuthority (WorkAuthority)</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="works_common">inAuthority</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-
-      <widget name="shortIdentifier" type="text">
-        <labels>
-          <label mode="any">Short Identifier</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="works_common">shortIdentifier</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="refName" type="text">
-        <labels>
-          <label mode="any">refName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="works_common">refName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="displayName" type="text">
-        <labels>
-          <label mode="any">displayName</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="workauthorities_common">displayName</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="displayNameComputed" type="text">
-        <labels>
-          <label mode="any">displayNameComputed</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="workauthorities_common">displayNameComputed</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="name" type="text">
-        <labels>
-          <label mode="any">name</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="works_common">name</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="workType" type="text">
-        <labels>
-          <label mode="any">workType</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="works_common">workType</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-      
-      <widget name="status" type="text">
-        <labels>
-          <label mode="any">status</label>
-        </labels>
-        <translated>true</translated>
-        <fields>
-          <field schema="works_common">status</field>
-        </fields>
-        <properties widgetMode="edit">
-          <property name="styleClass">dataInputText</property>
-        </properties>
-      </widget>
-    
-    </layout>
-  </extension>
-</component>
diff --git a/services/work/3rdparty/nuxeo-platform-cs-work/src/main/resources/OSGI-INF/life-cycle-contrib.xml b/services/work/3rdparty/nuxeo-platform-cs-work/src/main/resources/OSGI-INF/life-cycle-contrib.xml
deleted file mode 100644 (file)
index d2db541..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0"?>
-<component name="org.collectionspace.ecm.platform.work.LifeCycleManagerExtensions">
-
-  <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
-             point="types">
-    <types>
-      <type name="Workauthority">${Lifecycle}</type>
-      <type name="Workitem">${Lifecycle}</type>
-    </types>
-  </extension>
-
-</component>
diff --git a/services/work/3rdparty/nuxeo-platform-cs-work/src/main/resources/schemas/README.txt b/services/work/3rdparty/nuxeo-platform-cs-work/src/main/resources/schemas/README.txt
new file mode 100644 (file)
index 0000000..5f8c5a6
--- /dev/null
@@ -0,0 +1,16 @@
+Files formerly located in this directory are no longer needed
+-------------------------------------------------------------
+
+In CollectionSpace versions 4.0 and higher, changes were introduced
+which streamline and simplify the process through which you configure
+fields in CollectionSpace's main record types.
+
+In most cases now, you will typically change the behavior of existing fields,
+or create extension schemas to add new fields specific to your museum and/or
+community of practice, merely by editing simpler XML-based configuration
+files within CollectionSpace's Application layer.
+
+Services layer files that were formerly located in this directory and
+other, similar directories - which you previously needed to manually
+create or edit - are now generated automatically from your configuration
+in the Application layer.
\ No newline at end of file
diff --git a/services/work/3rdparty/nuxeo-platform-cs-work/src/main/resources/schemas/workauthorities_common.xsd b/services/work/3rdparty/nuxeo-platform-cs-work/src/main/resources/schemas/workauthorities_common.xsd
deleted file mode 100644 (file)
index 8a0e95c..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-
-<!--
-    WorkAuthority schema (XSD)
-    
-    Entity  : WorkAuthority
-    Part    : Common
-    Used for: Nuxeo EP core document type
-    
--->
-
-<xs:schema 
-  xmlns:xs="http://www.w3.org/2001/XMLSchema"
-  xmlns:ns="http://collectionspace.org/services/work"
-  xmlns="http://collectionspace.org/services/work"
-  targetNamespace="http://collectionspace.org/services/work"
-  version="0.1"
-  >
-
-<!-- Flattened version of jaxb schema for nuxeo -->
-<!-- See http://wiki.collectionspace.org/display/deploy/Work+Authority+Schema -->    
-
-    <!--  WorkAuthority Information Group -->
-    <xs:element name="displayName" type="xs:string"/>
-    <xs:element name="shortIdentifier" type="xs:string"/>
-    <xs:element name="refName" type="xs:string"/>
-    <xs:element name="vocabType" type="xs:string"/>
-    <xs:element name="source" type="xs:string"/>
-    <xs:element name="description" type="xs:string"/>
-
-</xs:schema>
-
diff --git a/services/work/3rdparty/nuxeo-platform-cs-work/src/main/resources/schemas/works_common.xsd b/services/work/3rdparty/nuxeo-platform-cs-work/src/main/resources/schemas/works_common.xsd
deleted file mode 100644 (file)
index 3efab49..0000000
+++ /dev/null
@@ -1,145 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-
-<!--
-    Work schema (XSD)
-    
-    Entity  : Work
-    Part    : Common
-    Used for: Nuxeo EP core document type
-
--->
-
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
-    xmlns:ns="http://collectionspace.org/services/work"
-    xmlns="http://collectionspace.org/services/work"
-    targetNamespace="http://collectionspace.org/services/work" version="0.1">
-    <!-- See http://wiki.collectionspace.org/display/deploy/MMI+Data+Analysis+and+Mapping -->
-
-    <!--  Common Authority Information Group -->
-    <!--  inAuthority is the csid of the owning WorkAuthority -->
-    <xs:element name="inAuthority" type="xs:string"/>
-    <xs:element name="shortIdentifier" type="xs:string"/>
-    <xs:element name="refName" type="xs:string"/>
-
-    <xs:element name="workHistoryNote" type="xs:string"/>
-    <xs:element name="workType" type="xs:string"/>
-    
-    <!-- List of WorkTerms -->
-    <xs:element name="workTermGroupList" type="workTermGroupList"/>
-    
-    <!-- List of Creators -->
-    <xs:element name="creatorGroupList" type="creatorGroupList"/>
-    
-    <!-- List of Publishers -->
-    <xs:element name="publisherGroupList" type="publisherGroupList"/>
-
-    <!-- List of Structured Dates -->
-    <xs:element name="workDateGroupList" type="workDateGroupList"/>
-
-<!-- =================================================================
-     Work Term Group repeating structure
-     ================================================================= -->
-
-    <xs:complexType name="workTermGroupList">
-        <xs:sequence>
-            <xs:element name="workTermGroup" type="workTermGroup" minOccurs="0"
-                        maxOccurs="unbounded"/>
-        </xs:sequence>
-    </xs:complexType>
-
-    <xs:complexType name="workTermGroup">
-        <xs:sequence>
-            <xs:element name="termDisplayName" type="xs:string"/>
-            <xs:element name="termFormattedDisplayName" type="xs:string"/>
-            <xs:element name="termName" type="xs:string"/>
-            <xs:element name="termType" type="xs:string"/>
-            <xs:element name="termStatus" type="xs:string"/>
-            <xs:element name="termQualifier" type="xs:string"/>
-            <xs:element name="termLanguage" type="xs:string"/>
-            <xs:element name="termPrefForLang" type="xs:boolean"/>
-            <xs:element name="termSource" type="xs:string"/>
-            <xs:element name="termSourceDetail" type="xs:string"/>
-            <xs:element name="termSourceID" type="xs:string"/>
-            <xs:element name="termSourceNote" type="xs:string"/>
-        </xs:sequence>
-    </xs:complexType>
-    
-<!-- =================================================================
-     Creator Group repeating structure
-     ================================================================= -->
-
-    <xs:complexType name="creatorGroupList">
-        <xs:sequence>
-            <xs:element name="creatorGroup" type="creatorGroup" minOccurs="0"
-                        maxOccurs="unbounded"/>
-        </xs:sequence>
-    </xs:complexType>
-
-    <xs:complexType name="creatorGroup">
-        <xs:sequence>
-            <xs:element name="creator" type="xs:string"/>
-            <xs:element name="creatorType" type="xs:string"/>
-        </xs:sequence>
-    </xs:complexType>
-
-<!-- =================================================================
-     Publisher Group repeating structure
-     ================================================================= -->
-
-    <xs:complexType name="publisherGroupList">
-        <xs:sequence>
-            <xs:element name="publisherGroup" 
-                        type="publisherGroup" minOccurs="0" maxOccurs="unbounded"/>
-        </xs:sequence>
-    </xs:complexType>
-
-    <xs:complexType name="publisherGroup">
-        <xs:sequence>
-            <xs:element name="publisher" type="xs:string"/>
-            <xs:element name="publisherType" type="xs:string"/>
-        </xs:sequence>
-    </xs:complexType>
-
-<!-- =================================================================
-     Structured Date repeating structure
-     ================================================================= -->
-    
-    <xs:complexType name="workDateGroupList">
-        <xs:sequence>
-            <xs:element name="workDateGroup" type="structuredDateGroup" minOccurs="0"
-                        maxOccurs="unbounded"/>
-            </xs:sequence>
-    </xs:complexType>
-    
-    <!-- Before (re)using this generic complex type in any record type -->
-    <!-- other than CollectionObject, be sure to verify that Nuxeo handles -->
-    <!-- that correctly in its table creation/row linking. -->
-    <xs:complexType name="structuredDateGroup">
-        <xs:sequence>
-            <xs:element name="dateDisplayDate" type="xs:string"/>
-            <xs:element name="dateAssociation" type="xs:string"/>
-            <xs:element name="dateEarliestSingleYear" type="xs:integer"/>
-            <xs:element name="dateEarliestSingleMonth" type="xs:integer"/>
-            <xs:element name="dateEarliestSingleDay" type="xs:integer"/>
-            <xs:element name="dateEarliestSingleEra" type="xs:string"/>
-            <xs:element name="dateEarliestSingleCertainty" type="xs:string"/>
-            <xs:element name="dateEarliestSingleQualifier" type="xs:string"/>
-            <xs:element name="dateEarliestSingleQualifierValue" type="xs:integer"/>
-            <xs:element name="dateEarliestSingleQualifierUnit" type="xs:string"/>
-            <xs:element name="dateLatestYear" type="xs:integer"/>
-            <xs:element name="dateLatestMonth" type="xs:integer"/>
-            <xs:element name="dateLatestDay" type="xs:integer"/>
-            <xs:element name="dateLatestEra" type="xs:string"/>
-            <xs:element name="dateLatestCertainty" type="xs:string"/>
-            <xs:element name="dateLatestQualifier" type="xs:string"/>
-            <xs:element name="dateLatestQualifierValue" type="xs:integer"/>
-            <xs:element name="dateLatestQualifierUnit" type="xs:string"/>
-            <xs:element name="datePeriod" type="xs:string"/>
-            <xs:element name="dateNote" type="xs:string"/>
-            <xs:element name="dateEarliestScalarValue" type="xs:date"/>
-            <xs:element name="dateLatestScalarValue" type="xs:date"/>
-            <xs:element name="scalarValuesComputed" type="xs:boolean"/>
-        </xs:sequence>
-    </xs:complexType>
-
-</xs:schema>
\ No newline at end of file