Project

General

Profile

feature request #7517

Updated by Andreas Kohlbecker almost 6 years ago

For edaphobase users are used to use whitespace as wildcard. 

 We should make search parameters project and/or client configurable.  

 Possible parameters are: 

  * handle whitespace as wildcard 
  * add wildcard at end of search string (MatchMode "Beginning") 
  * add wildcard at start of search string 
  * mask % 
  * case sensitivity 
  * ... 

 HINT: 

 Consider using `eu.etaxonomy.cdm.persistence.dao.common.Restriction<T extends Object>`instead of criteria in case wildcards need to be supported for arbitrary fields and related entities.  

 `CdmEntityDaoBase.list(Class<? extends T> type, List<Restriction<?>> restrictions, Integer limit, Integer start, List<OrderHint> orderHints, List<String> propertyPaths)` may serve you as an example for using the `Restriction`s.

Back