Revision c80e35c1
Added by Andreas Kohlbecker over 4 years ago
src/main/java/eu/etaxonomy/cdm/service/IRegistrationWorkflowService.java | ||
---|---|---|
41 | 41 |
|
42 | 42 |
/** |
43 | 43 |
* Creates a new registration for the name referenced by the {@code taxonNameUUID} parameter |
44 |
* if there isn't one already. This is done in preparation for adding this new registration as blocking registration to another registration. |
|
45 |
* A new Registration will be returned, otherwise the return value is <code>null</code>. |
|
46 |
* |
|
47 |
* Already existing registrations must not be duplicated. |
|
48 |
* |
|
49 |
* @param taxonNameUUID |
|
50 |
* |
|
51 |
* @return Returns the newly prepared blocking Registration or <code>null</code> if a new registration has not been created. |
|
52 |
*/ |
|
53 |
@Transactional |
|
54 |
Registration prepareBlockingRegistration(UUID nameUUID); |
|
55 |
|
|
56 |
/** |
|
57 |
* Creates a new registration for the name referenced by the {@code taxonNameUUID} parameter |
|
44 | 58 |
* if there isn't one already and adds this new registration as blocking registration to the passed |
45 |
* {@code registration}. |
|
59 |
* {@code registration}. A new Registration will be returned otherwise the return value is <code>null</code>.
|
|
46 | 60 |
* |
47 | 61 |
* Already existing registrations must not be added as blocking registration. |
48 | 62 |
* |
49 | 63 |
* @param taxonNameUUID |
50 | 64 |
* @param registration |
65 |
* |
|
66 |
* @return Returns the newly created blocking Registration or <code>null</code> if a new registration has not been created. |
|
51 | 67 |
*/ |
52 | 68 |
@Transactional |
53 | 69 |
Registration addBlockingRegistration(UUID nameUUID, Registration registration); |
... | ... | |
60 | 76 |
|
61 | 77 |
boolean checkWokingsetContainsProtologe(RegistrationWorkingSet workingset, TaxonName name); |
62 | 78 |
|
79 |
|
|
63 | 80 |
} |
Also available in: Unified diff
fix #8462 fuffering new blocking registrations for later association with main registration