Issue 10803

Add persistence code and db fields for type and subtype

10803
Reporter: mdoering
Assignee: kbraak
Type: Improvement
Summary: Add persistence code and db fields for type and subtype
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2012-02-09 11:49:17.411
Updated: 2013-12-16 17:50:58.228
Resolved: 2012-03-07 16:52:47.282


Author: mdoering@gbif.org
Comment: also create converters and list them here: http://dev.gbif.org/wiki/display/POR/Range+of+values+to+be+used+by+the+enum+types
Created: 2012-02-14 11:55:34.833
Updated: 2012-02-14 11:55:34.833


Author: kbraak@gbif.org
Comment: Changed title, removed mention of citation: work on citation can be opened up in a new issue
Created: 2012-02-14 12:43:00.074
Updated: 2012-02-14 12:43:00.074


Author: kbraak@gbif.org
Comment: Wiki updated with new ranges for DatasetType and DatasetSubType
Created: 2012-02-14 12:43:37.033
Updated: 2012-02-14 12:43:37.033


Author: mdoering@gbif.org
Created: 2012-02-14 13:39:22.645
Updated: 2012-02-14 13:39:22.645
        
Please create the new citation issue if it was removed from this issue and relate them so it can be tracked.
For sure the DatasetFactory in registry-service does not deal with citation, but I suspect its lacking even far more down the layers. Adding a test for citation to the ws-client at least would be good!
    


Author: kbraak@gbif.org
Comment: Converters for DatasetType and DatasetSubtype added to common-mybatis project. Registered in enum-web also and appearing in http://staging.gbif.org:8080/enum-web/
Created: 2012-03-06 18:49:05.718
Updated: 2012-03-06 18:49:05.718


Author: kbraak@gbif.org
Comment: A change has been made to the commonAgentMapper that ensures category and subcategory are populated (with type integer) for agents (of type dataset). 
Created: 2012-03-07 16:44:29.675
Updated: 2012-03-07 16:44:29.675


Author: kbraak@gbif.org
Created: 2012-03-07 16:52:47.316
Updated: 2012-03-07 16:52:47.316
        
DB fields added (called category and subcategory).

Persistence codes (converters & handlers) added for DatasetType and DatasetSubtype.

Closing issue.