Class MultiPageParams
java.lang.Object
de.espirit.firstspirit.access.store.MultiPageParams
- Direct Known Subclasses:
ContentMultiPageParams
- Since:
- 4.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final MultiPageParams
static final PageParams
static final MultiPageParams
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MultiPageParams
createDefault
(int count) abstract int
abstract PageParams
getPageParams
(int index) @NotNull 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.abstract String
getType()
-
Field Details
-
EMPTY_PAGE_PARAMS
- Since:
- 4.0.17
-
SINGLE_PAGE_PARAMS
- Since:
- 4.0.17
-
FIRST_PAGE
- Since:
- 4.1.27
-
-
Constructor Details
-
MultiPageParams
public MultiPageParams()
-
-
Method Details
-
createDefault
- Since:
- 4.0
-
getPageCount
public abstract int getPageCount()- Since:
- 4.0
-
getPageParams
- Since:
- 4.0
-
getType
- Since:
- 4.0
-
getPageParams
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. If this corresponding page is content projection page you can also provide the parameter "contentId" mapped to an entity id - this will provide the PageParams for the corresponding entity.- Parameters:
params
-- Returns:
- the PageParams object for the given params
- Since:
- 4.0
-