bug #7467
closedtaxon name parts lookup method with support for wildcard searches
100%
Description
implement a taxon name parts lookup method in the dao and service layer with support for wildcard searches.
If a name part passed to the method contains the asterisk character ('*') it will be translated into '%' the related field is search with a LIKE clause.
Reuse functionality already implemeneted in TaxonNameDaoHibernateImpl.searchNames(String genusOrUninomial,String infraGenericEpithet, String specificEpithet, String infraSpecificEpithet, Rank rank, Integer pageSize,Integer pageNumber, List<OrderHint> orderHints)
by allowing to replace the select part of the hql query.
Related issues
Updated by Andreas Kohlbecker almost 6 years ago
- Subject changed from searchNames by name parts supports wildcards to taxon name parts lookup method with support for wildcard searches
- Description updated (diff)
After discussing this with Andreas Müller we decided to create another more dedicated lookup method which won't load the full TaxonName instances but uses a dedicated DTO class instead as return value.
... changing the issue subject and description accordingly ...
Updated by Andreas Kohlbecker almost 6 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 50
Applied in changeset cdmlib|9fc2a8a0de9a103ea0dbb1e9391000753b744ae2.
Updated by Andreas Kohlbecker almost 6 years ago
- Blocks task #7338: Validate taxon name against the higher taxon name added
Updated by Andreas Kohlbecker almost 6 years ago
- Status changed from Resolved to Closed
- % Done changed from 50 to 100