Retrieves entries with their sequence numbers from the feed
Retrieves entries with their sequence numbers from the feed
the starting entry (inclusive), MUST be returned in the entries
the number of entries to return
if true return entries with sequence numbers >= start in ascending order else return entries with sequence numbers <= start in descending order
the corresponding entries sorted accordingly
Retrieves the most recent entries from the FeedStore
sorted in descending order
Retrieves the most recent entries from the FeedStore
sorted in descending order
the amount of recent entries to return
a list of FeedEntries. a FeedEntry is a sequence number and its corresponding entry and sorted by descending sequence number
sequence number to match
if true include the specified sequence number
the number of entries in the feed with sequence number lower than specified
the maximum sequence number used in this feed or minId if feed is empty
one less than the minimum sequence number used in this feed
push a list of entries to the feed
push a list of entries to the feed
the entries to push to the feed
This method is called when the be.wegenenverkeer.atomium.server.FeedService is stopped.
This method is called when the be.wegenenverkeer.atomium.server.FeedService is stopped.
Creates a link to a feed page.
Creates a link to a feed page.
the starting entry's id (non inclusive)
the number of entries in the page
if true navigate to 'previous' elements in feed (towards head of feed) else navigate to 'next' elements in feed (towards last page of feed)
the URL
Retrieves a page of the feed.
Retrieves a page of the feed.
the starting entry (exclusive), should not be returned in the feed page
the number of entries
if true navigate to 'previous' elements in feed (towards head of feed) else navigate to 'next' elements in feed (towards last page of feed)
the feed page or None
if the page is not found
Retrieves the head of the feed.
Retrieves the head of the feed. This is the first page containing the most recent entries
the maximum number of feed entries to return. The page could contain less entries
the head of the feed
This method is called when the be.wegenenverkeer.atomium.server.FeedService is started.
This method is called when the be.wegenenverkeer.atomium.server.FeedService is started. This can be used as a hook (to check consistency, for example)
push a single entry to the feed
the desired feed page size
the entries to include in the feed
the previous entry's id or None if we are at the head of the feed
the next entry's id or None if we are at the tail of the feed (last page)
a page feed, possibly empty
A feed store is responsible for the persistence of feeds. This abstract class serves as a base class for more specific FeedStore implementations.
type of the elements in the feed