public class BeanListActionSupport<T> extends ListActionSupport
This class provides functions for handling list output from a database query through an list of JavaBeans.
ListActionSupport.ListPageInfo, ListActionSupport.ListSortInfo
Modifier and Type | Field and Description |
---|---|
protected Class<T> |
beanClass |
protected ArrayList<T> |
list |
action, log, propertyName
Constructor and Description |
---|
BeanListActionSupport(ActionBase action,
Class<T> beanClass,
String propertyName) |
Modifier and Type | Method and Description |
---|---|
ArrayList<T> |
getList() |
boolean |
initBeanList(DBCommand cmd) |
void |
setList(List<T> list) |
getFirstItemIndex, getItemCount, getLastItemIndex, getListPageInfo, getListPropertyName, getListSortInfo, getPage, getPageCount, getPageSize, getSortColumn, isSortDescending, setFirstItem, setItemCount, setPage, setSortColumn, setSortColumn, setSortDescending
public BeanListActionSupport(ActionBase action, Class<T> beanClass, String propertyName)
Copyright © 2008–2017 Apache Software Foundation. All rights reserved.