aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick/server/api/activity/model
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-09-05 20:01:33 +0300
committerGravatar Vitaly Takmazov2018-09-05 20:01:33 +0300
commita3824917b908ea3e624b863efe9c9ca4a09fdbf1 (patch)
tree564c660dc750afc29a65cf6a2b5518c7fd410d2d /juick-server/src/main/java/com/juick/server/api/activity/model
parent5d6092caa30a3b03b22deb98f018ac7e742609f1 (diff)
ActivityStreams: CollectionPage have first, next and partOf uris
Diffstat (limited to 'juick-server/src/main/java/com/juick/server/api/activity/model')
-rw-r--r--juick-server/src/main/java/com/juick/server/api/activity/model/OrderedCollectionPage.java16
1 files changed, 13 insertions, 3 deletions
diff --git a/juick-server/src/main/java/com/juick/server/api/activity/model/OrderedCollectionPage.java b/juick-server/src/main/java/com/juick/server/api/activity/model/OrderedCollectionPage.java
index a36c6c11..82ae5bf0 100644
--- a/juick-server/src/main/java/com/juick/server/api/activity/model/OrderedCollectionPage.java
+++ b/juick-server/src/main/java/com/juick/server/api/activity/model/OrderedCollectionPage.java
@@ -6,15 +6,17 @@ public class OrderedCollectionPage extends ActivityObject {
private String partOf;
- private Link next;
+ private String first;
+
+ private String next;
private List<? extends ActivityObject> orderedItems;
- public Link getNext() {
+ public String getNext() {
return next;
}
- public void setNext(Link next) {
+ public void setNext(String next) {
this.next = next;
}
@@ -33,4 +35,12 @@ public class OrderedCollectionPage extends ActivityObject {
public void setPartOf(String partOf) {
this.partOf = partOf;
}
+
+ public String getFirst() {
+ return first;
+ }
+
+ public void setFirst(String first) {
+ this.first = first;
+ }
}