Class AtomOffsetFeedPage<PAYLOAD>
java.lang.Object
no.skatteetaten.fastsetting.formueinntekt.felles.feed.client.atom.offset.AtomOffsetFeedPage<PAYLOAD>
- All Implemented Interfaces:
FeedPage<AtomOffsetFeedLocation,AtomOffsetFeedEntry<PAYLOAD>>
public class AtomOffsetFeedPage<PAYLOAD>
extends Object
implements FeedPage<AtomOffsetFeedLocation,AtomOffsetFeedEntry<PAYLOAD>>
-
Constructor Summary
ConstructorsConstructorDescriptionAtomOffsetFeedPage(com.rometools.rome.feed.synd.SyndFeed feed, boolean reversed, ToLongFunction<String> offsetResolver, BiFunction<com.rometools.rome.feed.synd.SyndFeed, com.rometools.rome.feed.synd.SyndEntry, PAYLOAD> payloadResolver) -
Method Summary
Modifier and TypeMethodDescriptiongetEntriesAfter(AtomOffsetFeedLocation location) getEntriesBetween(AtomOffsetFeedLocation lower, AtomOffsetFeedLocation upper) getEntriesUntil(AtomOffsetFeedLocation location) booleanhasLocation(AtomOffsetFeedLocation location) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface no.skatteetaten.fastsetting.formueinntekt.felles.feed.api.FeedPage
getPageLocation, hasNextLocation, hasPreviousLocation
-
Constructor Details
-
AtomOffsetFeedPage
AtomOffsetFeedPage(com.rometools.rome.feed.synd.SyndFeed feed, boolean reversed, ToLongFunction<String> offsetResolver, BiFunction<com.rometools.rome.feed.synd.SyndFeed, com.rometools.rome.feed.synd.SyndEntry, PAYLOAD> payloadResolver)
-
-
Method Details
-
getLocation
- Specified by:
getLocationin interfaceFeedPage<AtomOffsetFeedLocation,AtomOffsetFeedEntry<PAYLOAD>>
-
getPreviousLocation
- Specified by:
getPreviousLocationin interfaceFeedPage<AtomOffsetFeedLocation,AtomOffsetFeedEntry<PAYLOAD>>
-
getNextLocation
- Specified by:
getNextLocationin interfaceFeedPage<AtomOffsetFeedLocation,AtomOffsetFeedEntry<PAYLOAD>>
-
getEntries
- Specified by:
getEntriesin interfaceFeedPage<AtomOffsetFeedLocation,AtomOffsetFeedEntry<PAYLOAD>>
-
hasLocation
- Specified by:
hasLocationin interfaceFeedPage<AtomOffsetFeedLocation,AtomOffsetFeedEntry<PAYLOAD>>
-
getEntriesAfter
- Specified by:
getEntriesAfterin interfaceFeedPage<AtomOffsetFeedLocation,AtomOffsetFeedEntry<PAYLOAD>>
-
getEntriesUntil
- Specified by:
getEntriesUntilin interfaceFeedPage<AtomOffsetFeedLocation,AtomOffsetFeedEntry<PAYLOAD>>
-
getEntriesBetween
public List<AtomOffsetFeedEntry<PAYLOAD>> getEntriesBetween(AtomOffsetFeedLocation lower, AtomOffsetFeedLocation upper) - Specified by:
getEntriesBetweenin interfaceFeedPage<AtomOffsetFeedLocation,AtomOffsetFeedEntry<PAYLOAD>>
-
toDisplayString
- Specified by:
toDisplayStringin interfaceFeedPage<AtomOffsetFeedLocation,AtomOffsetFeedEntry<PAYLOAD>>
-
toString
-