taxon name parts lookup method with support for wildcard searches
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.
#1 Updated by Andreas Kohlbecker over 1 year 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 ...