public class ContentMultiPageParams extends MultiPageParams implements Iterable<Entity>
Modifier and Type | Class and Description |
---|---|
class |
ContentMultiPageParams.ContentPageParams |
Modifier and Type | Field and Description |
---|---|
static String |
PARAMETER_CONTENT_ID |
EMPTY_PAGE_PARAMS, FIRST_PAGE, SINGLE_PAGE_PARAMS
Constructor and Description |
---|
ContentMultiPageParams(Session session,
Select select,
int entitesPerPage,
int maxPageCount,
Date time) |
Modifier and Type | Method and Description |
---|---|
static void |
adjustTime(Select select,
Date time) |
Entity |
get(int index) |
EntityList |
getData() |
int |
getEntitiesPerPage() |
int |
getPageCount() |
ContentMultiPageParams.ContentPageParams |
getPageParams(int index) |
PageParams |
getPageParams(Map<String,?> params)
If the provided map contains the parameter "index" mapped to a number (or a string wich can be converted to a
number) the PageParams for the corresponding index is returned.
|
String |
getType() |
Iterator<Entity> |
iterator() |
boolean |
renders(Map<String,?> params) |
boolean |
rendersEntityId(long entityId)
Will the entity with specified id be rendered by the multi page?
|
createDefault
public static final String PARAMETER_CONTENT_ID
public String getType()
getType
in class MultiPageParams
public int getEntitiesPerPage()
@NotNull public EntityList getData()
public int getPageCount()
getPageCount
in class MultiPageParams
public ContentMultiPageParams.ContentPageParams getPageParams(int index)
getPageParams
in class MultiPageParams
@NotNull public PageParams getPageParams(Map<String,?> params)
MultiPageParams
getPageParams
in class MultiPageParams
public boolean rendersEntityId(long entityId)
public Entity get(int index)
Copyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408