Project

General

Profile

Download (1.62 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.pager.Pager;
18
import eu.etaxonomy.cdm.vaadin.component.registration.RegistrationItem;
19
import eu.etaxonomy.vaadin.mvp.ApplicationView;
20

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

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

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

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

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

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

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

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

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

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

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

    
78
    public RegistrationItem getRegistrationItem(UUID registrationUuid);
79

    
80

    
81
}
(3-3/23)