Revision 0ff7ce5c
Added by Andreas Müller almost 3 years ago
cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dao/term/IDefinedTermDao.java | ||
---|---|---|
198 | 198 |
*/ |
199 | 199 |
public <TERM extends DefinedTermBase> List<TERM> getDefinedTermByIdInVocabulary(String idInVoc, UUID vocUuid, Class<TERM> clazz, Integer pageSize, Integer pageNumber); |
200 | 200 |
|
201 |
public List<NamedArea> listNamedArea(List<TermVocabulary> vocs, Integer limit, |
|
202 |
String pattern); |
|
201 |
public <S extends DefinedTermBase> List<S> list(Class<S> clazz, List<TermVocabulary> vocs, Integer limit, String pattern); |
|
202 |
|
|
203 |
public <S extends DefinedTermBase> List<S> list(Class<S> clazz, List<TermVocabulary> vocs, Integer pageNumber, Integer limit, String pattern, MatchMode matchMode); |
|
204 |
|
|
205 |
public <S extends DefinedTermBase> List<S> listByAbbrev(Class<S> clazz, List<TermVocabulary> vocs, Integer pageNumber, Integer limit, String pattern, MatchMode matchmode, NamedAreaSearchField type); |
|
206 |
|
|
207 |
public <S extends DefinedTermBase> List<S> listByAbbrev(Class<S> clazz, List<TermVocabulary> vocs, Integer limit, String pattern, NamedAreaSearchField type); |
|
203 | 208 |
|
204 | 209 |
/** |
205 | 210 |
* Returns all terms that are included in the given parent term resp. a part of the given term. |
... | ... | |
241 | 246 |
*/ |
242 | 247 |
public long count(List<TermVocabulary> vocs, String pattern); |
243 | 248 |
|
244 |
/** |
|
245 |
* @param vocs |
|
246 |
* @param pageNumber |
|
247 |
* @param limit |
|
248 |
* @param pattern |
|
249 |
* @return |
|
250 |
*/ |
|
251 |
public List<NamedArea> listNamedArea(List<TermVocabulary> vocs, Integer pageNumber, Integer limit, String pattern, MatchMode matchMode); |
|
252 |
|
|
253 |
/** |
|
254 |
* @param vocs |
|
255 |
* @param limit |
|
256 |
* @param pattern |
|
257 |
* @return |
|
258 |
*/ |
|
259 |
public List<NamedArea> listNamedAreaByAbbrev(List<TermVocabulary> vocs, Integer pageNumber, Integer limit, String pattern, MatchMode matchmode, NamedAreaSearchField type); |
|
260 |
|
|
261 |
/** |
|
262 |
* @param vocs |
|
263 |
* @param limit |
|
264 |
* @param pattern |
|
265 |
* @return |
|
266 |
*/ |
|
267 |
public List<NamedArea> listNamedAreaByAbbrev(List<TermVocabulary> vocs, Integer limit, String pattern, NamedAreaSearchField type); |
|
268 |
|
|
269 | 249 |
/** |
270 | 250 |
* Returns all states for all supportedCategoricalEnumeration of this categorical feature |
271 | 251 |
* @param featureUuid the feature which has to support categorical data |
Also available in: Unified diff
fix #9598 add deduplication to DefinedTermDaoImpl.listNamedAreaByAbbrev(...) rename listNamedArea to list(clazz, ....) to make the method more generic