Project

General

Profile

« Previous | Next » 

Revision 7b64453a

Added by Andreas Müller over 2 years ago

cleanup

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dao/common/ICdmEntityDao.java
320 320
     */
321 321
    public T loadWithoutInitializing(int id);
322 322

  
323
    /**
324
     * @param ids
325
     * @param propertyPaths
326
     * @return
327
     * @throws DataAccessException
328
     */
329 323
    public List<T> loadList(Collection<Integer> ids, List<OrderHint> orderHints, List<String> propertyPaths) throws DataAccessException;
330 324

  
331
    /**
332
     * @param Uuid
333
     * @return
334
     * @throws DataAccessException
335
     */
336 325
    public T findByUuid(UUID Uuid) throws DataAccessException;
337 326

  
338 327
    /**
......
346 335
     */
347 336
    public T findByUuidWithoutFlush(UUID uuid) throws DataAccessException;
348 337

  
349

  
350
    /**
351
     * @param uuids
352
     * @param pageSize
353
     * @param pageNumber
354
     * @param orderHints
355
     * @param propertyPaths
356
     * @return
357
     * @throws DataAccessException
358
     */
359 338
    public List<T> list(Collection<UUID> uuids, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) throws DataAccessException;
360 339

  
361

  
362
    /**
363
     * @param clazz
364
     * @param uuids
365
     * @param pageSize
366
     * @param pageNumber
367
     * @param orderHints
368
     * @param propertyPaths
369
     * @return
370
     * @throws DataAccessException
371
     */
372 340
    public <S extends T> List<S> list(Class<S> clazz, Collection<UUID> uuids, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) throws DataAccessException;
373 341

  
374

  
375

  
376 342
    /**
377 343
     * Finds the cdm entity specified by the <code>uuid</code> parameter and
378 344
     * initializes all its *ToOne relations.
379
     *
380
     * @param uuid
381
     * @return
382 345
     */
383 346
    public T load(UUID uuid);
384 347

  
cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dao/hibernate/common/CdmEntityDaoBase.java
514 514
        return result;
515 515
    }
516 516

  
517
    /**
518
     * {@inheritDoc}
519
     */
520 517
    @Override
521 518
    public <S extends T> List<S> list(Class<S> type, List<Restriction<?>> restrictions, Integer limit, Integer start,
522 519
            List<OrderHint> orderHints, List<String> propertyPaths) {

Also available in: Unified diff