Project

General

Profile

« Previous | Next » 

Revision 4e29c10f

Added by Andreas Kohlbecker about 5 years ago

ref #8050 creating blocking registrations for exising names which are used in the context of another registration

View differences:

src/main/java/eu/etaxonomy/cdm/service/IRegistrationWorkflowService.java
39 39
    @Transactional(readOnly=true)
40 40
    void reloadRegistration(Registration registration);
41 41

  
42
    /**
43
     * Creates a new registration for the name referenced by the {@code taxonNameUUID} parameter
44
     * if there isn't one already and adds this new registration as blocking registration to the passed
45
     * {@code registration}.
46
     *
47
     * Already existing registrations must not be added as blocking registration.
48
     *
49
     * @param taxonNameUUID
50
     * @param registration
51
     */
42 52
    @Transactional
43
    void addBlockingRegistration(UUID taxonNameUUID, Registration registration);
53
    Registration addBlockingRegistration(UUID nameUUID, Registration registration);
44 54

  
45 55
    @Transactional
46 56
    void addTypeDesignation(UUID typeDesignationUuid, Registration registration);

Also available in: Unified diff