Revision 59334
Added by Antonis Lempesis over 3 years ago
EventsPage.java | ||
---|---|---|
1 | 1 |
package eu.dnetlib.repo.manager.domain.broker; |
2 | 2 |
|
3 |
import eu.dnetlib.broker.objects.OpenAireEventPayload;
|
|
3 |
import eu.dnetlib.broker.objects.OaBrokerEventPayload;
|
|
4 | 4 |
|
5 | 5 |
import java.util.List; |
6 | 6 |
|
... | ... | |
14 | 14 |
private long currPage; |
15 | 15 |
private long totalPages; |
16 | 16 |
private long total; |
17 |
private List<OpenAireEventPayload> values;
|
|
17 |
private List<OaBrokerEventPayload> values;
|
|
18 | 18 |
|
19 | 19 |
public EventsPage() { |
20 | 20 |
|
21 | 21 |
} |
22 | 22 |
public EventsPage(final String datasource, final String topic, final long currPage, final long totalPages, final long total, |
23 |
final List<OpenAireEventPayload> values) {
|
|
23 |
final List<OaBrokerEventPayload> values) {
|
|
24 | 24 |
this.datasource = datasource; |
25 | 25 |
this.topic = topic; |
26 | 26 |
this.currPage = currPage; |
... | ... | |
69 | 69 |
this.total = total; |
70 | 70 |
} |
71 | 71 |
|
72 |
public List<OpenAireEventPayload> getValues() {
|
|
72 |
public List<OaBrokerEventPayload> getValues() {
|
|
73 | 73 |
return values; |
74 | 74 |
} |
75 | 75 |
|
76 |
public void setValues(List<OpenAireEventPayload> values) {
|
|
76 |
public void setValues(List<OaBrokerEventPayload> values) {
|
|
77 | 77 |
this.values = values; |
78 | 78 |
} |
79 | 79 |
} |
Also available in: Unified diff
using the new broker model