Project

General

Profile

Actions

bug #7467

closed

taxon name parts lookup method with support for wildcard searches

Added by Andreas Kohlbecker almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Highest
Category:
cdmlib
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
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 nameClosedAndreas Kohlbecker

Actions
Actions #1

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 ...

Actions #2

Updated by Andreas Kohlbecker almost 6 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50
Actions #3

Updated by Andreas Kohlbecker almost 6 years ago

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

Updated by Andreas Kohlbecker almost 6 years ago

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

Also available in: Atom PDF