]> git.aero2k.de Git - tmp/jakarta-migration.git/commit
CSPACE-2418: Groundwork for supporting free-text entry of dates in a variety of forma...
authorAron Roberts <aron@socrates.berkeley.edu>
Tue, 17 Aug 2010 02:31:22 +0000 (02:31 +0000)
committerAron Roberts <aron@socrates.berkeley.edu>
Tue, 17 Aug 2010 02:31:22 +0000 (02:31 +0000)
commit81c86ac3e64c910ea1936aaea6143b01eda017d0
tree865fd3b498a266ade657c25987251ed5254a2ea1
parentfd4f5c9e27365f4424b01d62592f5843dd106b6d
CSPACE-2418: Groundwork for supporting free-text entry of dates in a variety of formats. Added utility routines to retrieve per-tenant lists of properties, and demonstrated retrieval of date formats from those properties, and of validating incoming dates against permitted date formats. Need to add ISO 8601-based patterns corresponding to those permitted by Nuxeo, determine how best to identify date fields whose values might be validated, and identify where during incoming payload handling to convert from non-ISO 8601 formats.
services/common/src/main/config/services/tenant-bindings.xml
services/common/src/main/java/org/collectionspace/services/common/config/ServiceConfigUtils.java
services/common/src/main/java/org/collectionspace/services/common/config/TenantBindingUtils.java
services/common/src/main/java/org/collectionspace/services/common/datetime/DateTimeFormatUtils.java [new file with mode: 0644]
services/common/src/main/java/org/collectionspace/services/common/datetime/GregorianCalendarDateTimeUtils.java
services/movement/service/src/main/java/org/collectionspace/services/movement/nuxeo/MovementDocumentModelHandler.java
services/movement/service/src/main/java/org/collectionspace/services/movement/nuxeo/MovementValidatorHandler.java