Revision a4ef0a5a
Added by Andreas Kohlbecker over 6 years ago
src/main/java/eu/etaxonomy/cdm/service/ISpecimenTypeDesignationWorkingSetService.java | ||
---|---|---|
10 | 10 |
|
11 | 11 |
import eu.etaxonomy.cdm.model.common.VersionableEntity; |
12 | 12 |
import eu.etaxonomy.cdm.model.name.Registration; |
13 |
import eu.etaxonomy.cdm.model.name.TaxonName; |
|
14 |
import eu.etaxonomy.cdm.model.reference.Reference; |
|
15 | 13 |
import eu.etaxonomy.cdm.vaadin.model.registration.SpecimenTypeDesignationWorkingSetDTO; |
16 | 14 |
|
17 | 15 |
/** |
... | ... | |
36 | 34 |
* Saves the SpecimenTypeDesignationWorkingSetDTO and takes care for consistency in the working set: |
37 | 35 |
* <ul> |
38 | 36 |
* <li>New TypeDesignations are associated with the OWNER.</li> |
39 |
* <li>The citation and typified name of newly created TypeDesignations are set to the supplied entities.</li>
|
|
37 |
* <li>The citation and typified name of newly created TypeDesignations are set.</li> |
|
40 | 38 |
* <li>All type specimens are assured to be derivatives of the FieldUnit which is the base entity of the set.</li> |
41 | 39 |
* </ul> |
42 | 40 |
* |
43 | 41 |
* @param dto the DTO to be persisted |
44 |
* @param citation The Reference entity to be used for new TypeDesignations. |
|
45 |
* @param typifiedName |
|
46 | 42 |
*/ |
47 |
void save(SpecimenTypeDesignationWorkingSetDTO<? extends VersionableEntity> dto, Reference citation, TaxonName typifiedName);
|
|
43 |
void save(SpecimenTypeDesignationWorkingSetDTO<? extends VersionableEntity> dto); |
|
48 | 44 |
|
49 | 45 |
} |
Also available in: Unified diff
SpecimenTypeDesignationWorkingSetDTO with nore knowledge on typifiedName and citation simplifies presenters