Revision 91710ccd
Added by Andreas Kohlbecker almost 7 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/event/registration/RegistrationWorkflowEvent.java | ||
---|---|---|
19 | 19 |
|
20 | 20 |
private RegistrationType type = null; |
21 | 21 |
private Action action; |
22 |
private Integer registrationID = null;
|
|
22 |
private Integer citationID = null;
|
|
23 | 23 |
|
24 |
public RegistrationWorkflowEvent(int registrationID){ |
|
24 |
/** |
|
25 |
* |
|
26 |
* @param citationID the id of a {@link Reference} denoting a |
|
27 |
* complete registration working set. |
|
28 |
*/ |
|
29 |
public RegistrationWorkflowEvent(int citationID){ |
|
25 | 30 |
this.action = Action.open; |
26 |
this.registrationID = registrationID;
|
|
31 |
this.citationID = citationID;
|
|
27 | 32 |
} |
28 | 33 |
|
29 | 34 |
public RegistrationWorkflowEvent(RegistrationType type){ |
... | ... | |
48 | 53 |
/** |
49 | 54 |
* @return the registrationID |
50 | 55 |
*/ |
51 |
public Integer getRegistrationID() {
|
|
52 |
return registrationID;
|
|
56 |
public Integer getCitationID() {
|
|
57 |
return citationID;
|
|
53 | 58 |
} |
54 | 59 |
|
55 | 60 |
public boolean isStart() { |
Also available in: Unified diff
ref #6169 remoging service mock and loading ResgistrationSets by citationID