org.apache.empire.struts2.actionsupport
Class BeanListActionSupport<T>
java.lang.Object
org.apache.empire.commons.ErrorObject
org.apache.empire.struts2.actionsupport.ListActionSupport
org.apache.empire.struts2.actionsupport.BeanListActionSupport<T>
- All Implemented Interfaces:
- org.apache.empire.commons.ErrorInfo, 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
Method Summary |
java.util.ArrayList<T> |
getList()
|
boolean |
initBeanList(org.apache.empire.db.DBCommand cmd)
|
void |
setList(java.util.List<T> list)
|
Methods inherited from class org.apache.empire.struts2.actionsupport.ListActionSupport |
getFirstItemIndex, getItemCount, getLastItemIndex, getListPropertyName, getPage, getPageCount, getPageSize, getSortColumn, isSortDescending, setItemCount, setPage, setSortColumn, setSortColumn, setSortDescending |
Methods inherited from class org.apache.empire.commons.ErrorObject |
clearError, getErrorMessage, getErrorParams, getErrorSource, getErrorType, getMessage, hasError, isExceptionsEnabled, setExceptionsEnabled |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanListActionSupport
public BeanListActionSupport(ActionBase action,
java.lang.Class<T> beanClass,
java.lang.String propertyName)
getList
public java.util.ArrayList<T> getList()
initBeanList
public boolean initBeanList(org.apache.empire.db.DBCommand cmd)
setList
public void setList(java.util.List<T> list)