Issue 11907

Parameterize SearchRequest<T> to require the use of a facet parameter enum

11907
Reporter: mdoering
Assignee: mdoering
Type: Improvement
Summary: Parameterize SearchRequest<T> to require the use of a facet parameter enum
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2012-09-14 16:30:09.949
Updated: 2013-12-06 12:06:43.327
Resolved: 2012-10-04 19:47:47.51
        
Description: We have enumerations for all facets we use in checklistbank and registry.
Replace the losely String typed SearchRequest facets list and facetParameters map to use a facet enum type and subsequently adapt the request builder. This will greatly reduce the problems we can encounter now with any strings in search requests.]]>
    


Author: mdoering@gbif.org
Created: 2012-10-01 16:19:10.816
Updated: 2012-10-01 16:19:10.816
        
API patch submitted for review:
http://dev.gbif.org/code/cru/CR-POR-54
    


Author: mdoering@gbif.org
Comment: Done in http://code.google.com/p/gbif-common-resources/source/detail?r=1113 and http://code.google.com/p/gbif-common-resources/source/detail?r=1114
Created: 2012-10-04 19:47:47.543
Updated: 2012-10-04 19:47:47.543