Project

General

Profile

Download (1.61 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.CssLayout;
15

    
16
import eu.etaxonomy.cdm.vaadin.model.registration.RegistrationWorkingSet;
17
import eu.etaxonomy.vaadin.mvp.ApplicationView;
18

    
19
/**
20
 * @author a.kohlbecker
21
 * @since Mar 3, 2017
22
 *
23
 */
24
public interface RegistrationWorkflowView extends ApplicationView{
25

    
26

    
27
    CssLayout getWorkflow();
28

    
29

    
30
    /**
31
     * Open a popup editor for an existing TaxonName if the nameUuid is
32
     * given otherwise a blank editor will open if the  nameUuid is null.
33
     *
34
     * @param nameUuid can be null
35
     */
36
    void openNameEditor(UUID nameUuid);
37

    
38
    /**
39
     * Open a popup editor for an existing Reference if the referenceUuid is
40
     * given otherwise a blank editor will open if the  referenceUuid is null.
41
     *
42
     * @param referenceUuid can be null
43
     */
44
    void openReferenceEditor(UUID referenceUuid);
45

    
46
    /**
47
     * @param subheaderText
48
     */
49
    void setSubheaderText(String subheaderText);
50

    
51
    /**
52
     * @param subheaderText
53
     */
54
    void setHeaderText(String subheaderText);
55

    
56
    /**
57
     * @param workingset
58
     */
59
    void setWorkingset(RegistrationWorkingSet workingset);
60

    
61
    void addBlockingRegistration(RegistrationDTO blocking);
62

    
63
    /**
64
     * @param messages
65
     */
66
    void openDetailsPopup(String caption, List<String> messages);
67

    
68

    
69

    
70
}
(10-10/14)