Class SqlFeedPage
- java.lang.Object
-
- no.skatteetaten.fastsetting.formueinntekt.felles.feed.client.sql.SqlFeedPage
-
- All Implemented Interfaces:
FeedPage<SqlFeedLocation,SqlFeedEntry>
public class SqlFeedPage extends Object implements FeedPage<SqlFeedLocation,SqlFeedEntry>
-
-
Constructor Summary
Constructors Constructor Description SqlFeedPage(SqlFeedLocation location, List<SqlFeedEntry> entries, boolean first)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<SqlFeedEntry>getEntries()SqlFeedLocationgetLocation()Optional<SqlFeedLocation>getNextLocation()Optional<SqlFeedLocation>getPreviousLocation()Optional<String>toDisplayString()StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface no.skatteetaten.fastsetting.formueinntekt.felles.feed.api.FeedPage
getEntriesAfter, getEntriesBetween, getEntriesUntil, getPageLocation, hasLocation, hasNextLocation, hasPreviousLocation
-
-
-
-
Constructor Detail
-
SqlFeedPage
SqlFeedPage(SqlFeedLocation location, List<SqlFeedEntry> entries, boolean first)
-
-
Method Detail
-
getLocation
public SqlFeedLocation getLocation()
- Specified by:
getLocationin interfaceFeedPage<SqlFeedLocation,SqlFeedEntry>
-
getPreviousLocation
public Optional<SqlFeedLocation> getPreviousLocation()
- Specified by:
getPreviousLocationin interfaceFeedPage<SqlFeedLocation,SqlFeedEntry>
-
getNextLocation
public Optional<SqlFeedLocation> getNextLocation()
- Specified by:
getNextLocationin interfaceFeedPage<SqlFeedLocation,SqlFeedEntry>
-
getEntries
public List<SqlFeedEntry> getEntries()
- Specified by:
getEntriesin interfaceFeedPage<SqlFeedLocation,SqlFeedEntry>
-
toDisplayString
public Optional<String> toDisplayString()
- Specified by:
toDisplayStringin interfaceFeedPage<SqlFeedLocation,SqlFeedEntry>
-
-