Revision 0844524a
Added by Andreas Kohlbecker almost 6 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/event/registration/RegistrationWorkingsetAction.java | ||
---|---|---|
8 | 8 |
*/ |
9 | 9 |
package eu.etaxonomy.cdm.vaadin.event.registration; |
10 | 10 |
|
11 |
import java.util.UUID; |
|
12 |
|
|
11 | 13 |
/** |
12 | 14 |
* @author a.kohlbecker |
13 | 15 |
* @since Mar 3, 2017 |
... | ... | |
16 | 18 |
public class RegistrationWorkingsetAction { |
17 | 19 |
|
18 | 20 |
private Action action; |
19 |
private Integer citationID = null;
|
|
21 |
private UUID citationUuid = null;
|
|
20 | 22 |
|
21 | 23 |
/** |
22 | 24 |
* |
23 | 25 |
* @param citationID the id of a {@link Reference} denoting a |
24 | 26 |
* complete registration working set. |
25 | 27 |
*/ |
26 |
public RegistrationWorkingsetAction(int citationID, Action action){
|
|
28 |
public RegistrationWorkingsetAction(UUID citationUuid, Action action){
|
|
27 | 29 |
this.action = action; |
28 |
this.citationID = citationID;
|
|
30 |
this.citationUuid = citationUuid;
|
|
29 | 31 |
} |
30 | 32 |
|
31 | 33 |
/** |
... | ... | |
36 | 38 |
} |
37 | 39 |
|
38 | 40 |
/** |
39 |
* @return the registrationID
|
|
41 |
* @return the citationUuid
|
|
40 | 42 |
*/ |
41 |
public Integer getCitationID() {
|
|
42 |
return citationID;
|
|
43 |
public UUID getCitationUuid() {
|
|
44 |
return citationUuid;
|
|
43 | 45 |
} |
44 | 46 |
|
45 | 47 |
public boolean isStart() { |
Also available in: Unified diff
switching vom id based to uuid based ui navigation and entity references