1
|
/**
|
2
|
* Copyright (C) 2017 EDIT
|
3
|
* European Distributed Institute of Taxonomy
|
4
|
* http://www.e-taxonomy.eu
|
5
|
*
|
6
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
7
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
8
|
*/
|
9
|
package eu.etaxonomy.cdm.service;
|
10
|
|
11
|
import java.util.Collection;
|
12
|
|
13
|
import eu.etaxonomy.cdm.api.service.pager.Pager;
|
14
|
import eu.etaxonomy.cdm.model.common.User;
|
15
|
import eu.etaxonomy.cdm.model.name.RegistrationStatus;
|
16
|
import eu.etaxonomy.cdm.vaadin.model.registration.RegistrationWorkingSet;
|
17
|
import eu.etaxonomy.cdm.vaadin.view.registration.RegistrationDTO;
|
18
|
import eu.etaxonomy.cdm.vaadin.view.registration.RegistrationValidationException;
|
19
|
|
20
|
/**
|
21
|
* @author a.kohlbecker
|
22
|
* @since May 4, 2017
|
23
|
*
|
24
|
*/
|
25
|
public interface IRegistrationWorkingSetService {
|
26
|
|
27
|
/**
|
28
|
* @param id the CDM Entity id
|
29
|
* @return
|
30
|
*/
|
31
|
public RegistrationDTO loadDtoById(Integer id);
|
32
|
|
33
|
public Pager<RegistrationDTO> pageDTOs(Integer pageSize, Integer pageIndex);
|
34
|
|
35
|
public Pager<RegistrationDTO> pageDTOs(User submitter, Collection<RegistrationStatus> includedStatus,
|
36
|
String identifierFilterPattern, String taxonNameFilterPattern,
|
37
|
Integer pageSize, Integer pageIndex);
|
38
|
|
39
|
/**
|
40
|
* @param referenceID
|
41
|
* @return
|
42
|
*/
|
43
|
public RegistrationWorkingSet loadWorkingSetByReferenceID(Integer referenceID) throws RegistrationValidationException;
|
44
|
|
45
|
}
|