Constructor and Description |
---|
PageInfo(SocialCollectionComponent component,
ClientUtilities clientUtils,
CollectionPagination pagination) |
PageInfo(SocialCollectionComponent component,
ClientUtilities clientUtils,
CollectionPagination pagination,
String params) |
Modifier and Type | Method and Description |
---|---|
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.
|
String |
getIncludedPath() |
String |
getNextPageURL()
A simple function for getting the next page in the results.
|
String |
getNextSuffix() |
long |
getPageSize()
Gets the current configuration for the size of a page.
|
String |
getPreviousPageURL()
A simple function for getting the next page in the results.
|
String |
getPreviousSuffix() |
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.
|
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, String params)
public String getURLPattern()
public long getSelectedPage()
public long getTotalPages()
public long getPageSize()
public long getCurrentIndex()
public String getNextPageURL()
public String getPreviousPageURL()
public String getNextSuffix()
public String getPreviousSuffix()
public String getSelectedIndex()
public String getBasePageURL()
public String getIncludedPath()
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"