Project

General

Profile

« Previous | Next » 

Revision adec36b1

Added by Andreas Müller over 3 years ago

cleanup

View differences:

src/main/java/eu/etaxonomy/cdm/service/SpecimenTypeDesignationWorkingSetServiceImpl.java
85 85
    @Autowired
86 86
    CdmRepository repo;
87 87

  
88

  
89
    /**
90
     * {@inheritDoc}
91
     */
92 88
    @Override
93 89
    public SpecimenTypeDesignationWorkingSetDTO<Registration> create(UUID registrationUuid, UUID publicationUuid, UUID typifiedNameUuid) {
94 90
        FieldUnit newfieldUnit = FieldUnit.NewInstance();
......
99 95
        }
100 96
        TaxonName typifiedName = repo.getNameService().load(typifiedNameUuid, TAXON_NAME_INIT_STRATEGY);
101 97
        Reference citation = repo.getReferenceService().load(publicationUuid, Arrays.asList("$"));
102
        SpecimenTypeDesignationWorkingSetDTO<Registration> workingSetDto = new SpecimenTypeDesignationWorkingSetDTO<Registration>(reg, newfieldUnit, citation, typifiedName);
98
        SpecimenTypeDesignationWorkingSetDTO<Registration> workingSetDto = new SpecimenTypeDesignationWorkingSetDTO<>(reg, newfieldUnit, citation, typifiedName);
103 99
        return workingSetDto;
104 100
    }
105 101

  
106
    /**
107
     * {@inheritDoc}
108
     */
109 102
    @Override
110 103
    @Transactional(readOnly=true)
111 104
    public SpecimenTypeDesignationWorkingSetDTO<Registration> load(UUID registrationUuid, TypedEntityReference<? extends IdentifiableEntity<?>> baseEntityRef) {
......
161 154
        return bean;
162 155
    }
163 156

  
164
    /**
165
     * {@inheritDoc}
166
     */
167 157
    @Override
168 158
    @Transactional(readOnly=false)
169 159
    public void save(SpecimenTypeDesignationWorkingSetDTO<? extends VersionableEntity> dto) {

Also available in: Unified diff