public class NewsList extends Object implements Serializable
| Constructor and Description |
|---|
NewsList(List<NewsEvent> news,
NewsKey lastKey) |
| Modifier and Type | Method and Description |
|---|---|
NewsKey |
getAfterKey()
Returns news key which can be use for pagination search.
|
NewsKey |
getBeforeKey()
Returns news key which can be use for pagination search.
|
NewsKey |
getLastKey()
Returns last news key for which the news list is valid.
|
List<NewsEvent> |
getNews()
Returns list of news.
|
public List<NewsEvent> getNews()
public NewsKey getLastKey()
public NewsKey getAfterKey()
Direction.AFTERpublic NewsKey getBeforeKey()
Direction.BEFORECopyright © 2024 Devexperts. All rights reserved.