| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kns.web.struts.form.KualiTableRenderFormMetadata
public class KualiTableRenderFormMetadata
This class holds the metadata necessary to render a table when displaytag is not being used.
| Constructor Summary | |
|---|---|
| KualiTableRenderFormMetadata() | |
| Method Summary | |
|---|---|
|  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) | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public KualiTableRenderFormMetadata()
| Method Detail | 
|---|
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 set
public 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| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||