Project

General

Profile

bug #7467

taxon name parts lookup method with support for wildcard searches

Added by Andreas Kohlbecker 6 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Highest
Category:
cdmlib
Target version:
Start date:
06/11/2018
Due date:
% Done:

100%

Severity:
normal
Found in Version:
Tags:

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

Blocks Edit - task #7338: Validate taxon name against the higher taxon name Closed 03/28/2018

Associated revisions

Revision 9fc2a8a0 (diff)
Added by Andreas Kohlbecker 6 months ago

fix #7467 taxon name parts lookup method with support for wildcard searches, TaxonNameParts and filter

History

#1 Updated by Andreas Kohlbecker 6 months 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 ...

#2 Updated by Andreas Kohlbecker 6 months ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50

#3 Updated by Andreas Kohlbecker 6 months ago

  • Blocks task #7338: Validate taxon name against the higher taxon name added

#4 Updated by Andreas Kohlbecker 6 months ago

  • Status changed from Resolved to Closed
  • % Done changed from 50 to 100

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)