Project

General

Profile

« Previous | Next » 

Revision f4d35a72

Added by Andreas Kohlbecker almost 8 years ago

attempt to reduce the overhead imposed by database access

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/IService.java
161 161
     *
162 162
     * @param idSet
163 163
     * @return
164
     * @deprecated use {@link #listByIds(Set, Integer, Integer, List, List)} instead
164 165
     */
166
    @Deprecated
165 167
    public List<T> findById(Set<Integer> idSet);  //can't be called find(Set<Integer>) as this conflicts with find(Set<UUID)
166 168

  
167 169

  
......
377 379
     */
378 380
    public List<T> merge(List<T> detachedObjects);
379 381

  
382
    /**
383
     * @param idSet
384
     * @param pageSize
385
     * @param pageNumber
386
     * @param orderHints
387
     * @param propertyPaths
388
     * @return
389
     */
390
    List<T> listByIds(Set<Integer> idSet, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints,
391
            List<String> propertyPaths);
392

  
380 393
    /**
381 394
     * This method allows for the possibility of returning the input transient
382 395
     * entities instead of the merged persistent entity

Also available in: Unified diff