Project

General

Profile

« Previous | Next » 

Revision 4deab588

Added by Andreas Müller over 2 years ago

cleanup

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/ITermTreeService.java
6 6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7 7
* See LICENSE.TXT at the top of this package for the full license terms.
8 8
*/
9

  
10 9
package eu.etaxonomy.cdm.api.service;
11 10

  
12 11
import java.util.Collection;
......
51 50

  
52 51
    public List<TermTreeDto> listTermTreeDtosByTermType(TermType termType);
53 52

  
54
    /**
55
     * @param uuid
56
     * @return
57
     */
58 53
    public TermTreeDto getTermTreeDtoByUuid(UUID uuid);
59 54

  
60
    /**
61
     * @param dtos
62
     * @return
63
     */
64
    UpdateResult saveOrUpdateTermTreeDtoList(List<TermTreeDto> dtos);
55
    public UpdateResult saveOrUpdateTermTreeDtoList(List<TermTreeDto> dtos);
65 56

  
66 57

  
67 58
}
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/dto/SpecimenOrObservationDTOFactory.java
24 24
 */
25 25
public class SpecimenOrObservationDTOFactory {
26 26

  
27
    public static SpecimenOrObservationBaseDTO fromEntity(SpecimenOrObservationBase entity) {
27
    public static SpecimenOrObservationBaseDTO fromEntity(SpecimenOrObservationBase<?> entity) {
28 28
       return fromEntity(entity, null);
29 29
    }
30 30

  
31
    public static SpecimenOrObservationBaseDTO fromEntity(SpecimenOrObservationBase entity, Integer maxDepth) {
31
    public static SpecimenOrObservationBaseDTO fromEntity(SpecimenOrObservationBase<?> entity, Integer maxDepth) {
32 32
        if(entity == null) {
33 33
            return null;
34 34
        }

Also available in: Unified diff