From a3824917b908ea3e624b863efe9c9ca4a09fdbf1 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 5 Sep 2018 20:01:33 +0300 Subject: ActivityStreams: CollectionPage have first, next and partOf uris --- .../server/api/activity/model/OrderedCollectionPage.java | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'juick-server/src/main/java/com/juick/server/api/activity/model') 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 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; + } } -- cgit v1.2.3