Project

General

Profile

Download (1.68 KB) Statistics
| Branch: | Tag: | Revision:
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.vaadin.view.registration;
10

    
11
import java.util.List;
12
import java.util.UUID;
13

    
14
import com.vaadin.ui.ListSelect;
15
import com.vaadin.ui.TextField;
16

    
17
import eu.etaxonomy.cdm.api.service.dto.RegistrationDTO;
18
import eu.etaxonomy.cdm.api.service.pager.Pager;
19
import eu.etaxonomy.cdm.vaadin.component.registration.RegistrationItem;
20
import eu.etaxonomy.vaadin.mvp.ApplicationView;
21

    
22
/**
23
 * @author a.kohlbecker
24
 * @since Mar 3, 2017
25
 *
26
 */
27
public interface ListView extends ApplicationView<ListPresenter>{
28

    
29
    enum Mode {
30
        all,
31
        inProgress
32
    }
33

    
34
    /**
35
     * @param page
36
     */
37
    void populate(Pager<RegistrationDTO> registrations);
38

    
39
    /**
40
     * @param messages
41
     */
42
    void openDetailsPopup(String caption, List<String> messages);
43

    
44
    /**
45
     * @return the identifierFilter
46
     */
47
    public TextField getIdentifierFilter();
48

    
49
    /**
50
     * @return the taxonNameFilter
51
     */
52
    public TextField getTaxonNameFilter();
53

    
54
    /**
55
     * @return the referenceFilter
56
     */
57
    public TextField getReferenceFilter();
58

    
59
    /**
60
     * @return the statusFilter
61
     */
62
    public ListSelect getStatusFilter();
63

    
64
    /**
65
     * @return the submitterFilter
66
     */
67
    public ListSelect getSubmitterFilter();
68

    
69
    /**
70
     * @param optionInProgress
71
     */
72
    void setViewMode(Mode mode);
73

    
74
    /**
75
     * @return
76
     */
77
    Mode getViewMode();
78

    
79
    public RegistrationItem getRegistrationItem(UUID registrationUuid);
80

    
81

    
82
}
(3-3/20)