org.apache.empire.struts2.actionsupport
Class BeanListActionSupport<T>

java.lang.Object
  extended by org.apache.empire.struts2.actionsupport.ListActionSupport
      extended by org.apache.empire.struts2.actionsupport.BeanListActionSupport<T>
All Implemented Interfaces:
ListPagingInfo, ListSortingInfo

public class BeanListActionSupport<T>
extends ListActionSupport

BeanListActionSupport

This class provides functions for handling list output from a database query through an list of JavaBeans.

Author:
Rainer

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.empire.struts2.actionsupport.ListActionSupport
ListActionSupport.ListPageInfo, ListActionSupport.ListSortInfo
 
Field Summary
protected  Class<T> beanClass
           
protected  ArrayList<T> list
           
 
Fields inherited from class org.apache.empire.struts2.actionsupport.ListActionSupport
action, log, propertyName
 
Constructor Summary
BeanListActionSupport(ActionBase action, Class<T> beanClass, String propertyName)
           
 
Method Summary
 ArrayList<T> getList()
           
 boolean initBeanList(DBCommand cmd)
           
 void setList(List<T> list)
           
 
Methods inherited from class org.apache.empire.struts2.actionsupport.ListActionSupport
getFirstItemIndex, getItemCount, getLastItemIndex, getListPageInfo, getListPropertyName, getListSortInfo, getPage, getPageCount, getPageSize, getSortColumn, isSortDescending, setFirstItem, setItemCount, setPage, setSortColumn, setSortColumn, setSortDescending
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

list

protected ArrayList<T> list

beanClass

protected Class<T> beanClass
Constructor Detail

BeanListActionSupport

public BeanListActionSupport(ActionBase action,
                             Class<T> beanClass,
                             String propertyName)
Method Detail

getList

public ArrayList<T> getList()

initBeanList

public boolean initBeanList(DBCommand cmd)

setList

public void setList(List<T> list)


Copyright © 2008–2014 Apache Software Foundation. All rights reserved.