Project

General

Profile

« Previous | Next » 

Revision c4a57e04

Added by Andreas Müller about 2 years ago

cleanup and rename RegistrationValidationException to TypeDesignationSetException

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/registration/IRegistrationWorkingSetService.java
16 16

  
17 17
import eu.etaxonomy.cdm.api.service.dto.RegistrationDTO;
18 18
import eu.etaxonomy.cdm.api.service.dto.RegistrationWorkingSet;
19
import eu.etaxonomy.cdm.api.service.exception.RegistrationValidationException;
19
import eu.etaxonomy.cdm.api.service.exception.TypeDesignationSetException;
20 20
import eu.etaxonomy.cdm.api.service.pager.Pager;
21 21
import eu.etaxonomy.cdm.database.PermissionDeniedException;
22 22
import eu.etaxonomy.cdm.model.name.Registration;
......
50 50
     * @return
51 51
     */
52 52
    @Deprecated
53
    public RegistrationWorkingSet loadWorkingSetByReferenceID(Integer referenceID, boolean resolveSections) throws RegistrationValidationException;
53
    public RegistrationWorkingSet loadWorkingSetByReferenceID(Integer referenceID, boolean resolveSections) throws TypeDesignationSetException;
54 54

  
55 55
    /**
56 56
     * Loads the working set specified by the <code>referenceUuid</code> from the database. The list of {@link RegistrationDTO}s can be empty in case
......
61 61
     *  use the inReference which is the journal article.
62 62
     * @return
63 63
     */
64
    public RegistrationWorkingSet loadWorkingSetByReferenceUuid(UUID referenceUuid, boolean resolveSections) throws RegistrationValidationException, PermissionDeniedException;
64
    public RegistrationWorkingSet loadWorkingSetByReferenceUuid(UUID referenceUuid, boolean resolveSections) throws TypeDesignationSetException, PermissionDeniedException;
65 65

  
66 66
    public Set<RegistrationDTO> loadBlockingRegistrations(UUID blockedRegistrationUuid);
67 67

  
......
77 77
            String taxonNameFilterPattern, MatchMode matchMode, Integer pageSize, Integer pageIndex,
78 78
            List<OrderHint> orderHints);
79 79

  
80
    public Pager<RegistrationDTO> pageWorkingSetsByNameUUID(Collection<UUID> taxonNameUuids, Integer pageIndex, Integer pageSize, List<OrderHint> orderHints) throws RegistrationValidationException, PermissionDeniedException;
80
    public Pager<RegistrationDTO> pageWorkingSetsByNameUUID(Collection<UUID> taxonNameUuids, Integer pageIndex, Integer pageSize, List<OrderHint> orderHints) throws TypeDesignationSetException, PermissionDeniedException;
81 81
}

Also available in: Unified diff