public class CollectionPagination extends 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 |
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,
String selectedIndex) |
CollectionPagination(int offset,
int size,
int embedLevel,
String selectedIndex,
int pageSizeConfig) |
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, String selectedIndex)
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, int embedLevel, String selectedIndex, 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.selectedIndex
- 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 String getSelectedIndex()
public int getEmbedLevel()
public int getPageSizeConfig()
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"