Project

General

Profile

« Previous | Next » 

Revision f6cdd5da

Added by Katja Luther almost 5 years ago

rename getUuidAndTitleCache for namedAreas

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dao/hibernate/term/DefinedTermDaoImpl.java
643 643

  
644 644

  
645 645
    @Override
646
    public List<NamedArea> getUuidAndTitleCache(List<TermVocabulary> vocs, Integer pageNumber, Integer limit, String pattern, MatchMode matchmode){
646
    public List<NamedArea> listNamedArea(List<TermVocabulary> vocs, Integer pageNumber, Integer limit, String pattern, MatchMode matchmode){
647 647
        Session session = getSession();
648 648
//        Query query = null;
649 649
//        if (pattern != null){
......
804 804
     * {@inheritDoc}
805 805
     */
806 806
    @Override
807
    public List<NamedArea> getUuidAndTitleCache(List<TermVocabulary> vocs, Integer limit, String pattern) {
807
    public List<NamedArea> listNamedArea(List<TermVocabulary> vocs, Integer limit, String pattern) {
808 808

  
809
        return getUuidAndTitleCache(vocs, 0, limit, pattern, MatchMode.BEGINNING);
809
        return listNamedArea(vocs, 0, limit, pattern, MatchMode.BEGINNING);
810 810

  
811 811
    }
812 812

  
cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dao/term/IDefinedTermDao.java
208 208
     * @param pattern
209 209
     * @return
210 210
     */
211
    public List<NamedArea> getUuidAndTitleCache(List<TermVocabulary> vocs, Integer limit,
211
    public List<NamedArea> listNamedArea(List<TermVocabulary> vocs, Integer limit,
212 212
            String pattern);
213 213

  
214 214
    /**
......
258 258
     * @param pattern
259 259
     * @return
260 260
     */
261
    public List<NamedArea> getUuidAndTitleCache(List<TermVocabulary> vocs, Integer pageNumber, Integer limit, String pattern, MatchMode matchMode);
261
    public List<NamedArea> listNamedArea(List<TermVocabulary> vocs, Integer pageNumber, Integer limit, String pattern, MatchMode matchMode);
262 262

  
263 263

  
264 264

  
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/ITermService.java
194 194
     * @param lang
195 195
     * @return
196 196
     */
197
    List<UuidAndTitleCache<NamedArea>> getUuidAndTitleCache(List<TermVocabulary> vocs, Integer limit, String pattern,
197
    List<UuidAndTitleCache<NamedArea>> getUuidAndTitleCacheNamedArea(List<TermVocabulary> vocs, Integer limit, String pattern,
198 198
            Language lang);
199 199

  
200 200
    /**
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/TermServiceImpl.java
457 457

  
458 458
    @Override
459 459
    @Transactional(readOnly = true)
460
    public List<UuidAndTitleCache<NamedArea>> getUuidAndTitleCache(List<TermVocabulary> vocs, Integer limit, String pattern, Language lang) {
461
        List<NamedArea> areas = dao.getUuidAndTitleCache(vocs, limit, pattern);
460
    public List<UuidAndTitleCache<NamedArea>> getUuidAndTitleCacheNamedArea(List<TermVocabulary> vocs, Integer limit, String pattern, Language lang) {
461
        List<NamedArea> areas = dao.listNamedArea(vocs, limit, pattern);
462 462

  
463 463
        List<UuidAndTitleCache<NamedArea>> result = new ArrayList();
464 464
        UuidAndTitleCache<NamedArea> uuidAndTitleCache;

Also available in: Unified diff