1 |
0b44c814
|
Andreas Kohlbecker
|
/**
|
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 |
eaee371d
|
Andreas Kohlbecker
|
package eu.etaxonomy.cdm.vaadin.view.registration;
|
10 |
0b44c814
|
Andreas Kohlbecker
|
|
11 |
7a044d6b
|
Andreas Kohlbecker
|
import java.util.List;
|
12 |
c33e979b
|
Andreas Kohlbecker
|
import java.util.UUID;
|
13 |
|
|
|
14 |
0b44c814
|
Andreas Kohlbecker
|
import com.vaadin.ui.CssLayout;
|
15 |
|
|
|
16 |
664d0a00
|
Andreas Kohlbecker
|
import eu.etaxonomy.cdm.vaadin.model.registration.RegistrationWorkingSet;
|
17 |
0b44c814
|
Andreas Kohlbecker
|
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 |
c33e979b
|
Andreas Kohlbecker
|
|
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 |
210b9aa6
|
Andreas Kohlbecker
|
/**
|
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 |
664d0a00
|
Andreas Kohlbecker
|
/**
|
57 |
|
|
* @param workingset
|
58 |
|
|
*/
|
59 |
|
|
void setWorkingset(RegistrationWorkingSet workingset);
|
60 |
|
|
|
61 |
|
|
void addBlockingRegistration(RegistrationDTO blocking);
|
62 |
|
|
|
63 |
7a044d6b
|
Andreas Kohlbecker
|
/**
|
64 |
|
|
* @param messages
|
65 |
|
|
*/
|
66 |
|
|
void openDetailsPopup(String caption, List<String> messages);
|
67 |
|
|
|
68 |
210b9aa6
|
Andreas Kohlbecker
|
|
69 |
|
|
|
70 |
0b44c814
|
Andreas Kohlbecker
|
}
|