org.kuali.rice.kew.actionlist
Class PaginatedActionList

java.lang.Object
  extended by org.kuali.rice.kew.actionlist.PaginatedActionList
All Implemented Interfaces:
org.displaytag.pagination.PaginatedList

public class PaginatedActionList
extends Object
implements org.displaytag.pagination.PaginatedList

Implements the display tags paginated list to provide effecient paging for the action list. This allows us not to have to fetch an entire action list each time a user pages their list.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
private  int fullListSize
           
private  List list
           
private  int objectsPerPage
           
private  int pageNumber
           
private  String searchId
           
private  String sortCriterion
           
private  org.displaytag.properties.SortOrderEnum sortDirection
           
 
Constructor Summary
PaginatedActionList(List list, int fullListSize, int pageNumber, int objectsPerPage, String searchId, String sortCriterion, org.displaytag.properties.SortOrderEnum sortDirection)
           
 
Method Summary
 int getFullListSize()
           
 List getList()
           
 int getObjectsPerPage()
           
 int getPageNumber()
           
 String getSearchId()
           
 String getSortCriterion()
           
 org.displaytag.properties.SortOrderEnum getSortDirection()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

list

private final List list

fullListSize

private final int fullListSize

pageNumber

private final int pageNumber

objectsPerPage

private final int objectsPerPage

searchId

private final String searchId

sortCriterion

private final String sortCriterion

sortDirection

private final org.displaytag.properties.SortOrderEnum sortDirection
Constructor Detail

PaginatedActionList

public PaginatedActionList(List list,
                           int fullListSize,
                           int pageNumber,
                           int objectsPerPage,
                           String searchId,
                           String sortCriterion,
                           org.displaytag.properties.SortOrderEnum sortDirection)
Method Detail

getFullListSize

public int getFullListSize()
Specified by:
getFullListSize in interface org.displaytag.pagination.PaginatedList

getList

public List getList()
Specified by:
getList in interface org.displaytag.pagination.PaginatedList

getObjectsPerPage

public int getObjectsPerPage()
Specified by:
getObjectsPerPage in interface org.displaytag.pagination.PaginatedList

getPageNumber

public int getPageNumber()
Specified by:
getPageNumber in interface org.displaytag.pagination.PaginatedList

getSearchId

public String getSearchId()
Specified by:
getSearchId in interface org.displaytag.pagination.PaginatedList

getSortCriterion

public String getSortCriterion()
Specified by:
getSortCriterion in interface org.displaytag.pagination.PaginatedList

getSortDirection

public org.displaytag.properties.SortOrderEnum getSortDirection()
Specified by:
getSortDirection in interface org.displaytag.pagination.PaginatedList


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.