public class PageInfo
extends java.lang.Object
| Constructor and Description |
|---|
PageInfo(SocialCollectionComponent component,
ClientUtilities clientUtils,
CollectionPagination pagination) |
PageInfo(SocialCollectionComponent component,
ClientUtilities clientUtils,
CollectionPagination pagination,
java.lang.String params) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBasePageURL()
Returns the base page URL based on the current social component.
|
long |
getCurrentIndex()
The current offset into the index that is being used for the pages.
|
java.lang.String |
getIncludedPath() |
java.lang.String |
getNextPageURL()
A simple function for getting the next page in the results.
|
java.lang.String |
getNextSuffix() |
long |
getPageSize()
Gets the current configuration for the size of a page.
|
java.lang.String |
getPreviousPageURL()
A simple function for getting the next page in the results.
|
java.lang.String |
getPreviousSuffix() |
java.lang.String |
getSelectedIndex()
The current offset into the index that is being used for the pages.
|
long |
getSelectedPage()
Gets the current page number.
|
long |
getTotalPages()
Gets the total number of pages in this component.
|
java.lang.String |
getURLPattern()
Gets the url pattern for fetching other pages with two tokens ${startIndex} and ${size} which determine where
to start the next page from and how many entries to fetch.
|
public PageInfo(SocialCollectionComponent component, ClientUtilities clientUtils, CollectionPagination pagination)
public PageInfo(SocialCollectionComponent component, ClientUtilities clientUtils, CollectionPagination pagination, java.lang.String params)
public java.lang.String getURLPattern()
public long getSelectedPage()
public long getTotalPages()
public long getPageSize()
public long getCurrentIndex()
public java.lang.String getNextPageURL()
public java.lang.String getPreviousPageURL()
public java.lang.String getNextSuffix()
public java.lang.String getPreviousSuffix()
public java.lang.String getSelectedIndex()
public java.lang.String getBasePageURL()
public java.lang.String getIncludedPath()
"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"