public class KualiTableRenderFormMetadata extends Object
Constructor and Description |
---|
KualiTableRenderFormMetadata() |
Modifier and Type | Method and Description |
---|---|
int |
getColumnToSortIndex()
Gets the columnToSortIndex attribute.
|
String |
getColumnToSortName() |
int |
getFirstRowIndex()
Gets the firstRowIndex attribute.
|
int |
getLastRowIndex()
Gets the lastRowIndex attribute.
|
int |
getPreviouslySortedColumnIndex()
Gets the previouslySortedColumnIndex attribute.
|
String |
getPreviouslySortedColumnName() |
int |
getResultsActualSize()
Gets the resultsActualSize attribute.
|
int |
getResultsLimitedSize()
Gets the resultsLimitedSize attribute.
|
int |
getSwitchToPageNumber()
Gets the switchToPageNumber attribute.
|
int |
getTotalNumberOfPages()
Gets the totalNumberOfPages attribute.
|
int |
getViewedPageNumber()
Gets the viewedPageNumber attribute.
|
boolean |
isSortDescending()
Gets the sortDescending attribute.
|
void |
jumpToFirstPage(int listSize,
int maxRowsPerPage)
Sets the paging form parameters to go to the first page of the list
|
void |
jumpToLastPage(int listSize,
int maxRowsPerPage)
Sets the paging form parameters to go to the last page of the list
|
void |
jumpToPage(int pageNumber,
int listSize,
int maxRowsPerPage)
Sets the paging form parameters to go to the specified page of the list
|
void |
setColumnToSortIndex(int columnToSortIndex)
Sets the columnToSortIndex attribute value.
|
void |
setColumnToSortName(String columnToSortName) |
void |
setFirstRowIndex(int firstRowIndex)
Sets the firstRowIndex attribute value.
|
void |
setLastRowIndex(int lastRowIndex)
Sets the lastRowIndex attribute value.
|
void |
setPreviouslySortedColumnIndex(int previouslySortedColumnIndex)
Sets the previouslySortedColumnIndex attribute value.
|
void |
setPreviouslySortedColumnName(String previouslySortedColumnName) |
void |
setResultsActualSize(int resultsActualSize)
Sets the resultsActualSize attribute value.
|
void |
setResultsLimitedSize(int resultsLimitedSize)
Sets the resultsLimitedSize attribute value.
|
void |
setSortDescending(boolean sortDescending)
Sets the sortDescending attribute value.
|
void |
setSwitchToPageNumber(int switchToPageNumber)
Sets the switchToPageNumber attribute value.
|
void |
setTotalNumberOfPages(int totalNumberOfPages)
Sets the totalNumberOfPages attribute value.
|
void |
setViewedPageNumber(int viewedPageNumber)
Sets the viewedPageNumber attribute value.
|
void |
sort(List<?> items,
int maxRowsPerPage)
Sorts a list on the form according to the form metadata (sortColumName, previouslySortedColumnName)
|
public KualiTableRenderFormMetadata()
public int getColumnToSortIndex()
public void setColumnToSortIndex(int columnToSortIndex)
columnToSortIndex
- The columnToSortIndex to set.public int getPreviouslySortedColumnIndex()
public void setPreviouslySortedColumnIndex(int previouslySortedColumnIndex)
previouslySortedColumnIndex
- The previouslySortedColumnIndex to set.public int getResultsActualSize()
public void setResultsActualSize(int resultsActualSize)
resultsActualSize
- The resultsActualSize to set.public int getResultsLimitedSize()
public void setResultsLimitedSize(int resultsLimitedSize)
resultsLimitedSize
- The resultsLimitedSize to set.public int getSwitchToPageNumber()
public void setSwitchToPageNumber(int switchToPageNumber)
switchToPageNumber
- The switchToPageNumber to set.public int getViewedPageNumber()
public void setViewedPageNumber(int viewedPageNumber)
viewedPageNumber
- The viewedPageNumber to set.public int getTotalNumberOfPages()
public void setTotalNumberOfPages(int totalNumberOfPages)
totalNumberOfPages
- The totalNumberOfPages to set.public int getFirstRowIndex()
public void setFirstRowIndex(int firstRowIndex)
firstRowIndex
- The firstRowIndex to set.public int getLastRowIndex()
public void setLastRowIndex(int lastRowIndex)
lastRowIndex
- The lastRowIndex to set.public boolean isSortDescending()
public void setSortDescending(boolean sortDescending)
sortDescending
- The sortDescending to set.public String getColumnToSortName()
public void setColumnToSortName(String columnToSortName)
columnToSortName
- the columnToSortName to setpublic String getPreviouslySortedColumnName()
public void setPreviouslySortedColumnName(String previouslySortedColumnName)
previouslySortedColumnName
- the previouslySortedColumnName to setpublic void jumpToFirstPage(int listSize, int maxRowsPerPage)
listSize
- size of table being renderedmaxRowsPerPage
- public void jumpToLastPage(int listSize, int maxRowsPerPage)
listSize
- size of table being renderedmaxRowsPerPage
- public void jumpToPage(int pageNumber, int listSize, int maxRowsPerPage)
pageNumber
- first page is 0, must be non-negative. If the list is not large enough to have the page specified, then
this method will be equivalent to calling jumpToLastPage.listSize
- size of table being renderedmaxRowsPerPage
- jumpToLastPage(int, int)
public void sort(List<?> items, int maxRowsPerPage)
memberTableMetadata
- items
- maxRowsPerPage
- WorkflowException
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.