public class CollectionPagination
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_EMBED_LEVEL |
static int |
DEFAULT_PAGE_SIZE |
static CollectionPagination |
DEFAULT_PAGINATION |
static CollectionPagination |
EMBEDDED_LEVEL_PAGINATION |
static int |
PAGE_SIZE_ALL |
Constructor and Description |
---|
CollectionPagination(CollectionPagination copyFrom) |
CollectionPagination(int offset)
This uses the default embed level and page size.
|
CollectionPagination(int offset,
int size)
This uses the default embed level.
|
CollectionPagination(int offset,
int size,
int embedLevel) |
CollectionPagination(int offset,
int size,
int embedLevel,
java.lang.String sortIndex) |
CollectionPagination(int offset,
int size,
int embedLevel,
java.lang.String sortIndex,
int pageSizeConfig) |
Modifier and Type | Method and Description |
---|---|
int |
getEmbedLevel() |
int |
getOffset() |
int |
getPageSizeConfig() |
int |
getSignedSize()
Gets the unsigned page size.
|
int |
getSize() |
java.lang.String |
getSortIndex() |
public static final int PAGE_SIZE_ALL
public static final int DEFAULT_PAGE_SIZE
public static final int DEFAULT_EMBED_LEVEL
public static final CollectionPagination DEFAULT_PAGINATION
public static final CollectionPagination EMBEDDED_LEVEL_PAGINATION
public CollectionPagination(int offset, int size, int embedLevel, java.lang.String sortIndex)
offset
- offset from the beginning of the list.size
- number of elements to include.embedLevel
- the level from which items should be embedded as URLs. 0 is the first level.sortIndex
- sorting indexpublic CollectionPagination(int offset, int size, int embedLevel, java.lang.String sortIndex, int pageSizeConfig)
offset
- offset from the beginning of the list.size
- number of elements to include.embedLevel
- the level from which items should be embedded as URLs. 0 is the first level.sortIndex
- the index that was requested to be usedpageSizeConfig
- the configured size of each page for the componentpublic CollectionPagination(int offset, int size, int embedLevel)
offset
- offset from the beginning of the list.size
- number of elements to include.embedLevel
- the level from which items should be embedded as URLs. 0 is the first level.public CollectionPagination(int offset, int size)
offset
- offset from the beginning of the list.size
- number of elements to include.public CollectionPagination(int offset)
offset
- offset from the beginning of the list.public CollectionPagination(CollectionPagination copyFrom)
public int getOffset()
public int getSize()
public java.lang.String getSortIndex()
public int getEmbedLevel()
public int getPageSizeConfig()
public int getSignedSize()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"