|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.broadleafcommerce.core.web.AjaxFormCommandObject
org.broadleafcommerce.core.web.PaginationCommandObject
public class PaginationCommandObject
| Constructor Summary | |
|---|---|
PaginationCommandObject()
|
|
| Method Summary | |
|---|---|
String |
getContainerId()
|
String |
getDataSource()
|
List<?> |
getDisplayList()
|
int |
getEndIndex()
One past the index of the last item that will be displayed on this page. |
int |
getListSize()
Either the size of fullList or the value earlier passed to setListSize. |
String |
getNextLinkText()
|
int |
getPageNumber()
|
int |
getPageSize()
|
String |
getPreviousLinkText()
|
int |
getStartIndex()
The index of the first item to be displayed based on pageSize and pageNumber. |
boolean |
isShowNext()
Returns true if there are additional items to display. |
boolean |
isShowPrevious()
Returns true unless pageNumber is 0 |
void |
setContainerId(String containerId)
The id of a div surrounding the paginated list tag. |
void |
setDataSource(String dataSource)
The url to submit to for next and previous. |
void |
setDisplayList(List<?> displayList)
One of the two methods for populating the data in the list. |
void |
setFullList(List<?> fullList)
One of the two methods for populating the data in the list. |
void |
setListSize(int listSize)
|
void |
setNextLinkText(String nextLinkText)
The test to render for the next link, HTML formatted |
void |
setPageNumber(int pageNumber)
The page number to display. |
void |
setPageSize(int pageSize)
The number of items to display on a page. |
void |
setPreviousLinkText(String previousLinkText)
The text to render for the previous link, HTML formatted |
| Methods inherited from class org.broadleafcommerce.core.web.AjaxFormCommandObject |
|---|
isAjaxRequest, setAjaxRequest |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PaginationCommandObject()
| Method Detail |
|---|
public String getPreviousLinkText()
public void setPreviousLinkText(String previousLinkText)
previousLinkText - public String getNextLinkText()
public void setNextLinkText(String nextLinkText)
nextLinkText - public String getContainerId()
public void setContainerId(String containerId)
containerId - public String getDataSource()
public void setDataSource(String dataSource)
dataSource - public void setFullList(List<?> fullList)
fullList - public List<?> getDisplayList()
public void setDisplayList(List<?> displayList)
displayList - public int getPageNumber()
public void setPageNumber(int pageNumber)
pageNumber - public int getPageSize()
public void setPageSize(int pageSize)
pageSize - public int getStartIndex()
public int getEndIndex()
public int getListSize()
public void setListSize(int listSize)
public boolean isShowPrevious()
public boolean isShowNext()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||