From 52d672c2ef6e457bf2ddb6147b1484eeac6304da Mon Sep 17 00:00:00 2001 From: Aron Roberts Date: Wed, 24 Feb 2010 02:29:02 +0000 Subject: [PATCH] CSPACE-1040: Added status, honorific fields to Person schema. --- .../resources/OSGI-INF/layouts-contrib.xml | 46 +++++++++++++---- .../main/resources/schemas/persons_common.xsd | 50 ++++++++++--------- .../services/PersonJAXBSchema.java | 2 + .../jaxb/src/main/resources/person_common.xsd | 50 ++++++++++--------- 4 files changed, 91 insertions(+), 57 deletions(-) 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 index a1e1e4c6f..1134df6e1 100644 --- 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 @@ -73,6 +73,7 @@ initials salutation title + honorifics nameAdditions birthDate deathDate @@ -85,11 +86,12 @@ schoolOrStyle bioNote nameNote + status - + true @@ -102,7 +104,7 @@ - + true @@ -115,7 +117,7 @@ - + true @@ -128,7 +130,7 @@ - + true @@ -141,7 +143,7 @@ - + true @@ -154,7 +156,7 @@ - + true @@ -167,7 +169,7 @@ - + true @@ -180,7 +182,7 @@ - + true @@ -193,7 +195,7 @@ - + true @@ -203,6 +205,19 @@ dataInputText + + + + + + true + + honorifics + + + dataInputText + + @@ -359,6 +374,19 @@ dataInputText + + + + + + true + + status + + + dataInputText + + 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 index 279189230..cc48cc207 100644 --- 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 @@ -20,30 +20,32 @@ > - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/services/person/jaxb/src/main/java/org/collectionspace/services/PersonJAXBSchema.java b/services/person/jaxb/src/main/java/org/collectionspace/services/PersonJAXBSchema.java index 0c8992fb4..26bc92fa2 100644 --- a/services/person/jaxb/src/main/java/org/collectionspace/services/PersonJAXBSchema.java +++ b/services/person/jaxb/src/main/java/org/collectionspace/services/PersonJAXBSchema.java @@ -20,6 +20,7 @@ public interface PersonJAXBSchema { final static String INITIALS = "initials"; final static String SALUTATIONS = "salutations"; final static String TITLE = "title"; + final static String HONORIFICS = "honorifics"; final static String NAME_ADDITIONS = "nameAdditions"; final static String BIRTH_DATE = "birthDate"; final static String DEATH_DATE = "deathDate"; @@ -32,5 +33,6 @@ public interface PersonJAXBSchema { final static String SCHOOL_OR_STYLE = "schoolOrStyle"; final static String BIO_NOTE = "bioNote"; final static String NAME_NOTE = "nameNote"; + final static String STATUS = "status"; } diff --git a/services/person/jaxb/src/main/resources/person_common.xsd b/services/person/jaxb/src/main/resources/person_common.xsd index a877d8ac9..c2c52ba06 100644 --- a/services/person/jaxb/src/main/resources/person_common.xsd +++ b/services/person/jaxb/src/main/resources/person_common.xsd @@ -21,27 +21,29 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -49,9 +51,9 @@ - - - + + + -- 2.47.3