public class ContentMultiPageParams.ContentPageParams extends PageParams implements Iterable<Entity>
SINGLE_PAGE_PARAMS
Modifier and Type | Method and Description |
---|---|
Entity |
get(int index)
Provides a single record stored at the given position.
|
EntityList |
getAll()
Provides all records for the overall parameters definition.
|
List<Entity> |
getData()
Provides the records defined by this range restricted parameters definition.
|
long |
getLastChangeDate(long after)
Calculate the last change date after the provided timestamp.
|
int |
getOffset()
Provides the offset.
|
int |
getSize()
A single page may render multiple containers, e.g. datasets, on one page - this method delivers the number of instances.
|
boolean |
isLast()
Indicates this parameters container to represent the last range of parameters.
|
Iterator<Entity> |
iterator()
Provides an iterator over records retrieved with use of this parameters.
|
getIndex, getLastChangeDate, getPageSuffix, getPreviewSuffix, isFirst
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public boolean isLast()
isLast
in class PageParams
true
, if it is the last.public int getOffset()
public EntityList getAll()
public List<Entity> getData()
public int getSize()
getSize
in class PageParams
public long getLastChangeDate(long after)
getLastChangeDate
in class PageParams
PageParams.getLastChangeDate()
public Iterator<Entity> iterator()
public Entity get(int index)
index
- The index.Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210